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 TypeMethodDescriptionnet.minecraft.world.item.ItemasItem()Gets the sign item.net.minecraft.world.level.block.StandingSignBlockGets the standing sign block.net.minecraft.world.level.block.WallSignBlockGets the wall sign block.
-
Method Details
-
asItem
Gets the sign item.- Specified by:
asItemin interfacenet.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.
-