类 TreacherousTrunkPlacer
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
-
字段概要
字段从类继承的字段 net.minecraft.world.gen.trunk.TrunkPlacer
baseHeight, field_31530, firstRandomHeight, secondRandomHeight, TYPE_CODEC -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明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<?> getType()从类继承的方法 net.minecraft.world.gen.trunk.TrunkPlacer
canReplace, canReplaceOrIsLog, fillTrunkPlacerFields, getAndSetState, getAndSetState, getHeight, setToDirt, trySetState
-
字段详细资料
-
CODEC
-
-
构造器详细资料
-
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
-