Class GiantTrunkPlacer
- java.lang.Object
-
- net.minecraft.world.gen.trunkplacer.AbstractTrunkPlacer
-
- net.minecraft.world.gen.trunkplacer.GiantTrunkPlacer
-
- Direct Known Subclasses:
MegaJungleTrunkPlacer
public class GiantTrunkPlacer extends AbstractTrunkPlacer
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<GiantTrunkPlacer>
CODEC
-
Fields inherited from class net.minecraft.world.gen.trunkplacer.AbstractTrunkPlacer
baseHeight, heightRandA, heightRandB
-
-
Constructor Summary
Constructors Constructor Description GiantTrunkPlacer(int p_i232057_1_, int p_i232057_2_, int p_i232057_3_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static void
placeLogIfFreeWithOffset(IWorldGenerationReader p_236899_0_, java.util.Random p_236899_1_, BlockPos.Mutable p_236899_2_, java.util.Set<BlockPos> p_236899_3_, MutableBoundingBox p_236899_4_, BaseTreeFeatureConfig p_236899_5_, BlockPos p_236899_6_, int p_236899_7_, int p_236899_8_, int p_236899_9_)
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<GiantTrunkPlacer> 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
-
placeLogIfFreeWithOffset
private static void placeLogIfFreeWithOffset(IWorldGenerationReader p_236899_0_, java.util.Random p_236899_1_, BlockPos.Mutable p_236899_2_, java.util.Set<BlockPos> p_236899_3_, MutableBoundingBox p_236899_4_, BaseTreeFeatureConfig p_236899_5_, BlockPos p_236899_6_, int p_236899_7_, int p_236899_8_, int p_236899_9_)
-
-