Class VerticalDecorator<DC extends DecoratorConfiguration>
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<FeatureDecorator<?>>
net.minecraft.world.level.levelgen.placement.FeatureDecorator<DC>
net.minecraft.world.level.levelgen.placement.VerticalDecorator<DC>
- All Implemented Interfaces:
IForgeRegistryEntry<FeatureDecorator<?>>
- Direct Known Subclasses:
EndGatewayPlacementDecorator
,RangeDecorator
,Spread32Decorator
public abstract class VerticalDecorator<DC extends DecoratorConfiguration>
extends FeatureDecorator<DC>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
Field Summary
Fields inherited from class net.minecraft.world.level.levelgen.placement.FeatureDecorator
CARVING_MASK, CAVE_SURFACE, CHANCE, COUNT, COUNT_EXTRA, COUNT_MULTILAYER, COUNT_NOISE, COUNT_NOISE_BIASED, DARK_OAK_TREE, DECORATED, END_GATEWAY, HEIGHTMAP, HEIGHTMAP_SPREAD_DOUBLE, ICEBERG, LAVA_LAKE, NOPE, RANGE, SPREAD_32_ABOVE, SQUARE, WATER_DEPTH_THRESHOLD
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPositions(DecorationContext p_162329_, Random p_162330_, DC p_162331_, BlockPos p_162332_)
protected abstract int
y(DecorationContext p_162324_, Random p_162325_, DC p_162326_, int p_162327_)
Methods inherited from class net.minecraft.world.level.levelgen.placement.FeatureDecorator
configured, configuredCodec, toString
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
Constructor Details
-
VerticalDecorator
-
-
Method Details
-
y
protected abstract int y(DecorationContext p_162324_, Random p_162325_, DC p_162326_, int p_162327_) -
getPositions
public final Stream<BlockPos> getPositions(DecorationContext p_162329_, Random p_162330_, DC p_162331_, BlockPos p_162332_)- Specified by:
getPositions
in classFeatureDecorator<DC extends DecoratorConfiguration>
-