net.minecraft.world.level.block

public abstract class SignBlock

extends BaseEntityBlock implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dmz
net.minecraft.world.level.block.SignBlock
net.minecraft.class_2478
net.minecraft.block.AbstractSignBlock
net.minecraft.src.C_1895_
net.minecraft.world.level.block.BlockSign

Field summary

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

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()
m_304657_()
protected BlockState
a(dtc arg0, ji arg1, dtc arg2, dcx arg3, jd arg4, jd arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_56286_, C_4687_ p_56287_, C_2064_ p_56288_, C_1598_ p_56289_, C_4675_ p_56290_, C_4675_ arg5)
protected VoxelShape
a(dtc arg0, dcc arg1, jd arg2, exh 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)
m_5940_(C_2064_ p_56294_, C_1559_ p_56295_, C_4675_ p_56296_, C_3051_ arg3)
public boolean
a(dtc arg0)
isPossibleToRespawnInThis(BlockState arg0)
method_9538(class_2680 arg0)
canMobSpawnInside(BlockState arg0)
m_48673_(C_2064_ arg0)
public BlockEntity
a(jd arg0, dtc arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_154557_, C_2064_ arg1)
protected ItemInteractionResult
a(cuq arg0, dtc arg1, dcw arg2, jd arg3, cmx arg4, bqq arg5, ewy 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)
m_51273_(C_1391_ p_331465_, C_2064_ p_334341_, C_1596_ p_330848_, C_4675_ p_330127_, C_1141_ p_331896_, C_470_ p_335647_, C_3041_ arg6)
protected InteractionResult
a(dtc arg0, dcw arg1, jd arg2, cmx arg3, ewy 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)
m_6227_(C_2064_ p_334186_, C_1596_ p_333719_, C_4675_ p_328842_, C_1141_ p_335719_, C_3041_ arg4)
private boolean
b(cmx arg0, drs 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)
m_278656_(C_1141_ p_279187_, C_2024_ p_279225_, boolean arg2)
public abstract float
g(dtc arg0)
getYRotationDegrees(BlockState arg0)
method_49814(class_2680 arg0)
getRotationDegrees(BlockState state)
m_276903_(C_2064_ arg0)
public Vec3
m(dtc arg0)
getSignHitboxCenterPosition(BlockState arg0)
method_50003(class_2680 arg0)
getCenter(BlockState state)
m_278172_(C_2064_ arg0)
protected FluidState
b_(dtc arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public WoodType
d()
type()
method_24025()
getWoodType()
m_56297_()
public static WoodType
a(dfy arg0)
getWoodType(Block arg0)
method_45459(class_2248 arg0)
getWoodType(Block block)
m_247329_(C_1706_ p_251096_)
public void
a(cmx arg0, drs 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)
m_276926_(C_1141_ p_277467_, C_2024_ p_277771_, boolean arg2)
private boolean
a(cmx arg0, drs arg1)
otherPlayerIsEditingSign(Player arg0, SignBlockEntity arg1)
method_49824(class_1657 arg0, class_2625 arg1)
isOtherPlayerEditing(PlayerEntity player, SignBlockEntity blockEntity)
m_277189_(C_1141_ p_277599_, C_2024_ arg1)
public <T extends BlockEntity> BlockEntityTicker<T>
a(dcw arg0, dtc arg1, dqj<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)
m_142354_(C_1596_ p_277896_, C_2064_ p_277724_, C_1992_<T> arg2)