net.minecraft.world.level.block

public class LanternBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

cnq
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(ccx arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public VoxelShape
a(cvo arg0, cgd arg1, gt arg2, dwv 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(cvp$a<cjt, cvo> 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_2066_<C_1706_, C_2064_> arg0)
public boolean
a(cvo arg0, cha arg1, gt 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)
protected static Direction
h(cvo arg0)
getConnectedDirection(BlockState arg0)
method_16370(class_2680 arg0)
attachedDirection(BlockState state)
m_153495_(C_2064_ p_153496_)
public PushReaction
d(cvo arg0)
getPistonPushReaction(BlockState arg0)
method_9527(class_2680 arg0)
getPistonBehavior(BlockState arg0)
m_5537_(C_2064_ arg0)
public BlockState
a(cvo arg0, gy arg1, cvo arg2, cgy arg3, gt arg4, gt 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)
public FluidState
c_(cvo arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public boolean
a(cvo arg0, cgd arg1, gt arg2, dqm 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)