java.lang.Object
net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer
com.pixelmonmod.pixelmon.world.generation.features.tree.berry.trunk.LumTrunkPlacer

public class LumTrunkPlacer extends net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer
  • Field Summary

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

    Fields inherited from class net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer

    baseHeight, heightRandA, heightRandB, MAX_HEIGHT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    LumTrunkPlacer(int p_i232060_1_, int p_i232060_2_, int p_i232060_3_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer.FoliageAttachment>
    placeTrunk(net.minecraft.world.level.LevelSimulatedReader level, BiConsumer<net.minecraft.core.BlockPos,net.minecraft.world.level.block.state.BlockState> setter, net.minecraft.util.RandomSource random, int height, net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.levelgen.feature.configurations.TreeConfiguration config)
     
    protected net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacerType<?>
     

    Methods inherited from class net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer

    getTreeHeight, isFree, placeLog, placeLog, placeLogIfFree, setDirtAt, trunkPlacerParts, validTreePos

    Methods inherited from class java.lang.Object

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

    • CODEC

      public static final com.mojang.serialization.Codec<LumTrunkPlacer> CODEC
  • Constructor Details

    • LumTrunkPlacer

      public LumTrunkPlacer(int p_i232060_1_, int p_i232060_2_, int p_i232060_3_)
    • LumTrunkPlacer

      public LumTrunkPlacer()
  • Method Details

    • type

      protected net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacerType<?> type()
      Specified by:
      type in class net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer
    • placeTrunk

      public List<net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer.FoliageAttachment> placeTrunk(net.minecraft.world.level.LevelSimulatedReader level, BiConsumer<net.minecraft.core.BlockPos,net.minecraft.world.level.block.state.BlockState> setter, net.minecraft.util.RandomSource random, int height, net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.levelgen.feature.configurations.TreeConfiguration config)
      Specified by:
      placeTrunk in class net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer