Class AbstractRangeDecorator<DC extends DecoratorConfig>
java.lang.Object
net.minecraft.world.gen.decorator.Decorator<DC>
net.minecraft.world.gen.decorator.AbstractRangeDecorator<DC>
- Direct Known Subclasses:
EndGatewayDecorator,RangeDecorator,Spread32AboveDecorator
- Mappings:
Namespace Name official dalintermediary net/minecraft/class_5858named net/minecraft/world/gen/decorator/AbstractRangeDecorator
-
Field Summary
Fields inherited from class net.minecraft.world.gen.decorator.Decorator
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPositions(DecoratorContext context, Random random, DC config, BlockPos pos) protected abstract intgetY(DecoratorContext context, Random random, DC config, int y)
-
Constructor Details
-
AbstractRangeDecorator
- Mappings:
Namespace Name Mixin selector official <init>Lczy;<init>(Lcom/mojang/serialization/Codec;)Vintermediary <init>Lnet/minecraft/class_3284;<init>(Lcom/mojang/serialization/Codec;)Vnamed <init>Lnet/minecraft/world/gen/decorator/Decorator;<init>(Lcom/mojang/serialization/Codec;)V
-
-
Method Details
-
getY
- Mappings:
Namespace Name Mixin selector official aLdal;a(Lczw;Ljava/util/Random;Lcvc;I)Iintermediary method_33861Lnet/minecraft/class_5858;method_33861(Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_2998;I)Inamed getYLnet/minecraft/world/gen/decorator/AbstractRangeDecorator;getY(Lnet/minecraft/world/gen/decorator/DecoratorContext;Ljava/util/Random;Lnet/minecraft/world/gen/decorator/DecoratorConfig;I)I
-
getPositions
public final Stream<BlockPos> getPositions(DecoratorContext context, Random random, DC config, BlockPos pos) - Specified by:
getPositionsin classDecorator<DC extends DecoratorConfig>- Mappings:
Namespace Name Mixin selector official aLczy;a(Lczw;Ljava/util/Random;Lcvc;Lgg;)Ljava/util/stream/Stream;intermediary method_14452Lnet/minecraft/class_3284;method_14452(Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_2998;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;named getPositionsLnet/minecraft/world/gen/decorator/Decorator;getPositions(Lnet/minecraft/world/gen/decorator/DecoratorContext;Ljava/util/Random;Lnet/minecraft/world/gen/decorator/DecoratorConfig;Lnet/minecraft/util/math/BlockPos;)Ljava/util/stream/Stream;
-