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

    Constructors
    Constructor
    Description
    AbstractBerryTreeFoliagePlacer(net.minecraftforge.registries.RegistryObject<net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacerType<?>> foliagePlacerType, int foliageHeight, List<Integer> fullRows, net.minecraft.core.BlockPos... foliagePositions)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    int
    foliageHeight(net.minecraft.util.RandomSource p_225601_, int p_225602_, net.minecraft.world.level.levelgen.feature.configurations.TreeConfiguration p_225603_)
     
    protected boolean
    shouldSkipLocation(net.minecraft.util.RandomSource random, int x, int y, int z, int radius, boolean doubleTrunk)
     
    protected net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacerType<?>
     

    Methods inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer

    createFoliage, foliagePlacerParts, foliageRadius, placeLeavesRow, placeLeavesRowWithHangingLeavesBelow, shouldSkipLocationSigned, tryPlaceLeaf

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractBerryTreeFoliagePlacer

      public AbstractBerryTreeFoliagePlacer(net.minecraftforge.registries.RegistryObject<net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacerType<?>> foliagePlacerType, int foliageHeight, List<Integer> fullRows, net.minecraft.core.BlockPos... foliagePositions)
  • Method Details

    • type

      protected net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacerType<?> type()
      Specified by:
      type in class net.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:
      createFoliage in class net.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:
      foliageHeight in class net.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:
      shouldSkipLocation in class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer