Interface SignAccess

All Superinterfaces:
net.minecraft.world.level.ItemLike

public interface SignAccess extends net.minecraft.world.level.ItemLike
Interface to access different registered parts of a standing sign.
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.item.Item
    Gets the sign item.
    net.minecraft.world.level.block.StandingSignBlock
    Gets the standing sign block.
    net.minecraft.world.level.block.WallSignBlock
    Gets the wall sign block.
  • Method Details

    • asItem

      @Nonnull net.minecraft.world.item.Item asItem()
      Gets the sign item.
      Specified by:
      asItem in interface net.minecraft.world.level.ItemLike
    • getStandingBlock

      net.minecraft.world.level.block.StandingSignBlock getStandingBlock()
      Gets the standing sign block.
    • getWallBlock

      net.minecraft.world.level.block.WallSignBlock getWallBlock()
      Gets the wall sign block.