类 BellBlock
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.BellBlock
- 所有已实现的接口:
FeatureElement
,EntityBlock
,ItemLike
,IBlockExtension
-
嵌套类概要
从类继承的嵌套类/接口 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 EnumProperty
<BellAttachType> private static final VoxelShape
static final com.mojang.serialization.MapCodec
<BellBlock> static final int
static final EnumProperty
<Direction> static final BooleanProperty
private static final VoxelShape
private static final Map
<Direction.Axis, VoxelShape> private static final Map
<Direction.Axis, VoxelShape> private static final Map
<Direction, 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_ALL_SIDEEFFECTS, UPDATE_SKIP_BLOCK_ENTITY_SIDEEFFECTS, UPDATE_SKIP_ON_PLACE, 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
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
attemptToRing
(Entity p_152189_, Level p_152190_, BlockPos p_152191_, Direction p_152192_) boolean
attemptToRing
(Level p_49713_, BlockPos p_49714_, Direction p_49715_) protected boolean
canSurvive
(BlockState p_49736_, LevelReader p_49737_, BlockPos p_49738_) com.mojang.serialization.MapCodec
<BellBlock> codec()
protected void
protected VoxelShape
getCollisionShape
(BlockState p_49760_, BlockGetter p_49761_, BlockPos p_49762_, CollisionContext p_49763_) private static Direction
getConnectedDirection
(BlockState p_49769_) protected VoxelShape
getShape
(BlockState p_49755_, BlockGetter p_49756_, BlockPos p_49757_, CollisionContext p_49758_) getStateForPlacement
(BlockPlaceContext p_49698_) <T extends BlockEntity>
BlockEntityTicker<T> getTicker
(Level p_152194_, BlockState p_152195_, BlockEntityType<T> p_152196_) private VoxelShape
getVoxelShape
(BlockState p_49767_) protected boolean
isPathfindable
(BlockState p_49717_, PathComputationType p_49720_) private boolean
isProperHit
(BlockState p_49740_, Direction p_49741_, double p_49742_) mirror
(BlockState p_304560_, Mirror p_304709_) protected void
neighborChanged
(BlockState p_49729_, Level p_49730_, BlockPos p_49731_, Block p_49732_, Orientation p_363666_, boolean p_49734_) newBlockEntity
(BlockPos p_152198_, BlockState p_152199_) protected void
onExplosionHit
(BlockState p_311884_, ServerLevel p_362869_, BlockPos p_312717_, Explosion p_312800_, BiConsumer<ItemStack, BlockPos> p_312339_) boolean
onHit
(Level p_49702_, BlockState p_49703_, BlockHitResult p_49704_, Player p_49705_, boolean p_49706_) protected void
onProjectileHit
(Level p_49708_, BlockState p_49709_, BlockHitResult p_49710_, Projectile p_49711_) rotate
(BlockState p_304966_, Rotation p_304463_) protected BlockState
updateShape
(BlockState p_49744_, LevelReader p_374108_, ScheduledTickAccess p_374552_, BlockPos p_49748_, Direction p_49745_, BlockPos p_49749_, BlockState p_49746_, RandomSource p_374282_) protected InteractionResult
useWithoutItem
(BlockState p_49722_, Level p_49723_, BlockPos p_49724_, Player p_49725_, BlockHitResult p_49727_) 从类继承的方法 net.minecraft.world.level.block.BaseEntityBlock
createTickerHelper, getMenuProvider, triggerEvent
从类继承的方法 net.minecraft.world.level.block.Block
animateTick, asBlock, asItem, box, boxes, boxZ, boxZ, boxZ, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, column, column, cube, cube, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, fallOn, getDrops, getDrops, getExplosionResistance, getFriction, getId, getJumpFactor, getName, getShapeForEachState, getShapeForEachState, getSpeedFactor, getStateDefinition, handlePrecipitation, hasDynamicShape, 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
affectNeighborsAfterRemoval, attack, canBeReplaced, canBeReplaced, defaultDestroyTime, defaultMapColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getCloneItemStack, getDescriptionId, getDestroyProgress, getDirectSignal, getDrops, getEntityInsideCollisionShape, getFluidState, getInteractionShape, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getOcclusionShape, getRenderShape, getSeed, getShadeBrightness, getSignal, getSoundType, getVisualShape, hasAnalogOutputSignal, isAir, isCollisionShapeFullBlock, isRandomlyTicking, isSignalSource, onPlace, propagatesSkylightDown, properties, propertiesCodec, randomTick, requiredFeatures, simpleCodec, skipRendering, spawnAfterBreak, tick, updateIndirectNeighbourShapes, useItemOn, useShapeForLightOcclusion
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
从接口继承的方法 net.minecraft.world.level.block.EntityBlock
getListener
从接口继承的方法 net.minecraft.world.flag.FeatureElement
isEnabled
从接口继承的方法 net.neoforged.neoforge.common.extensions.IBlockExtension
addLandingEffects, addRunningEffects, canBeHydrated, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, canSustainPlant, collisionExtendsVertically, getAdjacentBlockPathType, getAppearance, getBeaconColorMultiplier, getBedDirection, getBlockPathType, getBubbleColumnDirection, getCloneItemStack, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFriction, getLightEmission, getMapColor, getPistonPushReaction, getRespawnPosition, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hasDynamicLightEmission, hidesNeighborFace, isBed, isBurning, isConduitFrame, isEmpty, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, makesOpenTrapdoorAboveClimbable, onBlockExploded, onBlockStateChange, onCaughtFire, onDestroyedByPlayer, onDestroyedByPushReaction, onNeighborChange, onTreeGrow, playFallSound, playStepSound, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay, shouldHideAdjacentFluidFace, supportsExternalFaceHiding
-
字段详细资料
-
CODEC
-
FACING
-
ATTACHMENT
-
POWERED
-
BELL_SHAPE
-
SHAPE_CEILING
-
SHAPE_FLOOR
-
SHAPE_DOUBLE_WALL
-
SHAPE_SINGLE_WALL
-
EVENT_BELL_RING
public static final int EVENT_BELL_RING- 另请参阅:
-
-
构造器详细资料
-
BellBlock
-
-
方法详细资料
-
codec
- 指定者:
codec
在类中BaseEntityBlock
-
neighborChanged
protected void neighborChanged(BlockState p_49729_, Level p_49730_, BlockPos p_49731_, Block p_49732_, @Nullable Orientation p_363666_, boolean p_49734_) - 覆盖:
neighborChanged
在类中BlockBehaviour
-
onProjectileHit
protected void onProjectileHit(Level p_49708_, BlockState p_49709_, BlockHitResult p_49710_, Projectile p_49711_) - 覆盖:
onProjectileHit
在类中BlockBehaviour
-
useWithoutItem
protected InteractionResult useWithoutItem(BlockState p_49722_, Level p_49723_, BlockPos p_49724_, Player p_49725_, BlockHitResult p_49727_) - 覆盖:
useWithoutItem
在类中BlockBehaviour
-
onHit
public boolean onHit(Level p_49702_, BlockState p_49703_, BlockHitResult p_49704_, @Nullable Player p_49705_, boolean p_49706_) -
isProperHit
-
attemptToRing
-
attemptToRing
-
getVoxelShape
-
getCollisionShape
protected VoxelShape getCollisionShape(BlockState p_49760_, BlockGetter p_49761_, BlockPos p_49762_, CollisionContext p_49763_) - 覆盖:
getCollisionShape
在类中BlockBehaviour
-
getShape
protected VoxelShape getShape(BlockState p_49755_, BlockGetter p_49756_, BlockPos p_49757_, CollisionContext p_49758_) - 覆盖:
getShape
在类中BlockBehaviour
-
getStateForPlacement
- 覆盖:
getStateForPlacement
在类中Block
-
onExplosionHit
protected void onExplosionHit(BlockState p_311884_, ServerLevel p_362869_, BlockPos p_312717_, Explosion p_312800_, BiConsumer<ItemStack, BlockPos> p_312339_) - 覆盖:
onExplosionHit
在类中BlockBehaviour
-
updateShape
protected BlockState updateShape(BlockState p_49744_, LevelReader p_374108_, ScheduledTickAccess p_374552_, BlockPos p_49748_, Direction p_49745_, BlockPos p_49749_, BlockState p_49746_, RandomSource p_374282_) - 覆盖:
updateShape
在类中BlockBehaviour
-
canSurvive
- 覆盖:
canSurvive
在类中BlockBehaviour
-
getConnectedDirection
-
createBlockStateDefinition
- 覆盖:
createBlockStateDefinition
在类中Block
-
newBlockEntity
-
getTicker
@Nullable public <T extends BlockEntity> BlockEntityTicker<T> getTicker(Level p_152194_, BlockState p_152195_, BlockEntityType<T> p_152196_) -
isPathfindable
- 覆盖:
isPathfindable
在类中BlockBehaviour
-
rotate
- 覆盖:
rotate
在类中BlockBehaviour
-
mirror
- 覆盖:
mirror
在类中BlockBehaviour
-