net.minecraft.world.level.block

public class LecternBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

ctn
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_(dbq arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
public VoxelShape
f(dbq arg0, clo 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_(dbq arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
m_7923_(C_2064_ arg0)
public BlockState
a(cic arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public VoxelShape
c(dbq arg0, clo arg1, gt arg2, edj 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(dbq arg0, clo arg1, gt arg2, edj 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(dbq arg0, cvq 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(dbq arg0, cua 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(dbr$a<cpi, dbq> 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, dbq 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(bfh arg0, cmi arg1, gt arg2, dbq arg3, cfv 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)
putBookIfAbsent(Entity user, 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(bfh arg0, cmi arg1, gt arg2, dbq arg3, cfv 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)
putBook(Entity user, 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(bfh arg0, cmi arg1, gt arg2, dbq 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)
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(cmi arg0, gt arg1, dbq 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
a(cmi arg0, gt arg1, dbq 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(cmi arg0, gt arg1, dbq 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(dbq arg0, aip arg1, gt arg2, apo 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(dbq arg0, cmi arg1, gt arg2, dbq 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(dbq arg0, cmi 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_(dbq arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
m_7899_(C_2064_ arg0)
public int
a(dbq arg0, clo arg1, gt arg2, gz 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(dbq arg0, clo arg1, gt arg2, gz 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_(dbq arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
public int
a(dbq arg0, cmi 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(dbq arg0, cmi arg1, gt arg2, bym arg3, bdx arg4, eda 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(dbq arg0, cmi 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(cmi arg0, gt arg1, bym 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(dbq arg0, clo arg1, gt arg2, dxa 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)