net.minecraft.world.level.block

public class LecternBlock

extends BaseEntityBlock

All mapped superinterfaces:

ItemLike, EntityBlock

cnu
net.minecraft.world.level.block.LecternBlock
net.minecraft.class_3715
net.minecraft.block.LecternBlock
net.minecraft.src.C_1827_
net.minecraft.world.level.block.BlockLectern

Field summary

Modifier and TypeField
public static final DirectionProperty
a
FACING
field_16404
FACING
f_54465_
public static final BooleanProperty
b
POWERED
field_17365
POWERED
f_54466_
public static final BooleanProperty
c
HAS_BOOK
field_17366
HAS_BOOK
f_54467_
public static final VoxelShape
d
SHAPE_BASE
field_16406
BOTTOM_SHAPE
f_54468_
public static final VoxelShape
e
SHAPE_POST
field_16405
MIDDLE_SHAPE
f_54469_
public static final VoxelShape
f
SHAPE_COMMON
field_16403
BASE_SHAPE
f_54470_
public static final VoxelShape
g
SHAPE_TOP_PLATE
field_17367
COLLISION_SHAPE_TOP
f_54471_
public static final VoxelShape
h
SHAPE_COLLISION
field_17368
COLLISION_SHAPE
f_54472_
public static final VoxelShape
i
SHAPE_WEST
field_17369
WEST_SHAPE
f_54473_
public static final VoxelShape
j
SHAPE_NORTH
field_17370
NORTH_SHAPE
f_54474_
public static final VoxelShape
k
SHAPE_EAST
field_17371
EAST_SHAPE
f_54475_
public static final VoxelShape
l
SHAPE_SOUTH
field_17372
SOUTH_SHAPE
f_54476_
private static final int
m
PAGE_CHANGE_IMPULSE_TICKS
field_31113
SCHEDULED_TICK_DELAY
f_153565_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public RenderShape
b_(cvo arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
public VoxelShape
b_(cvo arg0, cgd arg1, gt arg2)
getOcclusionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9571(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getCullingShape(BlockState arg0, BlockView arg1, BlockPos arg2)
m_7952_(C_2064_ p_54585_, C_1559_ p_54586_, C_4675_ arg2)
public boolean
g_(cvo arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
m_7923_(C_2064_ arg0)
public BlockState
a(ccx arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public VoxelShape
c(cvo arg0, cgd arg1, gt arg2, dwv 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)
m_5939_(C_2064_ p_54578_, C_1559_ p_54579_, C_4675_ p_54580_, C_3051_ arg3)
public VoxelShape
a(cvo arg0, cgd arg1, gt arg2, dwv 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)
m_5940_(C_2064_ p_54562_, C_1559_ p_54563_, C_4675_ p_54564_, C_3051_ arg3)
public BlockState
a(cvo arg0, cpw arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_54541_, C_1886_ arg1)
public BlockState
a(cvo arg0, coh arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_54538_, C_1838_ arg1)
protected void
a(cvp$a<cjt, cvo> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public BlockEntity
a(gt arg0, cvo arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_153574_, C_2064_ arg1)
public static boolean
a(buc arg0, cgx arg1, gt arg2, cvo arg3, cax arg4)
tryPlaceBook(Player arg0, Level arg1, BlockPos arg2, BlockState arg3, ItemStack arg4)
method_17472(class_1657 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, class_1799 arg4)
putBookIfAbsent(PlayerEntity player, World world, BlockPos pos, BlockState state, ItemStack stack)
m_153566_(C_1141_ p_153567_, C_1596_ p_153568_, C_4675_ p_153569_, C_2064_ p_153570_, C_1391_ p_153571_)
private static void
b(buc arg0, cgx arg1, gt arg2, cvo arg3, cax arg4)
placeBook(Player arg0, Level arg1, BlockPos arg2, BlockState arg3, ItemStack arg4)
method_17475(class_1657 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, class_1799 arg4)
putBook(PlayerEntity player, World world, BlockPos pos, BlockState state, ItemStack stack)
m_153575_(C_1141_ p_153576_, C_1596_ p_153577_, C_4675_ p_153578_, C_2064_ p_153579_, C_1391_ p_153580_)
public static void
a(cgx arg0, gt arg1, cvo arg2, boolean arg3)
resetBookState(Level arg0, BlockPos arg1, BlockState arg2, boolean arg3)
method_17473(class_1937 arg0, class_2338 arg1, class_2680 arg2, boolean arg3)
setHasBook(World world, BlockPos pos, BlockState state, boolean hasBook)
m_54497_(C_1596_ p_54498_, C_4675_ p_54499_, C_2064_ p_54500_, boolean p_54501_)
public static void
a(cgx arg0, gt arg1, cvo 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)
m_54488_(C_1596_ p_54489_, C_4675_ p_54490_, C_2064_ p_54491_)
private static void
b(cgx arg0, gt arg1, cvo 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)
m_54553_(C_1596_ p_54554_, C_4675_ p_54555_, C_2064_ p_54556_, boolean p_54557_)
private static void
b(cgx arg0, gt arg1, cvo 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)
m_54544_(C_1596_ p_54545_, C_4675_ p_54546_, C_2064_ p_54547_)
public void
a(cvo arg0, agg arg1, gt arg2, amn 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)
m_213897_(C_2064_ p_221389_, C_12_ p_221390_, C_4675_ p_221391_, C_212974_ arg3)
public void
a(cvo arg0, cgx arg1, gt arg2, cvo 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)
m_6810_(C_2064_ p_54532_, C_1596_ p_54533_, C_4675_ p_54534_, C_2064_ p_54535_, boolean arg4)
private void
d(cvo arg0, cgx arg1, gt 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)
m_54587_(C_2064_ p_54589_, C_1596_ p_54590_, C_4675_ arg2)
public boolean
f_(cvo arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
m_7899_(C_2064_ arg0)
public int
a(cvo arg0, cgd arg1, gt arg2, gy 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)
m_6378_(C_2064_ p_54516_, C_1559_ p_54517_, C_4675_ p_54518_, C_4687_ arg3)
public int
b(cvo arg0, cgd arg1, gt arg2, gy 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)
m_6376_(C_2064_ p_54567_, C_1559_ p_54568_, C_4675_ p_54569_, C_4687_ arg3)
public boolean
d_(cvo arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
public int
a(cvo arg0, cgx arg1, gt 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)
m_6782_(C_2064_ p_54521_, C_1596_ p_54522_, C_4675_ arg2)
public InteractionResult
a(cvo arg0, cgx arg1, gt arg2, buc arg3, bai arg4, dwm 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)
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(cvo arg0, cgx arg1, gt 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)
m_7246_(C_2064_ p_54572_, C_1596_ p_54573_, C_4675_ arg2)
private void
a(cgx arg0, gt arg1, buc 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)
m_54484_(C_1596_ p_54486_, C_4675_ p_54487_, C_1141_ arg2)
public boolean
a(cvo arg0, cgd arg1, gt arg2, dqm arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 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)