Class ChanceRangeDecoratorConfig
java.lang.Object
net.minecraft.world.gen.decorator.ChanceRangeDecoratorConfig
- All Implemented Interfaces:
DecoratorConfig
public class ChanceRangeDecoratorConfig extends Object implements DecoratorConfig
-
Field Summary
Fields Modifier and Type Field Description intbottomOffsetfloatchancestatic com.mojang.serialization.Codec<ChanceRangeDecoratorConfig>CODECinttopinttopOffset -
Constructor Summary
Constructors Constructor Description ChanceRangeDecoratorConfig(float chance, int bottomOffset, int topOffset, int top) -
Method Summary
-
Field Details
-
CODEC
-
chance
public final float chance -
bottomOffset
public final int bottomOffset -
topOffset
public final int topOffset -
top
public final int top
-
-
Constructor Details
-
ChanceRangeDecoratorConfig
public ChanceRangeDecoratorConfig(float chance, int bottomOffset, int topOffset, int top)
-