java.lang.Object
net.minecraft.world.gen.trunk.TrunkPlacer
pers.saikel0rado1iu.spontaneousreplace.terriforest.world.gen.trunk.TreacherousTrunkPlacer

public class TreacherousTrunkPlacer extends net.minecraft.world.gen.trunk.TrunkPlacer

诡谲木树干放置器

诡谲木的树木装饰器,用于生成诡谲木的瓶状树干
从以下版本开始:
1.0.0
  • 字段概要

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

    从类继承的字段 net.minecraft.world.gen.trunk.TrunkPlacer

    baseHeight, field_31530, firstRandomHeight, secondRandomHeight, TYPE_CODEC
  • 构造器概要

    构造器
    构造器
    说明
    TreacherousTrunkPlacer(int baseHeight, int firstRandomHeight, int secondRandomHeight)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    List<net.minecraft.world.gen.foliage.FoliagePlacer.TreeNode>
    generate(net.minecraft.world.TestableWorld world, BiConsumer<net.minecraft.util.math.BlockPos,net.minecraft.block.BlockState> replacer, net.minecraft.util.math.random.Random random, int height, net.minecraft.util.math.BlockPos startPos, net.minecraft.world.gen.feature.TreeFeatureConfig config)
     
    protected net.minecraft.world.gen.trunk.TrunkPlacerType<?>
     

    从类继承的方法 net.minecraft.world.gen.trunk.TrunkPlacer

    canReplace, canReplaceOrIsLog, fillTrunkPlacerFields, getAndSetState, getAndSetState, getHeight, setToDirt, trySetState

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

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

  • 构造器详细资料

    • TreacherousTrunkPlacer

      public TreacherousTrunkPlacer(int baseHeight, int firstRandomHeight, int secondRandomHeight)
  • 方法详细资料

    • generate

      public List<net.minecraft.world.gen.foliage.FoliagePlacer.TreeNode> generate(net.minecraft.world.TestableWorld world, BiConsumer<net.minecraft.util.math.BlockPos,net.minecraft.block.BlockState> replacer, net.minecraft.util.math.random.Random random, int height, net.minecraft.util.math.BlockPos startPos, net.minecraft.world.gen.feature.TreeFeatureConfig config)
      指定者:
      generate 在类中 net.minecraft.world.gen.trunk.TrunkPlacer
    • getType

      protected net.minecraft.world.gen.trunk.TrunkPlacerType<?> getType()
      指定者:
      getType 在类中 net.minecraft.world.gen.trunk.TrunkPlacer