Class ConfiguredDecorator<DC extends DecoratorConfiguration>
java.lang.Object
net.minecraft.world.level.levelgen.placement.ConfiguredDecorator<DC>
- All Implemented Interfaces:
Decoratable<ConfiguredDecorator<?>>
public class ConfiguredDecorator<DC extends DecoratorConfiguration>
extends Object
implements Decoratable<ConfiguredDecorator<?>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<ConfiguredDecorator<?>>
private DC
private FeatureDecorator<DC>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconfig()
decorated(ConfiguredDecorator<?> p_70486_)
getPositions(DecorationContext p_70481_, Random p_70482_, BlockPos p_70483_)
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.levelgen.Decoratable
count, count, countRandom, range, rangeTriangle, rangeUniform, rarity, squared
-
Field Details
-
CODEC
-
decorator
-
config
-
-
Constructor Details
-
ConfiguredDecorator
-
-
Method Details
-
getPositions
public Stream<BlockPos> getPositions(DecorationContext p_70481_, Random p_70482_, BlockPos p_70483_) -
toString
-
decorated
- Specified by:
decorated
in interfaceDecoratable<DC extends DecoratorConfiguration>
-
config
-