net.minecraft.world.level.block

public class LecternBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

doz
net.minecraft.world.level.block.LecternBlock
net.minecraft.class_3715
net.minecraft.block.LecternBlock
net.minecraft.world.level.block.BlockLectern

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<LecternBlock>
a
CODEC
field_46386
CODEC
public static final EnumProperty<Direction>
b
FACING
field_16404
FACING
public static final BooleanProperty
c
POWERED
field_17365
POWERED
public static final BooleanProperty
d
HAS_BOOK
field_17366
HAS_BOOK
public static final VoxelShape
e
SHAPE_BASE
field_16406
BOTTOM_SHAPE
public static final VoxelShape
f
SHAPE_POST
field_16405
MIDDLE_SHAPE
public static final VoxelShape
g
SHAPE_COMMON
field_16403
BASE_SHAPE
public static final VoxelShape
h
SHAPE_TOP_PLATE
field_17367
COLLISION_SHAPE_TOP
public static final VoxelShape
i
SHAPE_COLLISION
field_17368
COLLISION_SHAPE
public static final VoxelShape
j
SHAPE_WEST
field_17369
WEST_SHAPE
public static final VoxelShape
k
SHAPE_NORTH
field_17370
NORTH_SHAPE
public static final VoxelShape
l
SHAPE_EAST
field_17371
EAST_SHAPE
public static final VoxelShape
m
SHAPE_SOUTH
field_17372
SOUTH_SHAPE
private static final int
n
PAGE_CHANGE_IMPULSE_TICKS
field_31113
SCHEDULED_TICK_DELAY

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<LecternBlock>
a()
codec()
method_53969()
getCodec()
protected RenderShape
a_(dxv arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
protected VoxelShape
d_(dxv arg0)
getOcclusionShape(BlockState arg0)
method_9571(class_2680 arg0)
getCullingShape(BlockState arg0)
protected boolean
g_(dxv arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
public BlockState
a(dbg arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected VoxelShape
b(dxv arg0, dgn arg1, jh arg2, fcd arg3)
getCollisionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9549(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getCollisionShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
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)
protected BlockState
a(dxv arg0, drc arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(dxv arg0, dpl arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
protected void
a(dxw$a<dkm, dxv> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, 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)
public static boolean
a(bwg arg0, dhi arg1, jh arg2, dxv arg3, cxp arg4)
tryPlaceBook(LivingEntity arg0, Level arg1, BlockPos arg2, BlockState arg3, ItemStack arg4)
method_17472(class_1309 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, class_1799 arg4)
putBookIfAbsent(LivingEntity user, World world, BlockPos pos, BlockState state, ItemStack stack)
private static void
b(bwg arg0, dhi arg1, jh arg2, dxv arg3, cxp arg4)
placeBook(LivingEntity arg0, Level arg1, BlockPos arg2, BlockState arg3, ItemStack arg4)
method_17475(class_1309 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, class_1799 arg4)
putBook(LivingEntity user, World world, BlockPos pos, BlockState state, ItemStack stack)
public static void
a(bvk arg0, dhi arg1, jh arg2, dxv arg3, boolean arg4)
resetBookState(Entity arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_17473(class_1297 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
setHasBook(Entity user, World world, BlockPos pos, BlockState state, boolean hasBook)
public static void
a(dhi arg0, jh arg1, dxv arg2)
signalPageChange(Level arg0, BlockPos arg1, BlockState arg2)
method_17471(class_1937 arg0, class_2338 arg1, class_2680 arg2)
setPowered(World world, BlockPos pos, BlockState state)
private static void
a(dhi arg0, jh arg1, dxv arg2, boolean arg3)
changePowered(Level arg0, BlockPos arg1, BlockState arg2, boolean arg3)
method_17476(class_1937 arg0, class_2338 arg1, class_2680 arg2, boolean arg3)
setPowered(World world, BlockPos pos, BlockState state, boolean powered)
private static void
b(dhi arg0, jh arg1, dxv arg2)
updateBelow(Level arg0, BlockPos arg1, BlockState arg2)
method_17474(class_1937 arg0, class_2338 arg1, class_2680 arg2)
updateNeighborAlways(World world, BlockPos pos, BlockState state)
protected void
a(dxv arg0, ash arg1, jh arg2, bam arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
protected void
a(dxv arg0, dhi arg1, jh arg2, dxv arg3, boolean arg4)
onRemove(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
private void
e(dxv arg0, dhi arg1, jh arg2)
popBook(BlockState arg0, Level arg1, BlockPos arg2)
method_17477(class_2680 arg0, class_1937 arg1, class_2338 arg2)
dropBook(BlockState state, World world, BlockPos pos)
protected boolean
f_(dxv arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
protected int
a(dxv arg0, dgn arg1, jh arg2, jm arg3)
getSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9524(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
protected int
b(dxv arg0, dgn arg1, jh arg2, jm arg3)
getDirectSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9603(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getStrongRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
protected boolean
c_(dxv arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
protected int
a(dxv arg0, dhi arg1, jh arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
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)
protected MenuProvider
b(dxv arg0, dhi arg1, jh arg2)
getMenuProvider(BlockState arg0, Level arg1, BlockPos arg2)
method_17454(class_2680 arg0, class_1937 arg1, class_2338 arg2)
createScreenHandlerFactory(BlockState arg0, World arg1, BlockPos arg2)
private void
a(dhi arg0, jh arg1, cpx arg2)
openScreen(Level arg0, BlockPos arg1, Player arg2)
method_17470(class_1937 arg0, class_2338 arg1, class_1657 arg2)
openScreen(World world, BlockPos pos, PlayerEntity player)
protected boolean
a(dxv arg0, eum arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)