net.minecraft.world.level.block

public class Lantern

extends Block

All mapped superinterfaces:

ItemLike

bsg
net.minecraft.world.level.block.Lantern
net.minecraft.class_3749
net.minecraft.block.LanternBlock
net.minecraft.block.LanternBlock
net.minecraft.server.v1_15_R1.BlockLantern

Field summary

Modifier and TypeField
public static final BooleanProperty
a
HANGING
field_16545
HANGING
field_220278_a
protected static final VoxelShape
b
AABB
field_16546
STANDING_SHAPE
field_220279_b
protected static final VoxelShape
c
HANGING_AABB
field_16544
HANGING_SHAPE
field_220280_c

Constructor summary

ModifierConstructor
public (Block$Properties settings)

Method summary

Modifier and TypeMethod
public BlockState
a(bcn arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
public VoxelShape
a(byg arg0, bjd arg1, fk arg2, cvn 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, EntityContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
protected void
a(byh$a<bpe, byg> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
public boolean
a(byg arg0, bjw arg1, fk 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)
func_196260_a(BlockState arg0, IWorldReader arg1, BlockPos arg2)
canPlace(IBlockData arg0, IWorldReader arg1, BlockPosition arg2)
protected static Direction
h(byg arg0)
getConnectedDirection(BlockState arg0)
method_16370(class_2680 arg0)
attachedDirection(BlockState state)
func_220277_j(BlockState arg0)
public PushReaction
g(byg arg0)
getPistonPushReaction(BlockState arg0)
method_9527(class_2680 arg0)
getPistonBehavior(BlockState arg0)
func_149656_h(BlockState arg0)
getPushReaction(IBlockData arg0)
public BlockState
a(byg arg0, fp arg1, byg arg2, bju arg3, fk arg4, fk 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, IWorld arg3, BlockPos arg4, BlockPos arg5)
func_196271_a(BlockState arg0, Direction arg1, BlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
updateState(IBlockData arg0, EnumDirection arg1, IBlockData arg2, GeneratorAccess arg3, BlockPosition arg4, BlockPosition arg5)
public boolean
a(byg arg0, bjd arg1, fk arg2, cqo arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPlaceAtSide(BlockState arg0, BlockView arg1, BlockPos arg2, BlockPlacementEnvironment arg3)
func_196266_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)