Class LanakilaTypeCLogPlacer
java.lang.Object
net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer
com.pixelmonmod.pixelmon.world.generation.features.tree.berry.trunk.LanakilaTypeCLogPlacer
public class LanakilaTypeCLogPlacer
extends net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LanakilaTypeCLogPlacer>
Fields inherited from class net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer
baseHeight, heightRandA, heightRandB, MAX_HEIGHT
-
Constructor Summary
ConstructorDescriptionLanakilaTypeCLogPlacer
(int p_i232060_1_, int p_i232060_2_, int p_i232060_3_) -
Method Summary
Modifier and TypeMethodDescriptionprotected static boolean
placeLogAxisX
(net.minecraft.world.level.LevelSimulatedReader p_236911_0_, BiConsumer<net.minecraft.core.BlockPos, net.minecraft.world.level.block.state.BlockState> setter, net.minecraft.util.RandomSource p_236911_1_, net.minecraft.core.BlockPos p_236911_2_, net.minecraft.world.level.levelgen.feature.configurations.TreeConfiguration p_236911_5_) 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<?>
type()
Methods inherited from class net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer
getTreeHeight, isFree, placeLog, placeLog, placeLogIfFree, setDirtAt, trunkPlacerParts, validTreePos
-
Field Details
-
CODEC
-
-
Constructor Details
-
LanakilaTypeCLogPlacer
public LanakilaTypeCLogPlacer(int p_i232060_1_, int p_i232060_2_, int p_i232060_3_) -
LanakilaTypeCLogPlacer
public LanakilaTypeCLogPlacer()
-
-
Method Details
-
type
protected net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacerType<?> type()- Specified by:
type
in classnet.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 classnet.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer
-
placeLogAxisX
protected static boolean placeLogAxisX(net.minecraft.world.level.LevelSimulatedReader p_236911_0_, BiConsumer<net.minecraft.core.BlockPos, net.minecraft.world.level.block.state.BlockState> setter, net.minecraft.util.RandomSource p_236911_1_, net.minecraft.core.BlockPos p_236911_2_, net.minecraft.world.level.levelgen.feature.configurations.TreeConfiguration p_236911_5_)
-