Class Decorator<DC extends DecoratorConfig>
java.lang.Object
net.minecraft.world.gen.decorator.Decorator<DC>
- Direct Known Subclasses:
AbstractCountDecorator
,AbstractRangeDecorator
,CarvingMaskDecorator
,CaveSurfaceDecorator
,CountMultilayerDecorator
,DarkOakTreeDecorator
,DecoratedDecorator
,HeightmapDecorator
,IcebergDecorator
,NopeDecorator
,SpreadDoubleHeightmapDecorator
,SquareDecorator
,WaterDepthThresholdDecorator
- Mappings:
Namespace Name official czx
intermediary net/minecraft/class_3284
named net/minecraft/world/gen/decorator/Decorator
-
Field Summary
Modifier and TypeFieldDescriptionstatic Decorator<CarvingMaskDecoratorConfig>
static Decorator<CaveSurfaceDecoratorConfig>
static Decorator<ChanceDecoratorConfig>
private com.mojang.serialization.Codec<ConfiguredDecorator<DC>>
static Decorator<CountConfig>
static Decorator<CountExtraDecoratorConfig>
static Decorator<CountConfig>
static Decorator<CountNoiseDecoratorConfig>
static Decorator<NopeDecoratorConfig>
static Decorator<DecoratedDecoratorConfig>
static Decorator<NopeDecoratorConfig>
static Decorator<HeightmapDecoratorConfig>
static Decorator<HeightmapDecoratorConfig>
static Decorator<NopeDecoratorConfig>
static Decorator<ChanceDecoratorConfig>
static Decorator<NopeDecoratorConfig>
static Decorator<RangeDecoratorConfig>
static Decorator<NopeDecoratorConfig>
static Decorator<NopeDecoratorConfig>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<ConfiguredDecorator<DC>>
getCodec()
getPositions(DecoratorContext context, Random random, DC config, BlockPos pos)
private static <T extends DecoratorConfig, G extends Decorator<T>>
GtoString()
-
Field Details
-
NOPE
- Mappings:
Namespace Name Mixin selector official a
Lczx;a:Lczx;
intermediary field_14250
Lnet/minecraft/class_3284;field_14250:Lnet/minecraft/class_3284;
named NOPE
Lnet/minecraft/world/gen/decorator/Decorator;NOPE:Lnet/minecraft/world/gen/decorator/Decorator;
-
DECORATED
- Mappings:
Namespace Name Mixin selector official b
Lczx;b:Lczx;
intermediary field_25859
Lnet/minecraft/class_3284;field_25859:Lnet/minecraft/class_3284;
named DECORATED
Lnet/minecraft/world/gen/decorator/Decorator;DECORATED:Lnet/minecraft/world/gen/decorator/Decorator;
-
CARVING_MASK
- Mappings:
Namespace Name Mixin selector official c
Lczx;c:Lczx;
intermediary field_14229
Lnet/minecraft/class_3284;field_14229:Lnet/minecraft/class_3284;
named CARVING_MASK
Lnet/minecraft/world/gen/decorator/Decorator;CARVING_MASK:Lnet/minecraft/world/gen/decorator/Decorator;
-
COUNT_MULTILAYER
- Mappings:
Namespace Name Mixin selector official d
Lczx;d:Lczx;
intermediary field_25860
Lnet/minecraft/class_3284;field_25860:Lnet/minecraft/class_3284;
named COUNT_MULTILAYER
Lnet/minecraft/world/gen/decorator/Decorator;COUNT_MULTILAYER:Lnet/minecraft/world/gen/decorator/Decorator;
-
SQUARE
- Mappings:
Namespace Name Mixin selector official e
Lczx;e:Lczx;
intermediary field_25866
Lnet/minecraft/class_3284;field_25866:Lnet/minecraft/class_3284;
named SQUARE
Lnet/minecraft/world/gen/decorator/Decorator;SQUARE:Lnet/minecraft/world/gen/decorator/Decorator;
-
DARK_OAK_TREE
- Mappings:
Namespace Name Mixin selector official f
Lczx;f:Lczx;
intermediary field_14239
Lnet/minecraft/class_3284;field_14239:Lnet/minecraft/class_3284;
named DARK_OAK_TREE
Lnet/minecraft/world/gen/decorator/Decorator;DARK_OAK_TREE:Lnet/minecraft/world/gen/decorator/Decorator;
-
ICEBERG
- Mappings:
Namespace Name Mixin selector official g
Lczx;g:Lczx;
intermediary field_14243
Lnet/minecraft/class_3284;field_14243:Lnet/minecraft/class_3284;
named ICEBERG
Lnet/minecraft/world/gen/decorator/Decorator;ICEBERG:Lnet/minecraft/world/gen/decorator/Decorator;
-
CHANCE
- Mappings:
Namespace Name Mixin selector official h
Lczx;h:Lczx;
intermediary field_25861
Lnet/minecraft/class_3284;field_25861:Lnet/minecraft/class_3284;
named CHANCE
Lnet/minecraft/world/gen/decorator/Decorator;CHANCE:Lnet/minecraft/world/gen/decorator/Decorator;
-
COUNT
- Mappings:
Namespace Name Mixin selector official i
Lczx;i:Lczx;
intermediary field_25862
Lnet/minecraft/class_3284;field_25862:Lnet/minecraft/class_3284;
named COUNT
Lnet/minecraft/world/gen/decorator/Decorator;COUNT:Lnet/minecraft/world/gen/decorator/Decorator;
-
COUNT_NOISE
- Mappings:
Namespace Name Mixin selector official j
Lczx;j:Lczx;
intermediary field_25863
Lnet/minecraft/class_3284;field_25863:Lnet/minecraft/class_3284;
named COUNT_NOISE
Lnet/minecraft/world/gen/decorator/Decorator;COUNT_NOISE:Lnet/minecraft/world/gen/decorator/Decorator;
-
COUNT_NOISE_BIASED
- Mappings:
Namespace Name Mixin selector official k
Lczx;k:Lczx;
intermediary field_25864
Lnet/minecraft/class_3284;field_25864:Lnet/minecraft/class_3284;
named COUNT_NOISE_BIASED
Lnet/minecraft/world/gen/decorator/Decorator;COUNT_NOISE_BIASED:Lnet/minecraft/world/gen/decorator/Decorator;
-
COUNT_EXTRA
- Mappings:
Namespace Name Mixin selector official l
Lczx;l:Lczx;
intermediary field_25865
Lnet/minecraft/class_3284;field_25865:Lnet/minecraft/class_3284;
named COUNT_EXTRA
Lnet/minecraft/world/gen/decorator/Decorator;COUNT_EXTRA:Lnet/minecraft/world/gen/decorator/Decorator;
-
LAVA_LAKE
- Mappings:
Namespace Name Mixin selector official m
Lczx;m:Lczx;
intermediary field_14237
Lnet/minecraft/class_3284;field_14237:Lnet/minecraft/class_3284;
named LAVA_LAKE
Lnet/minecraft/world/gen/decorator/Decorator;LAVA_LAKE:Lnet/minecraft/world/gen/decorator/Decorator;
-
HEIGHTMAP
- Mappings:
Namespace Name Mixin selector official n
Lczx;n:Lczx;
intermediary field_25867
Lnet/minecraft/class_3284;field_25867:Lnet/minecraft/class_3284;
named HEIGHTMAP
Lnet/minecraft/world/gen/decorator/Decorator;HEIGHTMAP:Lnet/minecraft/world/gen/decorator/Decorator;
-
HEIGHTMAP_SPREAD_DOUBLE
- Mappings:
Namespace Name Mixin selector official o
Lczx;o:Lczx;
intermediary field_25868
Lnet/minecraft/class_3284;field_25868:Lnet/minecraft/class_3284;
named HEIGHTMAP_SPREAD_DOUBLE
Lnet/minecraft/world/gen/decorator/Decorator;HEIGHTMAP_SPREAD_DOUBLE:Lnet/minecraft/world/gen/decorator/Decorator;
-
WATER_DEPTH_THRESHOLD
- Mappings:
Namespace Name Mixin selector official p
Lczx;p:Lczx;
intermediary field_29321
Lnet/minecraft/class_3284;field_29321:Lnet/minecraft/class_3284;
named WATER_DEPTH_THRESHOLD
Lnet/minecraft/world/gen/decorator/Decorator;WATER_DEPTH_THRESHOLD:Lnet/minecraft/world/gen/decorator/Decorator;
-
CAVE_SURFACE
- Mappings:
Namespace Name Mixin selector official q
Lczx;q:Lczx;
intermediary field_29322
Lnet/minecraft/class_3284;field_29322:Lnet/minecraft/class_3284;
named CAVE_SURFACE
Lnet/minecraft/world/gen/decorator/Decorator;CAVE_SURFACE:Lnet/minecraft/world/gen/decorator/Decorator;
-
RANGE
- Mappings:
Namespace Name Mixin selector official r
Lczx;r:Lczx;
intermediary field_25870
Lnet/minecraft/class_3284;field_25870:Lnet/minecraft/class_3284;
named RANGE
Lnet/minecraft/world/gen/decorator/Decorator;RANGE:Lnet/minecraft/world/gen/decorator/Decorator;
-
SPREAD_32_ABOVE
- Mappings:
Namespace Name Mixin selector official s
Lczx;s:Lczx;
intermediary field_25874
Lnet/minecraft/class_3284;field_25874:Lnet/minecraft/class_3284;
named SPREAD_32_ABOVE
Lnet/minecraft/world/gen/decorator/Decorator;SPREAD_32_ABOVE:Lnet/minecraft/world/gen/decorator/Decorator;
-
END_GATEWAY
- Mappings:
Namespace Name Mixin selector official t
Lczx;t:Lczx;
intermediary field_14230
Lnet/minecraft/class_3284;field_14230:Lnet/minecraft/class_3284;
named END_GATEWAY
Lnet/minecraft/world/gen/decorator/Decorator;END_GATEWAY:Lnet/minecraft/world/gen/decorator/Decorator;
-
codec
- Mappings:
Namespace Name Mixin selector official u
Lczx;u:Lcom/mojang/serialization/Codec;
intermediary field_24983
Lnet/minecraft/class_3284;field_24983:Lcom/mojang/serialization/Codec;
named codec
Lnet/minecraft/world/gen/decorator/Decorator;codec:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
Decorator
- Mappings:
Namespace Name Mixin selector official <init>
Lczx;<init>(Lcom/mojang/serialization/Codec;)V
intermediary <init>
Lnet/minecraft/class_3284;<init>(Lcom/mojang/serialization/Codec;)V
named <init>
Lnet/minecraft/world/gen/decorator/Decorator;<init>(Lcom/mojang/serialization/Codec;)V
-
-
Method Details
-
register
private static <T extends DecoratorConfig, G extends Decorator<T>> G register(String registryName, G decorator)- Mappings:
Namespace Name Mixin selector official a
Lczx;a(Ljava/lang/String;Lczx;)Lczx;
intermediary method_14450
Lnet/minecraft/class_3284;method_14450(Ljava/lang/String;Lnet/minecraft/class_3284;)Lnet/minecraft/class_3284;
named register
Lnet/minecraft/world/gen/decorator/Decorator;register(Ljava/lang/String;Lnet/minecraft/world/gen/decorator/Decorator;)Lnet/minecraft/world/gen/decorator/Decorator;
-
configure
- Mappings:
Namespace Name Mixin selector official a
Lczx;a(Lcvb;)Lczo;
intermediary method_23475
Lnet/minecraft/class_3284;method_23475(Lnet/minecraft/class_2998;)Lnet/minecraft/class_3243;
named configure
Lnet/minecraft/world/gen/decorator/Decorator;configure(Lnet/minecraft/world/gen/decorator/DecoratorConfig;)Lnet/minecraft/world/gen/decorator/ConfiguredDecorator;
-
getCodec
- Mappings:
Namespace Name Mixin selector official a
Lczx;a()Lcom/mojang/serialization/Codec;
intermediary method_28928
Lnet/minecraft/class_3284;method_28928()Lcom/mojang/serialization/Codec;
named getCodec
Lnet/minecraft/world/gen/decorator/Decorator;getCodec()Lcom/mojang/serialization/Codec;
-
getPositions
public abstract Stream<BlockPos> getPositions(DecoratorContext context, Random random, DC config, BlockPos pos)- Mappings:
Namespace Name Mixin selector official a
Lczx;a(Lczv;Ljava/util/Random;Lcvb;Lgg;)Ljava/util/stream/Stream;
intermediary method_14452
Lnet/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 getPositions
Lnet/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;
-
toString
-