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

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.Codec<FoliagePlacerMenril>
     

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

    offset, radius
  • Constructor Summary

    Constructors
    Constructor
    Description
    FoliagePlacerMenril(net.minecraft.util.valueproviders.IntProvider radius, net.minecraft.util.valueproviders.IntProvider offset)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    int
    foliageHeight(net.minecraft.util.RandomSource rand, int treeHeight, net.minecraft.world.level.levelgen.feature.configurations.TreeConfiguration config)
     
    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_)
     
    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
  • Field Details

  • 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:
      type in class net.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:
      createFoliage in class net.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:
      foliageHeight in class net.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:
      shouldSkipLocation in class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer