net.minecraft.world.level.block

public class LecternBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

dba
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.BlockLectern

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<LecternBlock>
a
CODEC
field_46386
f_hahlrcbv
CODEC
f_302424_
public static final DirectionProperty
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 arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<LecternBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
public RenderShape
b_(djh 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)
public VoxelShape
f(djh arg0, csv arg1, hx arg2)
getOcclusionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9571(class_2680 arg0, class_1922 arg1, class_2338 arg2)
m_fsimvkxt(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2)
getCullingShape(BlockState arg0, BlockView arg1, BlockPos arg2)
getCullingShape(BlockState arg0, BlockView arg1, BlockPos arg2)
m_7952_(C_2064_ p_54585_, C_1559_ p_54586_, C_4675_ arg2)
public boolean
g_(djh 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(cph 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)
public VoxelShape
b(djh arg0, csv arg1, hx arg2, ely 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)
public VoxelShape
a(djh arg0, csv arg1, hx arg2, ely 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)
public BlockState
a(djh arg0, ddc 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)
public BlockState
a(djh arg0, dbm 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(dji$a<cwq, djh> 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(hx arg0, djh 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(blv arg0, ctp arg1, hx arg2, djh arg3, cmy arg4)
tryPlaceBook(Entity arg0, Level arg1, BlockPos arg2, BlockState arg3, ItemStack arg4)
method_17472(class_1297 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, class_1799 arg4)
m_kkgqosaq(C_astfners arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, C_sddaxwyk arg4)
putBookIfAbsent(Entity user, World world, BlockPos pos, BlockState state, ItemStack stack)
putBookIfAbsent(Entity entity, World world, BlockPos pos, BlockState state, ItemStack stack)
m_269125_(C_507_ p_270350_, C_1596_ p_270604_, C_4675_ p_270276_, C_2064_ p_270445_, C_1391_ p_270458_)
private static void
b(blv arg0, ctp arg1, hx arg2, djh arg3, cmy arg4)
placeBook(Entity arg0, Level arg1, BlockPos arg2, BlockState arg3, ItemStack arg4)
method_17475(class_1297 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, class_1799 arg4)
m_pjyxggqg(C_astfners arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, C_sddaxwyk arg4)
putBook(Entity user, World world, BlockPos pos, BlockState state, ItemStack stack)
putBook(Entity entity, World world, BlockPos pos, BlockState state, ItemStack stack)
m_269116_(C_507_ p_270891_, C_1596_ p_270065_, C_4675_ p_270155_, C_2064_ p_270753_, C_1391_ p_270173_)
public static void
a(blv arg0, ctp arg1, hx arg2, djh 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(ctp arg0, hx arg1, djh 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(ctp arg0, hx arg1, djh 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(ctp arg0, hx arg1, djh 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_)
public void
a(djh arg0, and arg1, hx arg2, auv 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)
public void
a(djh arg0, ctp arg1, hx arg2, djh 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
d(djh arg0, ctp arg1, hx 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)
public boolean
f_(djh 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)
public int
a(djh arg0, csv arg1, hx arg2, ic 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)
public int
b(djh arg0, csv arg1, hx arg2, ic 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)
public boolean
d_(djh 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)
public int
a(djh arg0, ctp arg1, hx 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)
public InteractionResult
a(djh arg0, ctp arg1, hx arg2, cfi arg3, bka arg4, elp arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
m_rocdemyx(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_laxmzoqs arg4, C_jdakttms arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
m_6227_(C_2064_ p_54525_, C_1596_ p_54526_, C_4675_ p_54527_, C_1141_ p_54528_, C_470_ p_54529_, C_3041_ arg5)
public MenuProvider
b(djh arg0, ctp arg1, hx 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(ctp arg0, hx arg1, cfi 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)
public boolean
a(djh arg0, csv arg1, hx arg2, efh arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
m_rwctfady(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_kjwlgpfr arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
m_7357_(C_2064_ p_54511_, C_1559_ p_54512_, C_4675_ p_54513_, C_2754_ arg3)