Class FoliagePlacerMenril
java.lang.Object
net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
org.cyclops.integrateddynamics.world.gen.foliageplacer.FoliagePlacerMenril
public class FoliagePlacerMenril
extends net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer.FoliageAttachment, net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer.FoliageSetter -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<FoliagePlacerMenril> Fields inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
offset, radius -
Constructor Summary
ConstructorsConstructorDescriptionFoliagePlacerMenril(net.minecraft.util.valueproviders.IntProvider radius, net.minecraft.util.valueproviders.IntProvider offset) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateFoliage(net.minecraft.world.level.LevelSimulatedReader world, net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer.FoliageSetter callback, net.minecraft.util.RandomSource rand, net.minecraft.world.level.levelgen.feature.configurations.TreeConfiguration config, int mimimumHeight, net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer.FoliageAttachment foliage, int foliageHeight, int spread, int offset) intfoliageHeight(net.minecraft.util.RandomSource rand, int treeHeight, net.minecraft.world.level.levelgen.feature.configurations.TreeConfiguration config) protected booleanshouldSkipLocation(net.minecraft.util.RandomSource rand, int p_230373_2_, int p_230373_3_, int p_230373_4_, int p_230373_5_, boolean p_230373_6_) protected net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacerType<?> type()Methods inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
createFoliage, foliagePlacerParts, foliageRadius, placeLeavesRow, placeLeavesRowWithHangingLeavesBelow, shouldSkipLocationSigned, tryPlaceLeaf
-
Field Details
-
CODEC
-
-
Constructor Details
-
FoliagePlacerMenril
public FoliagePlacerMenril(net.minecraft.util.valueproviders.IntProvider radius, net.minecraft.util.valueproviders.IntProvider offset)
-
-
Method Details
-
type
protected net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacerType<?> type()- Specified by:
typein classnet.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
-
createFoliage
protected void createFoliage(net.minecraft.world.level.LevelSimulatedReader world, net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer.FoliageSetter callback, net.minecraft.util.RandomSource rand, net.minecraft.world.level.levelgen.feature.configurations.TreeConfiguration config, int mimimumHeight, net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer.FoliageAttachment foliage, int foliageHeight, int spread, int offset) - Specified by:
createFoliagein classnet.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
-
foliageHeight
public int foliageHeight(net.minecraft.util.RandomSource rand, int treeHeight, net.minecraft.world.level.levelgen.feature.configurations.TreeConfiguration config) - Specified by:
foliageHeightin classnet.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
-
shouldSkipLocation
protected boolean shouldSkipLocation(net.minecraft.util.RandomSource rand, int p_230373_2_, int p_230373_3_, int p_230373_4_, int p_230373_5_, boolean p_230373_6_) - Specified by:
shouldSkipLocationin classnet.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
-