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.Item
asItem()
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
Gets the sign item.- Specified by:
asItem
in 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.
-