类 CreakingHeartBlock
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.CreakingHeartBlock
- 所有已实现的接口:
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 BooleanProperty
static final EnumProperty
<Direction.Axis> static final com.mojang.serialization.MapCodec
<CreakingHeartBlock> static final BooleanProperty
从类继承的字段 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
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
animateTick
(BlockState p_363486_, Level p_367731_, BlockPos p_364380_, RandomSource p_362325_) com.mojang.serialization.MapCodec
<CreakingHeartBlock> codec()
protected void
protected int
getAnalogOutputSignal
(BlockState p_360933_, Level p_366654_, BlockPos p_366296_) getStateForPlacement
(BlockPlaceContext p_368175_) <T extends BlockEntity>
BlockEntityTicker<T> getTicker
(Level p_363998_, BlockState p_362026_, BlockEntityType<T> p_362183_) protected boolean
hasAnalogOutputSignal
(BlockState p_369932_) static boolean
hasRequiredLogs
(BlockState p_363238_, LevelReader p_369227_, BlockPos p_362506_) static boolean
isNaturalNight
(Level p_368323_) private static boolean
isSurroundedByLogs
(LevelAccessor p_369449_, BlockPos p_360949_) newBlockEntity
(BlockPos p_361541_, BlockState p_365645_) protected void
onExplosionHit
(BlockState p_378796_, ServerLevel p_375403_, BlockPos p_376010_, Explosion p_377799_, BiConsumer<ItemStack, BlockPos> p_378141_) protected void
onRemove
(BlockState p_361374_, Level p_370133_, BlockPos p_366462_, BlockState p_361684_, boolean p_362400_) playerWillDestroy
(Level p_361112_, BlockPos p_368479_, BlockState p_363792_, Player p_362626_) protected BlockState
rotate
(BlockState p_364749_, Rotation p_361524_) private void
tryAwardExperience
(Player p_378356_, BlockState p_377297_, Level p_376854_, BlockPos p_378426_) protected BlockState
updateShape
(BlockState p_368911_, LevelReader p_369079_, ScheduledTickAccess p_361736_, BlockPos p_363646_, Direction p_364258_, BlockPos p_367438_, BlockState p_361093_, RandomSource p_368581_) private static BlockState
updateState
(BlockState p_366979_, LevelReader p_367908_, BlockPos p_368789_) 从类继承的方法 net.minecraft.world.level.block.BaseEntityBlock
createTickerHelper, getMenuProvider, triggerEvent
从类继承的方法 net.minecraft.world.level.block.Block
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, 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, getCollisionShape, getDescriptionId, getDestroyProgress, getDirectSignal, getDrops, getEntityInsideCollisionShape, getFluidState, getInteractionShape, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getOcclusionShape, getRenderShape, getSeed, getShadeBrightness, getShape, getSignal, getSoundType, getVisualShape, isAir, isCollisionShapeFullBlock, isPathfindable, isRandomlyTicking, isSignalSource, mirror, neighborChanged, onPlace, onProjectileHit, propagatesSkylightDown, properties, propertiesCodec, randomTick, requiredFeatures, simpleCodec, skipRendering, spawnAfterBreak, tick, updateIndirectNeighbourShapes, useItemOn, useShapeForLightOcclusion, useWithoutItem
从类继承的方法 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.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
-
AXIS
-
ACTIVE
-
NATURAL
-
-
构造器详细资料
-
CreakingHeartBlock
-
-
方法详细资料
-
codec
- 指定者:
codec
在类中BaseEntityBlock
-
newBlockEntity
-
getTicker
@Nullable public <T extends BlockEntity> BlockEntityTicker<T> getTicker(Level p_363998_, BlockState p_362026_, BlockEntityType<T> p_362183_) -
isNaturalNight
-
animateTick
public void animateTick(BlockState p_363486_, Level p_367731_, BlockPos p_364380_, RandomSource p_362325_) - 覆盖:
animateTick
在类中Block
-
updateShape
protected BlockState updateShape(BlockState p_368911_, LevelReader p_369079_, ScheduledTickAccess p_361736_, BlockPos p_363646_, Direction p_364258_, BlockPos p_367438_, BlockState p_361093_, RandomSource p_368581_) - 覆盖:
updateShape
在类中BlockBehaviour
-
updateState
private static BlockState updateState(BlockState p_366979_, LevelReader p_367908_, BlockPos p_368789_) -
hasRequiredLogs
public static boolean hasRequiredLogs(BlockState p_363238_, LevelReader p_369227_, BlockPos p_362506_) -
isSurroundedByLogs
-
getStateForPlacement
- 覆盖:
getStateForPlacement
在类中Block
-
rotate
- 覆盖:
rotate
在类中BlockBehaviour
-
createBlockStateDefinition
- 覆盖:
createBlockStateDefinition
在类中Block
-
onRemove
protected void onRemove(BlockState p_361374_, Level p_370133_, BlockPos p_366462_, BlockState p_361684_, boolean p_362400_) - 覆盖:
onRemove
在类中BlockBehaviour
-
onExplosionHit
protected void onExplosionHit(BlockState p_378796_, ServerLevel p_375403_, BlockPos p_376010_, Explosion p_377799_, BiConsumer<ItemStack, BlockPos> p_378141_) - 覆盖:
onExplosionHit
在类中BlockBehaviour
-
playerWillDestroy
public BlockState playerWillDestroy(Level p_361112_, BlockPos p_368479_, BlockState p_363792_, Player p_362626_) - 覆盖:
playerWillDestroy
在类中Block
-
tryAwardExperience
private void tryAwardExperience(Player p_378356_, BlockState p_377297_, Level p_376854_, BlockPos p_378426_) -
hasAnalogOutputSignal
- 覆盖:
hasAnalogOutputSignal
在类中BlockBehaviour
-
getAnalogOutputSignal
- 覆盖:
getAnalogOutputSignal
在类中BlockBehaviour
-