net.minecraft.world.level.block

public abstract class SignBlock

extends BaseEntityBlock implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

drp
net.minecraft.world.level.block.SignBlock
net.minecraft.class_2478
net.minecraft.block.AbstractSignBlock
net.minecraft.world.level.block.BlockSign

Field summary

Modifier and TypeField
public static final BooleanProperty
f
WATERLOGGED
field_11491
WATERLOGGED
protected static final float
g
AABB_OFFSET
field_31243
field_31243
protected static final VoxelShape
h
SHAPE
field_11492
SHAPE
private final WoodType
a
type
field_21675
type

Constructor summary

ModifierConstructor
protected (WoodType type, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
protected abstract com.mojang.serialization.MapCodec<? extends SignBlock>
a()
codec()
method_53969()
getCodec()
protected BlockState
a(dxv arg0, dhl arg1, dhx arg2, jh arg3, jm arg4, jh arg5, dxv arg6, bam arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
protected VoxelShape
a(dxv arg0, dgn arg1, jh arg2, fcd arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
public boolean
a(dxv arg0)
isPossibleToRespawnInThis(BlockState arg0)
method_9538(class_2680 arg0)
canMobSpawnInside(BlockState arg0)
public BlockEntity
a(jh arg0, dxv arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
protected InteractionResult
a(cxp arg0, dxv arg1, dhi arg2, jh arg3, cpx arg4, bti arg5, fbu arg6)
useItemOn(ItemStack arg0, BlockState arg1, Level arg2, BlockPos arg3, Player arg4, InteractionHand arg5, BlockHitResult arg6)
method_55765(class_1799 arg0, class_2680 arg1, class_1937 arg2, class_2338 arg3, class_1657 arg4, class_1268 arg5, class_3965 arg6)
onUseWithItem(ItemStack arg0, BlockState arg1, World arg2, BlockPos arg3, PlayerEntity arg4, Hand arg5, BlockHitResult arg6)
protected InteractionResult
a(dxv arg0, dhi arg1, jh arg2, cpx arg3, fbu arg4)
useWithoutItem(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, BlockHitResult arg4)
method_55766(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_3965 arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
private boolean
b(cpx arg0, dwk arg1, boolean arg2)
hasEditableText(Player arg0, SignBlockEntity arg1, boolean arg2)
method_51173(class_1657 arg0, class_2625 arg1, boolean arg2)
isTextLiteralOrEmpty(PlayerEntity player, SignBlockEntity blockEntity, boolean front)
public abstract float
h(dxv arg0)
getYRotationDegrees(BlockState arg0)
method_49814(class_2680 arg0)
getRotationDegrees(BlockState state)
public Vec3
o(dxv arg0)
getSignHitboxCenterPosition(BlockState arg0)
method_50003(class_2680 arg0)
getCenter(BlockState state)
protected FluidState
b_(dxv arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
public WoodType
d()
type()
method_24025()
getWoodType()
public static WoodType
a(dkm arg0)
getWoodType(Block arg0)
method_45459(class_2248 arg0)
getWoodType(Block block)
public void
a(cpx arg0, dwk arg1, boolean arg2)
openTextEdit(Player arg0, SignBlockEntity arg1, boolean arg2)
method_49825(class_1657 arg0, class_2625 arg1, boolean arg2)
openEditScreen(PlayerEntity player, SignBlockEntity blockEntity, boolean front)
private boolean
a(cpx arg0, dwk arg1)
otherPlayerIsEditingSign(Player arg0, SignBlockEntity arg1)
method_49824(class_1657 arg0, class_2625 arg1)
isOtherPlayerEditing(PlayerEntity player, SignBlockEntity blockEntity)
public <T extends BlockEntity> BlockEntityTicker<T>
a(dhi arg0, dxv arg1, duz<T> arg2)
getTicker(Level arg0, BlockState arg1, BlockEntityType<T> arg2)
method_31645(class_1937 arg0, class_2680 arg1, class_2591<T> arg2)
getTicker(World arg0, BlockState arg1, BlockEntityType<T> arg2)