java.lang.Object
net.minecraft.world.gen.foliage.FoliagePlacer
net.minecraft.world.gen.foliage.DarkOakFoliagePlacer
pers.saikel0rado1iu.spontaneousreplace.cobwebbed.world.gen.foliage.CobwebbyOakFoliagePlacer

public class CobwebbyOakFoliagePlacer extends net.minecraft.world.gen.foliage.DarkOakFoliagePlacer

丝化橡木树叶放置器

丝化橡木树叶放置器,用于生成带着覆丝树叶的橡木树叶
从以下版本开始:
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<CobwebbyOakFoliagePlacer>
     

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

    offset, radius, TYPE_CODEC
  • 构造器概要

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

    修饰符和类型
    方法
    说明
    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 void
    generateSquare(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, net.minecraft.util.math.BlockPos centerPos, int radius, int y, boolean giantTrunk)
     
    protected net.minecraft.world.gen.foliage.FoliagePlacerType<?>
     

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

    getRandomHeight, isInvalidForLeaves, isPositionInvalid

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

    fillFoliagePlacerFields, generate, generateSquareWithHangingLeaves, getRandomRadius, placeFoliageBlock

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

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

  • 构造器详细资料

    • CobwebbyOakFoliagePlacer

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

    • getType

      protected net.minecraft.world.gen.foliage.FoliagePlacerType<?> getType()
      覆盖:
      getType 在类中 net.minecraft.world.gen.foliage.DarkOakFoliagePlacer
    • 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.DarkOakFoliagePlacer
    • generateSquare

      protected void generateSquare(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, net.minecraft.util.math.BlockPos centerPos, int radius, int y, boolean giantTrunk)
      覆盖:
      generateSquare 在类中 net.minecraft.world.gen.foliage.FoliagePlacer