类 SpreadableSoilBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.SnowyBlock
net.minecraft.block.SpreadableBlock
pers.saikel0rado1iu.silk.api.block.SpreadableSoilBlock
- 所有已实现的接口:
net.fabricmc.fabric.api.block.v1.FabricBlock,net.minecraft.item.ItemConvertible,net.minecraft.resource.featuretoggle.ToggleableFeature
可传播土块,可以传播的泥土类变种方块,具有覆雪的方块状态
- 从以下版本开始:
- 0.1.0
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.block.Block
net.minecraft.block.Block.NeighborGroup从类继承的嵌套类/接口 net.minecraft.block.AbstractBlock
net.minecraft.block.AbstractBlock.AbstractBlockState, net.minecraft.block.AbstractBlock.ContextPredicate, net.minecraft.block.AbstractBlock.Offsetter, net.minecraft.block.AbstractBlock.OffsetType, net.minecraft.block.AbstractBlock.Settings, net.minecraft.block.AbstractBlock.TypedContextPredicate<A extends Object> -
字段概要
从类继承的字段 net.minecraft.block.SnowyBlock
SNOWY从类继承的字段 net.minecraft.block.Block
field_31022, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, STATE_IDS, stateManager从类继承的字段 net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, velocityMultiplier从接口继承的字段 net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected booleancanSpread(net.minecraft.block.BlockState state, net.minecraft.world.WorldView world, net.minecraft.util.math.BlockPos pos) protected booleancanSurvive(net.minecraft.block.BlockState state, net.minecraft.world.WorldView world, net.minecraft.util.math.BlockPos pos) protected net.minecraft.block.BlockStateprotected net.minecraft.block.BlockStategetSpreadableBlockState(net.minecraft.server.world.ServerWorld world, net.minecraft.util.math.BlockPos pos) protected intprotected net.minecraft.util.math.BlockPosgetSpreadableOffset(net.minecraft.util.math.BlockPos original) protected net.minecraft.util.math.PositionvoidrandomTick(net.minecraft.block.BlockState state, net.minecraft.server.world.ServerWorld world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.math.random.Random random) 从类继承的方法 net.minecraft.block.SnowyBlock
appendProperties, getPlacementState, getStateForNeighborUpdate从类继承的方法 net.minecraft.block.Block
afterBreak, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getRawIdFromState, getRegistryEntry, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTransparent, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toString从类继承的方法 net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableId, getMaxHorizontalModelOffset, getOpacity, getOutlineShape, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSidesShape, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, rotate, scheduledTick从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait从接口继承的方法 net.fabricmc.fabric.api.block.v1.FabricBlock
getAppearance从接口继承的方法 net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
构造器详细资料
-
SpreadableSoilBlock
public SpreadableSoilBlock(net.minecraft.block.AbstractBlock.Settings settings)
-
-
方法详细资料
-
canSurvive
protected boolean canSurvive(net.minecraft.block.BlockState state, net.minecraft.world.WorldView world, net.minecraft.util.math.BlockPos pos) -
canSpread
protected boolean canSpread(net.minecraft.block.BlockState state, net.minecraft.world.WorldView world, net.minecraft.util.math.BlockPos pos) -
getSpreadableBlockState
protected net.minecraft.block.BlockState getSpreadableBlockState(net.minecraft.server.world.ServerWorld world, net.minecraft.util.math.BlockPos pos) -
getDegeneratedBlockState
protected net.minecraft.block.BlockState getDegeneratedBlockState()- 返回:
- 退化方块状态,方块无法存活后退化的方块
-
getSpreadableOdds
protected int getSpreadableOdds() -
getSpreadableRange
protected net.minecraft.util.math.Position getSpreadableRange() -
getSpreadableOffset
protected net.minecraft.util.math.BlockPos getSpreadableOffset(net.minecraft.util.math.BlockPos original) -
randomTick
public void randomTick(net.minecraft.block.BlockState state, net.minecraft.server.world.ServerWorld world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.math.random.Random random) - 覆盖:
randomTick在类中net.minecraft.block.SpreadableBlock
-