Class AbstractBerryTreeFoliagePlacer
java.lang.Object
net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
com.pixelmonmod.pixelmon.world.generation.features.tree.berry.foliage.AbstractBerryTreeFoliagePlacer
- Direct Known Subclasses:
AguavFoliagePlacer,ApicotFoliagePlacer,ApricornFoliagePlacer,AspearFoliagePlacer,BabiriFoliagePlacer,BelueFoliagePlacer,BlukFoliagePlacer,ChartiFoliagePlacer,CheriFoliagePlacer,ChestoFoliagePlacer,ChilanFoliagePlacer,ChopleFoliagePlacer,CobaFoliagePlacer,ColburFoliagePlacer,CornnFoliagePlacer,CustapFoliagePlacer,DrashFoliagePlacer,DurinFoliagePlacer,EggantFoliagePlacer,EnigmaFoliagePlacer,FigyFoliagePlacer,GanlonFoliagePlacer,GinemaFoliagePlacer,GrepaFoliagePlacer,HabanFoliagePlacer,HondewFoliagePlacer,IapapaFoliagePlacer,JabocaFoliagePlacer,KasibFoliagePlacer,KebiaFoliagePlacer,KeeFoliagePlacer,KelpsyFoliagePlacer,KuoFoliagePlacer,LanakilaTypeCFoliagePlacer,LanakilaTypeDFoliagePlacer,LanakilaTypeEFoliagePlacer,LansatFoliagePlacer,LeppaFoliagePlacer,LiechiFoliagePlacer,LumFoliagePlacer,MagoFoliagePlacer,MagostFoliagePlacer,MarangaFoliagePlacer,MicleFoliagePlacer,NanabFoliagePlacer,NinikuFoliagePlacer,NomelFoliagePlacer,NutpeaFoliagePlacer,OccaFoliagePlacer,OranFoliagePlacer,PamtreFoliagePlacer,PasshoFoliagePlacer,PayapaFoliagePlacer,PechaFoliagePlacer,PersimFoliagePlacer,PetayaFoliagePlacer,PinapFoliagePlacer,PomegFoliagePlacer,PumkinFoliagePlacer,QualotFoliagePlacer,RabutaFoliagePlacer,RawstFoliagePlacer,RazzFoliagePlacer,RindoFoliagePlacer,RoseliFoliagePlacer,RowapFoliagePlacer,SalacFoliagePlacer,ShucaFoliagePlacer,SimpleLanakilaFoliagePlacer,SitrusFoliagePlacer,SmallLanakilaFoliagePlacer,SpelonFoliagePlacer,StarfFoliagePlacer,StribFoliagePlacer,TamatoFoliagePlacer,TangaFoliagePlacer,TopoFoliagePlacer,TougaFoliagePlacer,WacanFoliagePlacer,WatmelFoliagePlacer,WepearFoliagePlacer,WikiFoliagePlacer,YacheFoliagePlacer,YagoFoliagePlacer
public abstract class AbstractBerryTreeFoliagePlacer
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
Fields inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
CODEC, offset, radius -
Constructor Summary
ConstructorsConstructorDescriptionAbstractBerryTreeFoliagePlacer(Supplier<net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacerType<?>> foliagePlacerType, int foliageHeight, List<Integer> fullRows, net.minecraft.core.BlockPos... foliagePositions) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateFoliage(net.minecraft.world.level.LevelSimulatedReader worldGenReader, net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer.FoliageSetter setter, net.minecraft.util.RandomSource random, net.minecraft.world.level.levelgen.feature.configurations.TreeConfiguration config, int unknown, net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer.FoliageAttachment foliage, int foliageHeight, int radius, int treeTopHeight) intfoliageHeight(net.minecraft.util.RandomSource p_225601_, int p_225602_, net.minecraft.world.level.levelgen.feature.configurations.TreeConfiguration p_225603_) protected booleanshouldSkipLocation(net.minecraft.util.RandomSource random, int x, int y, int z, int radius, boolean doubleTrunk) 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
-
Constructor Details
-
AbstractBerryTreeFoliagePlacer
-
-
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 worldGenReader, net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer.FoliageSetter setter, net.minecraft.util.RandomSource random, net.minecraft.world.level.levelgen.feature.configurations.TreeConfiguration config, int unknown, net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer.FoliageAttachment foliage, int foliageHeight, int radius, int treeTopHeight) - Specified by:
createFoliagein classnet.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
-
foliageHeight
public int foliageHeight(net.minecraft.util.RandomSource p_225601_, int p_225602_, net.minecraft.world.level.levelgen.feature.configurations.TreeConfiguration p_225603_) - Specified by:
foliageHeightin classnet.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
-
shouldSkipLocation
protected boolean shouldSkipLocation(net.minecraft.util.RandomSource random, int x, int y, int z, int radius, boolean doubleTrunk) - Specified by:
shouldSkipLocationin classnet.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
-