net.minecraft.world.level.block

public class LecternBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

doy
net.minecraft.world.level.block.LecternBlock
net.minecraft.class_3715
net.minecraft.unmapped.C_ksjrzgfh
net.minecraft.block.LecternBlock
net.minecraft.block.LecternBlock
net.minecraft.src.C_1827_
net.minecraft.world.level.block.BlockLeaves

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<LecternBlock>
a
CODEC
field_46386
f_hahlrcbv
CODEC
CODEC
f_302424_
public static final EnumProperty<Direction>
b
FACING
field_16404
f_qwsoybcb
FACING
FACING
f_54465_
public static final BooleanProperty
c
POWERED
field_17365
f_skgkzcxn
POWERED
POWERED
f_54466_
public static final BooleanProperty
d
HAS_BOOK
field_17366
f_akdeicpm
HAS_BOOK
HAS_BOOK
f_54467_
public static final VoxelShape
e
SHAPE_BASE
field_16406
f_jurkwaax
BOTTOM_SHAPE
BOTTOM_SHAPE
f_54468_
public static final VoxelShape
f
SHAPE_POST
field_16405
f_exeitprb
MIDDLE_SHAPE
MIDDLE_SHAPE
f_54469_
public static final VoxelShape
g
SHAPE_COMMON
field_16403
f_kcwvcnkp
BASE_SHAPE
BASE_SHAPE
f_54470_
public static final VoxelShape
h
SHAPE_TOP_PLATE
field_17367
f_hjjhjnze
COLLISION_SHAPE_TOP
COLLISION_SHAPE_TOP
f_54471_
public static final VoxelShape
i
SHAPE_COLLISION
field_17368
f_wkugapry
COLLISION_SHAPE
COLLISION_SHAPE
f_54472_
public static final VoxelShape
j
SHAPE_WEST
field_17369
f_wjqkzlck
WEST_SHAPE
WEST_SHAPE
f_54473_
public static final VoxelShape
k
SHAPE_NORTH
field_17370
f_cjjdtdfn
NORTH_SHAPE
NORTH_SHAPE
f_54474_
public static final VoxelShape
l
SHAPE_EAST
field_17371
f_clvdmwlg
EAST_SHAPE
EAST_SHAPE
f_54475_
public static final VoxelShape
m
SHAPE_SOUTH
field_17372
f_zxoluqae
SOUTH_SHAPE
SOUTH_SHAPE
f_54476_
private static final int
n
PAGE_CHANGE_IMPULSE_TICKS
field_31113
f_xjamdfmq
SCHEDULED_TICK_DELAY
SCHEDULED_TICK_DELAY
f_153565_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<LecternBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
protected RenderShape
a_(dxu arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
m_mjglzdvu(C_txtbiemp arg0)
getRenderType(BlockState arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
protected VoxelShape
d_(dxu arg0)
getOcclusionShape(BlockState arg0)
method_9571(class_2680 arg0)
m_fsimvkxt(C_txtbiemp arg0)
getCullingShape(BlockState arg0)
getCullingShape(BlockState arg0)
m_7952_(C_2064_ arg0)
protected boolean
g_(dxu arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
m_mfmohedo(C_txtbiemp arg0)
hasSidedTransparency(BlockState arg0)
hasSidedTransparency(BlockState arg0)
m_7923_(C_2064_ arg0)
public BlockState
a(dbf arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected VoxelShape
b(dxu arg0, dgm arg1, jh arg2, fcc arg3)
getCollisionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9549(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
m_phzfypqf(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getCollisionShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
getCollisionShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5939_(C_2064_ p_54578_, C_1559_ p_54579_, C_4675_ p_54580_, C_3051_ arg3)
protected VoxelShape
a(dxu arg0, dgm arg1, jh arg2, fcc arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5940_(C_2064_ p_54562_, C_1559_ p_54563_, C_4675_ p_54564_, C_3051_ arg3)
protected BlockState
a(dxu arg0, drb arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
m_umbsjste(C_txtbiemp arg0, C_mboglirk arg1)
rotate(BlockState arg0, BlockRotation arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_54541_, C_1886_ arg1)
protected BlockState
a(dxu arg0, dpk arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
m_ssvaouey(C_txtbiemp arg0, C_qomzaqud arg1)
mirror(BlockState arg0, BlockMirror arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_54538_, C_1838_ arg1)
protected void
a(dxv$a<dkl, dxu> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public BlockEntity
a(jh arg0, dxu arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
m_zupvpdxk(C_hynzadkk arg0, C_txtbiemp arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_153574_, C_2064_ arg1)
public static boolean
a(bwf arg0, dhh arg1, jh arg2, dxu arg3, cxo 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)
m_kkgqosaq(C_usxaxydn arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, C_sddaxwyk arg4)
putBookIfAbsent(LivingEntity user, World world, BlockPos pos, BlockState state, ItemStack stack)
putBookIfAbsent(LivingEntity entity, World world, BlockPos pos, BlockState state, ItemStack stack)
m_269125_(C_524_ p_344930_, C_1596_ p_270604_, C_4675_ p_270276_, C_2064_ p_270445_, C_1391_ p_270458_)
private static void
b(bwf arg0, dhh arg1, jh arg2, dxu arg3, cxo 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)
m_pjyxggqg(C_usxaxydn arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, C_sddaxwyk arg4)
putBook(LivingEntity user, World world, BlockPos pos, BlockState state, ItemStack stack)
putBook(LivingEntity entity, World world, BlockPos pos, BlockState state, ItemStack stack)
m_269116_(C_524_ p_343476_, C_1596_ p_270065_, C_4675_ p_270155_, C_2064_ p_270753_, C_1391_ p_270173_)
public static void
a(bvj arg0, dhh arg1, jh arg2, dxu 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)
m_ohsjealo(C_astfners arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
setHasBook(Entity user, World world, BlockPos pos, BlockState state, boolean hasBook)
setHasBook(Entity entity, World world, BlockPos pos, BlockState state, boolean hasBook)
m_269306_(C_507_ p_270231_, C_1596_ p_270114_, C_4675_ p_270251_, C_2064_ p_270758_, boolean p_270452_)
public static void
a(dhh arg0, jh arg1, dxu arg2)
signalPageChange(Level arg0, BlockPos arg1, BlockState arg2)
method_17471(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_zxqhglte(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
setPowered(World world, BlockPos pos, BlockState state)
setPowered(World world, BlockPos pos, BlockState state)
m_54488_(C_1596_ p_54489_, C_4675_ p_54490_, C_2064_ p_54491_)
private static void
a(dhh arg0, jh arg1, dxu 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)
m_ufiwgggz(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, boolean arg3)
setPowered(World world, BlockPos pos, BlockState state, boolean powered)
setPowered(World world, BlockPos pos, BlockState state, boolean powered)
m_54553_(C_1596_ p_54554_, C_4675_ p_54555_, C_2064_ p_54556_, boolean p_54557_)
private static void
b(dhh arg0, jh arg1, dxu arg2)
updateBelow(Level arg0, BlockPos arg1, BlockState arg2)
method_17474(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_prllyoro(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
updateNeighborAlways(World world, BlockPos pos, BlockState state)
updateNeighborAlways(World world, BlockPos pos, BlockState state)
m_54544_(C_1596_ p_54545_, C_4675_ p_54546_, C_2064_ p_54547_)
protected void
a(dxu 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)
m_bneobcwj(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, C_rlomrsco arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, RandomGenerator arg3)
m_213897_(C_2064_ p_221389_, C_12_ p_221390_, C_4675_ p_221391_, C_212974_ arg3)
protected void
a(dxu arg0, dhh arg1, jh arg2, dxu 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)
m_rhbsxbgh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6810_(C_2064_ p_54532_, C_1596_ p_54533_, C_4675_ p_54534_, C_2064_ p_54535_, boolean arg4)
private void
e(dxu arg0, dhh arg1, jh arg2)
popBook(BlockState arg0, Level arg1, BlockPos arg2)
method_17477(class_2680 arg0, class_1937 arg1, class_2338 arg2)
m_ydtrnjes(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
dropBook(BlockState state, World world, BlockPos pos)
dropBook(BlockState state, World world, BlockPos pos)
m_54587_(C_2064_ p_54589_, C_1596_ p_54590_, C_4675_ arg2)
protected boolean
f_(dxu arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
m_fjkbizwn(C_txtbiemp arg0)
emitsRedstonePower(BlockState arg0)
isRedstonePowerSource(BlockState arg0)
m_7899_(C_2064_ arg0)
protected int
a(dxu arg0, dgm 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)
m_bhohbmwk(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_xpuuihxf arg3)
getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
m_6378_(C_2064_ p_54516_, C_1559_ p_54517_, C_4675_ p_54518_, C_4687_ arg3)
protected int
b(dxu arg0, dgm 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)
m_ydisyayk(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_xpuuihxf arg3)
getStrongRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
getStrongRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
m_6376_(C_2064_ p_54567_, C_1559_ p_54568_, C_4675_ p_54569_, C_4687_ arg3)
protected boolean
c_(dxu arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
m_upxjoscw(C_txtbiemp arg0)
hasComparatorOutput(BlockState arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
protected int
a(dxu arg0, dhh arg1, jh arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
m_wtutwlcg(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
m_6782_(C_2064_ p_54521_, C_1596_ p_54522_, C_4675_ arg2)
protected InteractionResult
a(cxo arg0, dxu arg1, dhh arg2, jh arg3, cpw arg4, bth arg5, fbt 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)
m_jzhgkbwu(C_sddaxwyk arg0, C_txtbiemp arg1, C_cdctfzbn arg2, C_hynzadkk arg3, C_jzrpycqo arg4, C_laxmzoqs arg5, C_jdakttms arg6)
onUseWithItem(ItemStack arg0, BlockState arg1, World arg2, BlockPos arg3, PlayerEntity arg4, Hand arg5, BlockHitResult arg6)
onInteract(ItemStack arg0, BlockState arg1, World arg2, BlockPos arg3, PlayerEntity arg4, Hand arg5, BlockHitResult arg6)
m_51273_(C_1391_ p_335984_, C_2064_ p_334086_, C_1596_ p_332284_, C_4675_ p_332545_, C_1141_ p_328802_, C_470_ p_328840_, C_3041_ arg6)
protected InteractionResult
a(dxu arg0, dhh arg1, jh arg2, cpw arg3, fbt 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)
m_pguoxmgn(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_jdakttms arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
m_6227_(C_2064_ p_329665_, C_1596_ p_335448_, C_4675_ p_333152_, C_1141_ p_331406_, C_3041_ arg4)
protected MenuProvider
b(dxu arg0, dhh arg1, jh arg2)
getMenuProvider(BlockState arg0, Level arg1, BlockPos arg2)
method_17454(class_2680 arg0, class_1937 arg1, class_2338 arg2)
m_gzvkqagj(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
createScreenHandlerFactory(BlockState arg0, World arg1, BlockPos arg2)
createScreenHandlerFactory(BlockState arg0, World arg1, BlockPos arg2)
m_7246_(C_2064_ p_54572_, C_1596_ p_54573_, C_4675_ arg2)
private void
a(dhh arg0, jh arg1, cpw arg2)
openScreen(Level arg0, BlockPos arg1, Player arg2)
method_17470(class_1937 arg0, class_2338 arg1, class_1657 arg2)
m_vdtwfqje(C_cdctfzbn arg0, C_hynzadkk arg1, C_jzrpycqo arg2)
openScreen(World world, BlockPos pos, PlayerEntity player)
openScreen(World world, BlockPos pos, PlayerEntity player)
m_54484_(C_1596_ p_54486_, C_4675_ p_54487_, C_1141_ arg2)
protected boolean
a(dxu arg0, eul arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
m_rwctfady(C_txtbiemp arg0, C_kjwlgpfr arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
m_7357_(C_2064_ p_54513_, C_2754_ arg1)