net.minecraft.world.level.block

public class LecternBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

dqj
net.minecraft.world.level.block.LecternBlock
net.minecraft.class_3715
net.minecraft.block.LecternBlock

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
private static final VoxelShape
e
SHAPE_COLLISION
field_55774
BASE_SHAPE
private static final Map<Direction, VoxelShape>
f
SHAPES
field_55775
OUTLINE_SHAPES_BY_DIRECTION
private static final int
g
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 VoxelShape
d_(dzo arg0)
getOcclusionShape(BlockState arg0)
method_9571(class_2680 arg0)
getCullingShape(BlockState arg0)
protected boolean
g_(dzo arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
public BlockState
a(dcl arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected VoxelShape
b(dzo arg0, dhv arg1, iu arg2, feb 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(dzo arg0, dhv arg1, iu arg2, feb 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(dzo arg0, dsm arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(dzo arg0, dqv arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
protected void
a(dzp$a<dlu, dzo> 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(iu arg0, dzo arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
public static boolean
a(bwz arg0, dip arg1, iu arg2, dzo arg3, cys 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(bwz arg0, dip arg1, iu arg2, dzo arg3, cys 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(bwa arg0, dip arg1, iu arg2, dzo 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(dip arg0, iu arg1, dzo 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(dip arg0, iu arg1, dzo 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(dip arg0, iu arg1, dzo 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(dzo arg0, aro arg1, iu arg2, azt 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(dzo arg0, aro arg1, iu arg2, boolean arg3)
affectNeighborsAfterRemoval(BlockState arg0, ServerLevel arg1, BlockPos arg2, boolean arg3)
method_66388(class_2680 arg0, class_3218 arg1, class_2338 arg2, boolean arg3)
onStateReplaced(BlockState arg0, ServerWorld arg1, BlockPos arg2, boolean arg3)
protected boolean
f_(dzo arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
protected int
a(dzo arg0, dhv arg1, iu arg2, ja 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(dzo arg0, dhv arg1, iu arg2, ja 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_(dzo arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
protected int
a(dzo arg0, dip arg1, iu 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(cys arg0, dzo arg1, dip arg2, iu arg3, cqs arg4, btx arg5, fds 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(dzo arg0, dip arg1, iu arg2, cqs arg3, fds 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(dzo arg0, dip arg1, iu 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(dip arg0, iu arg1, cqs 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(dzo arg0, ewk arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)