Class ConfiguredDecorator<DC extends DecoratorConfig>
java.lang.Object
net.minecraft.world.gen.decorator.ConfiguredDecorator<DC>
- All Implemented Interfaces:
Decoratable<ConfiguredDecorator<?>>
public class ConfiguredDecorator<DC extends DecoratorConfig> extends Object implements Decoratable<ConfiguredDecorator<?>>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ConfiguredDecorator(Decorator<DC> decorator, DC config) -
Method Summary
Modifier and Type Method Description ConfiguredDecorator<?>decorate(ConfiguredDecorator<?> configuredDecorator)DCgetConfig()Stream<BlockPos>getPositions(DecoratorContext context, Random random, BlockPos pos)StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.gen.decorator.Decoratable
applyChance, rangeOf, repeat, repeat, repeatRandomly, spreadHorizontally
-
Field Details
-
CODEC
-
decorator
-
config
-
-
Constructor Details
-
ConfiguredDecorator
-
-
Method Details
-
getPositions
-
toString
-
decorate
- Specified by:
decoratein interfaceDecoratable<DC extends DecoratorConfig>
-
getConfig
-