类 TreacherousSludgeBlock

java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
pers.saikel0rado1iu.spontaneousreplace.terriforest.block.TreacherousSludgeBlock
所有已实现的接口:
net.fabricmc.fabric.api.block.v1.FabricBlock, net.minecraft.item.ItemConvertible, net.minecraft.resource.featuretoggle.ToggleableFeature, pers.saikel0rado1iu.silk.api.magiccube.infect.InfectSapling

public class TreacherousSludgeBlock extends net.minecraft.block.Block implements pers.saikel0rado1iu.silk.api.magiccube.infect.InfectSapling

诡谲污泥

一种特殊的感染方块,会将树苗感染成诡谲木
从以下版本开始:
1.0.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>
  • 字段概要

    从类继承的字段 net.minecraft.block.Block

    CODEC, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_ALL_AND_REDRAW, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, STATE_IDS, stateManager

    从类继承的字段 net.minecraft.block.AbstractBlock

    collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableKey, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, velocityMultiplier

    从接口继承的字段 net.minecraft.resource.featuretoggle.ToggleableFeature

    FEATURE_ENABLED_REGISTRY_KEYS
  • 构造器概要

    构造器
    构造器
    说明
    TreacherousSludgeBlock(net.minecraft.block.AbstractBlock.Settings settings)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    generate(net.minecraft.server.world.ServerWorld world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.BlockState state, net.minecraft.util.math.random.Random random, net.minecraft.block.SaplingBlock sapling)
    树苗的生成方法

    从类继承的方法 net.minecraft.block.Block

    afterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getCodec, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, getRegistryEntry, getShapesForStates, getSlipperiness, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasTopRim, isFaceFullSquare, isShapeFullCube, 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, createCodec, createScreenHandlerFactory, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableKey, getMaxHorizontalModelOffset, getOpacity, getOutlineShape, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSettings, getSidesShape, getSoundGroup, getStateForNeighborUpdate, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasRandomTicks, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, isTransparent, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onExploded, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, onUseWithItem, prepare, randomTick, 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
  • 构造器详细资料

    • TreacherousSludgeBlock

      public TreacherousSludgeBlock(net.minecraft.block.AbstractBlock.Settings settings)
  • 方法详细资料

    • generate

      public void generate(net.minecraft.server.world.ServerWorld world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.BlockState state, net.minecraft.util.math.random.Random random, net.minecraft.block.SaplingBlock sapling)
      树苗的生成方法
      指定者:
      generate 在接口中 pers.saikel0rado1iu.silk.api.magiccube.infect.InfectSapling
      参数:
      world - 服务区存档世界
      pos - 方块位置
      state - 方块状态
      random - 随机数
      sapling - 树苗方块