public class RangeDecoratorConfig extends Object implements DecoratorConfig
| Modifier and Type | Field and Description |
|---|---|
int |
bottomOffset |
int |
count |
int |
maximum |
int |
topOffset |
DEFAULT| Constructor and Description |
|---|
RangeDecoratorConfig(int count,
int bottomOffset,
int topOffset,
int maximum) |
| Modifier and Type | Method and Description |
|---|---|
static RangeDecoratorConfig |
deserialize(com.mojang.datafixers.Dynamic<?> dynamic) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public final int count
public final int bottomOffset
public final int topOffset
public final int maximum
public RangeDecoratorConfig(int count,
int bottomOffset,
int topOffset,
int maximum)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize in interface DecoratorConfigpublic static RangeDecoratorConfig deserialize(com.mojang.datafixers.Dynamic<?> dynamic)