java.lang.Object
net.minecraft.world.gen.foliage.FoliagePlacer
net.minecraft.world.gen.foliage.BlobFoliagePlacer
pers.saikel0rado1iu.spontaneousreplace.terriforest.world.gen.foliage.EerieFoliagePlacer

public class EerieFoliagePlacer extends net.minecraft.world.gen.foliage.BlobFoliagePlacer

阴森树叶放置器

阴森木地物的树叶放置器,用于生成阴森木凌乱的枝条
从以下版本开始:
1.0.0
  • 嵌套类概要

    从类继承的嵌套类/接口 net.minecraft.world.gen.foliage.FoliagePlacer

    net.minecraft.world.gen.foliage.FoliagePlacer.BlockPlacer, net.minecraft.world.gen.foliage.FoliagePlacer.TreeNode
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    static final com.mojang.serialization.MapCodec<EerieFoliagePlacer>
     

    从类继承的字段 net.minecraft.world.gen.foliage.BlobFoliagePlacer

    height

    从类继承的字段 net.minecraft.world.gen.foliage.FoliagePlacer

    offset, radius, TYPE_CODEC
  • 构造器概要

    构造器
    构造器
    说明
    EerieFoliagePlacer(net.minecraft.util.math.intprovider.IntProvider radius, net.minecraft.util.math.intprovider.IntProvider offset, int height)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    protected void
    generate(net.minecraft.world.TestableWorld world, net.minecraft.world.gen.foliage.FoliagePlacer.BlockPlacer placer, net.minecraft.util.math.random.Random random, net.minecraft.world.gen.feature.TreeFeatureConfig config, int trunkHeight, net.minecraft.world.gen.foliage.FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset)
     
    protected net.minecraft.world.gen.foliage.FoliagePlacerType<?>
     

    从类继承的方法 net.minecraft.world.gen.foliage.BlobFoliagePlacer

    createCodec, getRandomHeight, isInvalidForLeaves

    从类继承的方法 net.minecraft.world.gen.foliage.FoliagePlacer

    fillFoliagePlacerFields, generate, generateSquare, generateSquareWithHangingLeaves, getRandomRadius, isPositionInvalid, placeFoliageBlock

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

  • 构造器详细资料

    • EerieFoliagePlacer

      public EerieFoliagePlacer(net.minecraft.util.math.intprovider.IntProvider radius, net.minecraft.util.math.intprovider.IntProvider offset, int height)
  • 方法详细资料

    • generate

      protected void generate(net.minecraft.world.TestableWorld world, net.minecraft.world.gen.foliage.FoliagePlacer.BlockPlacer placer, net.minecraft.util.math.random.Random random, net.minecraft.world.gen.feature.TreeFeatureConfig config, int trunkHeight, net.minecraft.world.gen.foliage.FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset)
      覆盖:
      generate 在类中 net.minecraft.world.gen.foliage.BlobFoliagePlacer
    • getType

      protected net.minecraft.world.gen.foliage.FoliagePlacerType<?> getType()
      覆盖:
      getType 在类中 net.minecraft.world.gen.foliage.BlobFoliagePlacer