Interface HangingSignAccess
- All Superinterfaces:
net.minecraft.world.level.ItemLike
public interface HangingSignAccess
extends net.minecraft.world.level.ItemLike
Interface to access different registered parts of a hanging sign.
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.Item
asItem()
Gets the sign item.net.minecraft.world.level.block.CeilingHangingSignBlock
Gets the ceiling sign block.net.minecraft.world.level.block.WallHangingSignBlock
Gets the wall sign block.
-
Method Details
-
asItem
Gets the sign item.- Specified by:
asItem
in interfacenet.minecraft.world.level.ItemLike
-
getCeilingBlock
net.minecraft.world.level.block.CeilingHangingSignBlock getCeilingBlock()Gets the ceiling sign block. -
getWallBlock
net.minecraft.world.level.block.WallHangingSignBlock getWallBlock()Gets the wall sign block.
-