Class StraightTrunkPlacer
- java.lang.Object
-
- net.minecraft.world.gen.trunkplacer.AbstractTrunkPlacer
-
- net.minecraft.world.gen.trunkplacer.StraightTrunkPlacer
-
public class StraightTrunkPlacer extends AbstractTrunkPlacer
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<StraightTrunkPlacer>
CODEC
-
Fields inherited from class net.minecraft.world.gen.trunkplacer.AbstractTrunkPlacer
baseHeight, heightRandA, heightRandB
-
-
Constructor Summary
Constructors Constructor Description StraightTrunkPlacer(int p_i232059_1_, int p_i232059_2_, int p_i232059_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<FoliagePlacer.Foliage>
placeTrunk(IWorldGenerationReader p_230382_1_, java.util.Random p_230382_2_, int p_230382_3_, BlockPos p_230382_4_, java.util.Set<BlockPos> p_230382_5_, MutableBoundingBox p_230382_6_, BaseTreeFeatureConfig p_230382_7_)
protected TrunkPlacerType<?>
type()
-
Methods inherited from class net.minecraft.world.gen.trunkplacer.AbstractTrunkPlacer
getTreeHeight, placeLog, placeLogIfFree, setBlock, setDirtAt, trunkPlacerParts
-
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<StraightTrunkPlacer> CODEC
-
-
Method Detail
-
type
protected TrunkPlacerType<?> type()
- Specified by:
type
in classAbstractTrunkPlacer
-
placeTrunk
public java.util.List<FoliagePlacer.Foliage> placeTrunk(IWorldGenerationReader p_230382_1_, java.util.Random p_230382_2_, int p_230382_3_, BlockPos p_230382_4_, java.util.Set<BlockPos> p_230382_5_, MutableBoundingBox p_230382_6_, BaseTreeFeatureConfig p_230382_7_)
- Specified by:
placeTrunk
in classAbstractTrunkPlacer
-
-