类 LecternBlock
java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
net.minecraft.world.level.block.BaseEntityBlock
net.minecraft.world.level.block.LecternBlock
- 所有已实现的接口:
FeatureElement
,EntityBlock
,ItemLike
,IForgeBlock
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.level.block.Block
Block.ShapePairKey
从类继承的嵌套类/接口 net.minecraft.world.level.block.state.BlockBehaviour
BlockBehaviour.BlockStateBase, BlockBehaviour.OffsetFunction, BlockBehaviour.OffsetType, BlockBehaviour.Properties, BlockBehaviour.StateArgumentPredicate<A>, BlockBehaviour.StatePredicate
-
字段概要
字段修饰符和类型字段说明static final com.mojang.serialization.MapCodec
<LecternBlock> static final EnumProperty
<Direction> static final BooleanProperty
private static final int
static final BooleanProperty
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
从类继承的字段 net.minecraft.world.level.block.Block
BLOCK_STATE_REGISTRY, INDESTRUCTIBLE, INSTANT, stateDefinition, UPDATE_ALL, UPDATE_ALL_IMMEDIATE, UPDATE_CLIENTS, UPDATE_IMMEDIATE, UPDATE_INVISIBLE, UPDATE_KNOWN_SHAPE, UPDATE_LIMIT, UPDATE_MOVE_BY_PISTON, UPDATE_NEIGHBORS, UPDATE_NONE, UPDATE_SKIP_SHAPE_UPDATE_ON_WIRE, UPDATE_SUPPRESS_DROPS
从类继承的字段 net.minecraft.world.level.block.state.BlockBehaviour
descriptionId, drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, properties, requiredFeatures, soundType, speedFactor, UPDATE_SHAPE_ORDER
从接口继承的字段 net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static void
changePowered
(Level p_54554_, BlockPos p_54555_, BlockState p_54556_, boolean p_54557_) com.mojang.serialization.MapCodec
<LecternBlock> codec()
protected void
protected int
getAnalogOutputSignal
(BlockState p_54520_, Level p_54521_, BlockPos p_54522_) protected VoxelShape
getCollisionShape
(BlockState p_54577_, BlockGetter p_54578_, BlockPos p_54579_, CollisionContext p_54580_) protected int
getDirectSignal
(BlockState p_54566_, BlockGetter p_54567_, BlockPos p_54568_, Direction p_54569_) protected MenuProvider
getMenuProvider
(BlockState p_54571_, Level p_54572_, BlockPos p_54573_) protected VoxelShape
getOcclusionShape
(BlockState p_54584_) protected VoxelShape
getShape
(BlockState p_54561_, BlockGetter p_54562_, BlockPos p_54563_, CollisionContext p_54564_) protected int
getSignal
(BlockState p_54515_, BlockGetter p_54516_, BlockPos p_54517_, Direction p_54518_) getStateForPlacement
(BlockPlaceContext p_54481_) protected boolean
hasAnalogOutputSignal
(BlockState p_54503_) protected boolean
isPathfindable
(BlockState p_54510_, PathComputationType p_54513_) protected boolean
isSignalSource
(BlockState p_54575_) protected BlockState
mirror
(BlockState p_54537_, Mirror p_54538_) newBlockEntity
(BlockPos p_153573_, BlockState p_153574_) protected void
onRemove
(BlockState p_54531_, Level p_54532_, BlockPos p_54533_, BlockState p_54534_, boolean p_54535_) private void
openScreen
(Level p_54485_, BlockPos p_54486_, Player p_54487_) private static void
placeBook
(LivingEntity p_343476_, Level p_270065_, BlockPos p_270155_, BlockState p_270753_, ItemStack p_270173_) private void
popBook
(BlockState p_54588_, Level p_54589_, BlockPos p_54590_) static void
resetBookState
(Entity p_270231_, Level p_270114_, BlockPos p_270251_, BlockState p_270758_, boolean p_270452_) protected BlockState
rotate
(BlockState p_54540_, Rotation p_54541_) static void
signalPageChange
(Level p_54489_, BlockPos p_54490_, BlockState p_54491_) protected void
tick
(BlockState p_221388_, ServerLevel p_221389_, BlockPos p_221390_, RandomSource p_221391_) static boolean
tryPlaceBook
(LivingEntity p_344930_, Level p_270604_, BlockPos p_270276_, BlockState p_270445_, ItemStack p_270458_) private static void
updateBelow
(Level p_54545_, BlockPos p_54546_, BlockState p_54547_) protected InteractionResult
useItemOn
(ItemStack p_333093_, BlockState p_335984_, Level p_334086_, BlockPos p_332284_, Player p_332545_, InteractionHand p_328802_, BlockHitResult p_328840_) protected boolean
useShapeForLightOcclusion
(BlockState p_54582_) protected InteractionResult
useWithoutItem
(BlockState p_331321_, Level p_329665_, BlockPos p_335448_, Player p_333152_, BlockHitResult p_331406_) 从类继承的方法 net.minecraft.world.level.block.BaseEntityBlock
createTickerHelper, triggerEvent
从类继承的方法 net.minecraft.world.level.block.Block
animateTick, appendHoverText, asBlock, asItem, box, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, dropResources, fallOn, getDrops, getDrops, getExplosionResistance, getFriction, getId, getJumpFactor, getName, getRenderPropertiesInternal, getShapeForEachState, getSoundType, getSpeedFactor, getStateDefinition, handlePrecipitation, hasDynamicShape, initializeClient, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, popResourceFromFace, pushEntitiesUp, registerDefaultState, setPlacedBy, shouldRenderFace, shouldRenderFace, spawnDestroyParticles, stateById, stepOn, toString, tryDropExperience, updateEntityMovementAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded, withPropertiesOf
从类继承的方法 net.minecraft.world.level.block.state.BlockBehaviour
attack, canBeReplaced, canBeReplaced, canSurvive, defaultDestroyTime, defaultMapColor, entityInside, getBlockSupportShape, getCloneItemStack, getDescriptionId, getDestroyProgress, getDrops, getEntityInsideCollisionShape, getFluidState, getInteractionShape, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getRenderShape, getSeed, getShadeBrightness, getSoundType, getVisualShape, isAir, isCollisionShapeFullBlock, isRandomlyTicking, neighborChanged, onExplosionHit, onPlace, onProjectileHit, propagatesSkylightDown, properties, propertiesCodec, randomTick, requiredFeatures, simpleCodec, skipRendering, spawnAfterBreak, updateIndirectNeighbourShapes, updateShape
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
从接口继承的方法 net.minecraft.world.level.block.EntityBlock
getListener, getTicker
从接口继承的方法 net.minecraft.world.flag.FeatureElement
isEnabled
从接口继承的方法 net.minecraftforge.common.extensions.IForgeBlock
addLandingEffects, addRunningEffects, canBeHydrated, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, collisionExtendsVertically, getAdjacentBlockPathType, getAppearance, getBeaconColorMultiplier, getBedDirection, getBlockPathType, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFriction, getLightEmission, getMapColor, getPistonPushReaction, getRespawnPosition, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hidesNeighborFace, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isValidSpawn, makesOpenTrapdoorAboveClimbable, onBlockExploded, onBlockStateChange, onCaughtFire, onDestroyedByPlayer, onNeighborChange, onTreeGrow, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay, supportsExternalFaceHiding
-
字段详细资料
-
CODEC
-
FACING
-
POWERED
-
HAS_BOOK
-
SHAPE_BASE
-
SHAPE_POST
-
SHAPE_COMMON
-
SHAPE_TOP_PLATE
-
SHAPE_COLLISION
-
SHAPE_WEST
-
SHAPE_NORTH
-
SHAPE_EAST
-
SHAPE_SOUTH
-
PAGE_CHANGE_IMPULSE_TICKS
private static final int PAGE_CHANGE_IMPULSE_TICKS- 另请参阅:
-
-
构造器详细资料
-
LecternBlock
-
-
方法详细资料
-
codec
- 指定者:
codec
在类中BaseEntityBlock
-
getOcclusionShape
- 覆盖:
getOcclusionShape
在类中BlockBehaviour
-
useShapeForLightOcclusion
-
getStateForPlacement
- 覆盖:
getStateForPlacement
在类中Block
-
getCollisionShape
protected VoxelShape getCollisionShape(BlockState p_54577_, BlockGetter p_54578_, BlockPos p_54579_, CollisionContext p_54580_) - 覆盖:
getCollisionShape
在类中BlockBehaviour
-
getShape
protected VoxelShape getShape(BlockState p_54561_, BlockGetter p_54562_, BlockPos p_54563_, CollisionContext p_54564_) - 覆盖:
getShape
在类中BlockBehaviour
-
rotate
- 覆盖:
rotate
在类中BlockBehaviour
-
mirror
- 覆盖:
mirror
在类中BlockBehaviour
-
createBlockStateDefinition
- 覆盖:
createBlockStateDefinition
在类中Block
-
newBlockEntity
-
tryPlaceBook
public static boolean tryPlaceBook(@Nullable LivingEntity p_344930_, Level p_270604_, BlockPos p_270276_, BlockState p_270445_, ItemStack p_270458_) -
placeBook
private static void placeBook(@Nullable LivingEntity p_343476_, Level p_270065_, BlockPos p_270155_, BlockState p_270753_, ItemStack p_270173_) -
resetBookState
public static void resetBookState(@Nullable Entity p_270231_, Level p_270114_, BlockPos p_270251_, BlockState p_270758_, boolean p_270452_) -
signalPageChange
-
changePowered
private static void changePowered(Level p_54554_, BlockPos p_54555_, BlockState p_54556_, boolean p_54557_) -
updateBelow
-
tick
protected void tick(BlockState p_221388_, ServerLevel p_221389_, BlockPos p_221390_, RandomSource p_221391_) - 覆盖:
tick
在类中BlockBehaviour
-
onRemove
protected void onRemove(BlockState p_54531_, Level p_54532_, BlockPos p_54533_, BlockState p_54534_, boolean p_54535_) - 覆盖:
onRemove
在类中BlockBehaviour
-
popBook
-
isSignalSource
- 覆盖:
isSignalSource
在类中BlockBehaviour
-
getSignal
protected int getSignal(BlockState p_54515_, BlockGetter p_54516_, BlockPos p_54517_, Direction p_54518_) - 覆盖:
getSignal
在类中BlockBehaviour
-
getDirectSignal
protected int getDirectSignal(BlockState p_54566_, BlockGetter p_54567_, BlockPos p_54568_, Direction p_54569_) - 覆盖:
getDirectSignal
在类中BlockBehaviour
-
hasAnalogOutputSignal
- 覆盖:
hasAnalogOutputSignal
在类中BlockBehaviour
-
getAnalogOutputSignal
- 覆盖:
getAnalogOutputSignal
在类中BlockBehaviour
-
useItemOn
protected InteractionResult useItemOn(ItemStack p_333093_, BlockState p_335984_, Level p_334086_, BlockPos p_332284_, Player p_332545_, InteractionHand p_328802_, BlockHitResult p_328840_) - 覆盖:
useItemOn
在类中BlockBehaviour
-
useWithoutItem
protected InteractionResult useWithoutItem(BlockState p_331321_, Level p_329665_, BlockPos p_335448_, Player p_333152_, BlockHitResult p_331406_) - 覆盖:
useWithoutItem
在类中BlockBehaviour
-
getMenuProvider
@Nullable protected MenuProvider getMenuProvider(BlockState p_54571_, Level p_54572_, BlockPos p_54573_) - 覆盖:
getMenuProvider
在类中BaseEntityBlock
-
openScreen
-
isPathfindable
- 覆盖:
isPathfindable
在类中BlockBehaviour
-