类 BigDripleafBlock
java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
net.minecraft.world.level.block.HorizontalDirectionalBlock
net.minecraft.world.level.block.BigDripleafBlock
- 所有已实现的接口:
FeatureElement
,BonemealableBlock
,BucketPickup
,LiquidBlockContainer
,SimpleWaterloggedBlock
,ItemLike
,IBlockExtension
,IBucketPickupExtension
public class BigDripleafBlock
extends HorizontalDirectionalBlock
implements BonemealableBlock, SimpleWaterloggedBlock
-
嵌套类概要
从类继承的嵌套类/接口 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
从接口继承的嵌套类/接口 net.minecraft.world.level.block.BonemealableBlock
BonemealableBlock.Type
-
字段概要
字段修饰符和类型字段说明static final com.mojang.serialization.MapCodec
<BigDripleafBlock> private static final it.unimi.dsi.fastutil.objects.Object2IntMap
<Tilt> private static final int
private static final int
private static final int
private static final int
private static final Map
<Tilt, VoxelShape> private final Function
<BlockState, VoxelShape> private static final EnumProperty
<Tilt> private static final BooleanProperty
从类继承的字段 net.minecraft.world.level.block.HorizontalDirectionalBlock
FACING
从类继承的字段 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
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static boolean
canEntityTilt
(BlockPos p_152302_, Entity p_152303_) protected static boolean
canPlaceAt
(LevelHeightAccessor p_152252_, BlockPos p_152253_, BlockState p_152254_) private static boolean
canReplace
(BlockState p_152320_) protected boolean
canSurvive
(BlockState p_152289_, LevelReader p_152290_, BlockPos p_152291_) com.mojang.serialization.MapCodec
<BigDripleafBlock> codec()
protected void
protected void
entityInside
(BlockState p_152266_, Level p_152267_, BlockPos p_152268_, Entity p_152269_, InsideBlockEffectApplier p_405262_) protected VoxelShape
getCollisionShape
(BlockState p_152307_, BlockGetter p_152308_, BlockPos p_152309_, CollisionContext p_152310_) protected FluidState
getFluidState
(BlockState p_152312_) protected VoxelShape
getShape
(BlockState p_152261_, BlockGetter p_152262_, BlockPos p_152263_, CollisionContext p_152264_) getStateForPlacement
(BlockPlaceContext p_152221_) boolean
isBonemealSuccess
(Level p_220788_, RandomSource p_220789_, BlockPos p_220790_, BlockState p_220791_) boolean
isValidBonemealTarget
(LevelReader p_255698_, BlockPos p_256302_, BlockState p_255648_) private Function
<BlockState, VoxelShape> protected void
neighborChanged
(BlockState p_152271_, Level p_152272_, BlockPos p_152273_, Block p_152274_, Orientation p_364767_, boolean p_152276_) protected void
onProjectileHit
(Level p_152228_, BlockState p_152229_, BlockHitResult p_152230_, Projectile p_152231_) void
performBonemeal
(ServerLevel p_220783_, RandomSource p_220784_, BlockPos p_220785_, BlockState p_220786_) protected static boolean
place
(LevelAccessor p_152242_, BlockPos p_152243_, FluidState p_152244_, Direction p_152245_) static void
placeWithRandomHeight
(LevelAccessor p_220793_, RandomSource p_220794_, BlockPos p_220795_, Direction p_220796_) private static void
playTiltSound
(Level p_152233_, BlockPos p_152234_, SoundEvent p_152235_) private static void
resetTilt
(BlockState p_152314_, Level p_152315_, BlockPos p_152316_) private static void
setTilt
(BlockState p_152278_, Level p_152279_, BlockPos p_152280_, Tilt p_152281_) private void
setTiltAndScheduleTick
(BlockState p_152283_, Level p_152284_, BlockPos p_152285_, Tilt p_152286_, SoundEvent p_152287_) protected void
tick
(BlockState p_220798_, ServerLevel p_220799_, BlockPos p_220800_, RandomSource p_220801_) protected BlockState
updateShape
(BlockState p_152293_, LevelReader p_374459_, ScheduledTickAccess p_374181_, BlockPos p_152297_, Direction p_152294_, BlockPos p_152298_, BlockState p_152295_, RandomSource p_374504_) 从类继承的方法 net.minecraft.world.level.block.HorizontalDirectionalBlock
mirror, rotate
从类继承的方法 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, getAnalogOutputSignal, getBlockSupportShape, getCloneItemStack, getDescriptionId, getDestroyProgress, getDirectSignal, getDrops, getEntityInsideCollisionShape, getInteractionShape, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getMenuProvider, getOcclusionShape, getRenderShape, getSeed, getShadeBrightness, getSignal, getSoundType, getVisualShape, hasAnalogOutputSignal, isAir, isCollisionShapeFullBlock, isPathfindable, isRandomlyTicking, isSignalSource, onExplosionHit, onPlace, propagatesSkylightDown, properties, propertiesCodec, randomTick, requiredFeatures, simpleCodec, skipRendering, spawnAfterBreak, triggerEvent, updateIndirectNeighbourShapes, useItemOn, useShapeForLightOcclusion, useWithoutItem
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
从接口继承的方法 net.minecraft.world.level.block.BonemealableBlock
getParticlePos, getType
从接口继承的方法 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
从接口继承的方法 net.neoforged.neoforge.common.extensions.IBucketPickupExtension
getPickupSound
从接口继承的方法 net.minecraft.world.level.block.SimpleWaterloggedBlock
canPlaceLiquid, getPickupSound, pickupBlock, placeLiquid
-
字段详细资料
-
CODEC
-
WATERLOGGED
-
TILT
-
NO_TICK
private static final int NO_TICK- 另请参阅:
-
DELAY_UNTIL_NEXT_TILT_STATE
-
MAX_GEN_HEIGHT
private static final int MAX_GEN_HEIGHT- 另请参阅:
-
ENTITY_DETECTION_MIN_Y
private static final int ENTITY_DETECTION_MIN_Y- 另请参阅:
-
LOWEST_LEAF_TOP
private static final int LOWEST_LEAF_TOP- 另请参阅:
-
SHAPE_LEAF
-
shapes
-
-
构造器详细资料
-
BigDripleafBlock
-
-
方法详细资料
-
codec
- 指定者:
codec
在类中HorizontalDirectionalBlock
-
makeShapes
-
placeWithRandomHeight
public static void placeWithRandomHeight(LevelAccessor p_220793_, RandomSource p_220794_, BlockPos p_220795_, Direction p_220796_) -
canReplace
-
canPlaceAt
protected static boolean canPlaceAt(LevelHeightAccessor p_152252_, BlockPos p_152253_, BlockState p_152254_) -
place
protected static boolean place(LevelAccessor p_152242_, BlockPos p_152243_, FluidState p_152244_, Direction p_152245_) -
onProjectileHit
protected void onProjectileHit(Level p_152228_, BlockState p_152229_, BlockHitResult p_152230_, Projectile p_152231_) - 覆盖:
onProjectileHit
在类中BlockBehaviour
-
getFluidState
- 覆盖:
getFluidState
在类中BlockBehaviour
-
canSurvive
- 覆盖:
canSurvive
在类中BlockBehaviour
-
updateShape
protected BlockState updateShape(BlockState p_152293_, LevelReader p_374459_, ScheduledTickAccess p_374181_, BlockPos p_152297_, Direction p_152294_, BlockPos p_152298_, BlockState p_152295_, RandomSource p_374504_) - 覆盖:
updateShape
在类中BlockBehaviour
-
isValidBonemealTarget
public boolean isValidBonemealTarget(LevelReader p_255698_, BlockPos p_256302_, BlockState p_255648_) - 指定者:
isValidBonemealTarget
在接口中BonemealableBlock
-
isBonemealSuccess
public boolean isBonemealSuccess(Level p_220788_, RandomSource p_220789_, BlockPos p_220790_, BlockState p_220791_) - 指定者:
isBonemealSuccess
在接口中BonemealableBlock
-
performBonemeal
public void performBonemeal(ServerLevel p_220783_, RandomSource p_220784_, BlockPos p_220785_, BlockState p_220786_) - 指定者:
performBonemeal
在接口中BonemealableBlock
-
entityInside
protected void entityInside(BlockState p_152266_, Level p_152267_, BlockPos p_152268_, Entity p_152269_, InsideBlockEffectApplier p_405262_) - 覆盖:
entityInside
在类中BlockBehaviour
-
tick
protected void tick(BlockState p_220798_, ServerLevel p_220799_, BlockPos p_220800_, RandomSource p_220801_) - 覆盖:
tick
在类中BlockBehaviour
-
neighborChanged
protected void neighborChanged(BlockState p_152271_, Level p_152272_, BlockPos p_152273_, Block p_152274_, @Nullable Orientation p_364767_, boolean p_152276_) - 覆盖:
neighborChanged
在类中BlockBehaviour
-
playTiltSound
-
canEntityTilt
-
setTiltAndScheduleTick
private void setTiltAndScheduleTick(BlockState p_152283_, Level p_152284_, BlockPos p_152285_, Tilt p_152286_, @Nullable SoundEvent p_152287_) -
resetTilt
-
setTilt
private static void setTilt(BlockState p_152278_, Level p_152279_, BlockPos p_152280_, Tilt p_152281_) -
getCollisionShape
protected VoxelShape getCollisionShape(BlockState p_152307_, BlockGetter p_152308_, BlockPos p_152309_, CollisionContext p_152310_) - 覆盖:
getCollisionShape
在类中BlockBehaviour
-
getShape
protected VoxelShape getShape(BlockState p_152261_, BlockGetter p_152262_, BlockPos p_152263_, CollisionContext p_152264_) - 覆盖:
getShape
在类中BlockBehaviour
-
getStateForPlacement
- 覆盖:
getStateForPlacement
在类中Block
-
createBlockStateDefinition
- 覆盖:
createBlockStateDefinition
在类中Block
-