Class PaleMossDecorator
java.lang.Object
net.minecraft.world.level.levelgen.feature.treedecorators.TreeDecorator
net.minecraft.world.level.levelgen.feature.treedecorators.PaleMossDecorator
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.feature.treedecorators.TreeDecorator
TreeDecorator.Context -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<PaleMossDecorator> private final floatprivate final floatprivate final float -
Constructor Summary
ConstructorsConstructorDescriptionPaleMossDecorator(float leavesProbability, float trunkProbability, float groundProbability) -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidaddMossHanger(BlockPos pos, TreeDecorator.Context context) voidplace(TreeDecorator.Context context) protected TreeDecoratorType<?> type()
-
Field Details
-
CODEC
-
leavesProbability
private final float leavesProbability -
trunkProbability
private final float trunkProbability -
groundProbability
private final float groundProbability
-
-
Constructor Details
-
PaleMossDecorator
public PaleMossDecorator(float leavesProbability, float trunkProbability, float groundProbability)
-
-
Method Details
-
type
- Specified by:
typein classTreeDecorator
-
place
- Specified by:
placein classTreeDecorator
-
addMossHanger
-