net.minecraft.world.level.block

public class LanternBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

cdk
net.minecraft.world.level.block.LanternBlock
net.minecraft.class_3749
net.minecraft.block.LanternBlock
net.minecraft.src.C_141212_
net.minecraft.world.level.block.BlockLantern

Field summary

Modifier and TypeField
public static final BooleanProperty
a
HANGING
field_16545
HANGING
f_153459_
public static final BooleanProperty
b
WATERLOGGED
field_26441
WATERLOGGED
f_153460_
protected static final VoxelShape
c
AABB
field_16546
STANDING_SHAPE
f_153461_
protected static final VoxelShape
d
HANGING_AABB
field_16544
HANGING_SHAPE
f_153462_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public BlockState
a(bsq arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
getPlacedState(BlockActionContext arg0)
public VoxelShape
a(ckt arg0, bvu arg1, gg arg2, dnf 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_153475_, C_1559_ p_153476_, C_4675_ p_153477_, C_3051_ arg3)
protected void
a(cku$a<bzp, ckt> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public boolean
a(ckt arg0, bwt arg1, gg arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
m_7898_(C_2064_ p_153480_, C_1599_ p_153481_, C_4675_ arg2)
canPlace(IBlockData arg0, IWorldReader arg1, BlockPosition arg2)
protected static Direction
h(ckt arg0)
getConnectedDirection(BlockState arg0)
method_16370(class_2680 arg0)
attachedDirection(BlockState state)
m_153495_(C_2064_ p_153496_)
public PushReaction
d(ckt arg0)
getPistonPushReaction(BlockState arg0)
method_9527(class_2680 arg0)
getPistonBehavior(BlockState arg0)
m_5537_(C_2064_ arg0)
getPushReaction(IBlockData arg0)
public BlockState
a(ckt arg0, gl arg1, ckt arg2, bwr arg3, gg arg4, gg 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_153484_, C_4687_ p_153485_, C_2064_ p_153486_, C_1598_ p_153487_, C_4675_ p_153488_, C_4675_ arg5)
updateState(IBlockData arg0, EnumDirection arg1, IBlockData arg2, GeneratorAccess arg3, BlockPosition arg4, BlockPosition arg5)
public FluidState
c_(ckt arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public boolean
a(ckt arg0, bvu arg1, gg arg2, dhb arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
m_7357_(C_2064_ p_153470_, C_1559_ p_153471_, C_4675_ p_153472_, C_2754_ arg3)