public class ConfiguredDecorator<DC extends DecoratorConfig> extends Object implements Decoratable<ConfiguredDecorator<?>>
| Modifier and Type | Field and Description |
|---|---|
static com.mojang.serialization.Codec<ConfiguredDecorator<?>> |
CODEC |
private DC |
config |
private Decorator<DC> |
decorator |
| Constructor and Description |
|---|
ConfiguredDecorator(Decorator<DC> decorator,
DC config) |
| Modifier and Type | Method and Description |
|---|---|
ConfiguredDecorator<?> |
decorate(ConfiguredDecorator<?> configuredDecorator) |
DC |
getConfig() |
Stream<BlockPos> |
method_30444(DecoratorContext decoratorContext,
Random random,
BlockPos blockPos) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyChance, method_30377, repeat, repeat, repeatRandomly, spreadHorizontallypublic static final com.mojang.serialization.Codec<ConfiguredDecorator<?>> CODEC
private final Decorator<DC extends DecoratorConfig> decorator
private final DC extends DecoratorConfig config
public Stream<BlockPos> method_30444(DecoratorContext decoratorContext, Random random, BlockPos blockPos)
public ConfiguredDecorator<?> decorate(ConfiguredDecorator<?> configuredDecorator)
decorate in interface Decoratable<ConfiguredDecorator<?>>public DC getConfig()