Class Decorator<DC extends DecoratorConfig>
java.lang.Object
net.minecraft.world.gen.decorator.Decorator<DC>
- Direct Known Subclasses:
AbstractHeightmapDecorator,CarvingMaskDecorator,CountMultilayerDecorator,CountNoiseDecorator,DecoratedDecorator,EndGatewayDecorator,LavaLakeDecorator,MagmaDecorator,SimpleDecorator,Spread32AboveDecorator,WaterLakeDecorator
public abstract class Decorator<DC extends DecoratorConfig> extends Object
- Mappings:
Namespace Name official cvpintermediary net/minecraft/class_3284named net/minecraft/world/gen/decorator/Decorator
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description ConfiguredDecorator<DC>configure(DC config)com.mojang.serialization.Codec<ConfiguredDecorator<DC>>getCodec()abstract Stream<BlockPos>getPositions(DecoratorContext context, Random random, DC config, BlockPos pos)private static <T extends DecoratorConfig, G extends Decorator<T>>
Gregister(String registryName, G decorator)StringtoString()
-
Field Details
-
NOPE
- Mappings:
Namespace Name Mixin selector official aLcvp;a:Lcvp;intermediary field_14250Lnet/minecraft/class_3284;field_14250:Lnet/minecraft/class_3284;named NOPELnet/minecraft/world/gen/decorator/Decorator;NOPE:Lnet/minecraft/world/gen/decorator/Decorator;
-
CHANCE
- Mappings:
Namespace Name Mixin selector official bLcvp;b:Lcvp;intermediary field_25861Lnet/minecraft/class_3284;field_25861:Lnet/minecraft/class_3284;named CHANCELnet/minecraft/world/gen/decorator/Decorator;CHANCE:Lnet/minecraft/world/gen/decorator/Decorator;
-
COUNT
- Mappings:
Namespace Name Mixin selector official cLcvp;c:Lcvp;intermediary field_25862Lnet/minecraft/class_3284;field_25862:Lnet/minecraft/class_3284;named COUNTLnet/minecraft/world/gen/decorator/Decorator;COUNT:Lnet/minecraft/world/gen/decorator/Decorator;
-
COUNT_NOISE
- Mappings:
Namespace Name Mixin selector official dLcvp;d:Lcvp;intermediary field_25863Lnet/minecraft/class_3284;field_25863:Lnet/minecraft/class_3284;named COUNT_NOISELnet/minecraft/world/gen/decorator/Decorator;COUNT_NOISE:Lnet/minecraft/world/gen/decorator/Decorator;
-
COUNT_NOISE_BIASED
- Mappings:
Namespace Name Mixin selector official eLcvp;e:Lcvp;intermediary field_25864Lnet/minecraft/class_3284;field_25864:Lnet/minecraft/class_3284;named COUNT_NOISE_BIASEDLnet/minecraft/world/gen/decorator/Decorator;COUNT_NOISE_BIASED:Lnet/minecraft/world/gen/decorator/Decorator;
-
COUNT_EXTRA
- Mappings:
Namespace Name Mixin selector official fLcvp;f:Lcvp;intermediary field_25865Lnet/minecraft/class_3284;field_25865:Lnet/minecraft/class_3284;named COUNT_EXTRALnet/minecraft/world/gen/decorator/Decorator;COUNT_EXTRA:Lnet/minecraft/world/gen/decorator/Decorator;
-
SQUARE
- Mappings:
Namespace Name Mixin selector official gLcvp;g:Lcvp;intermediary field_25866Lnet/minecraft/class_3284;field_25866:Lnet/minecraft/class_3284;named SQUARELnet/minecraft/world/gen/decorator/Decorator;SQUARE:Lnet/minecraft/world/gen/decorator/Decorator;
-
HEIGHTMAP
- Mappings:
Namespace Name Mixin selector official hLcvp;h:Lcvp;intermediary field_25867Lnet/minecraft/class_3284;field_25867:Lnet/minecraft/class_3284;named HEIGHTMAPLnet/minecraft/world/gen/decorator/Decorator;HEIGHTMAP:Lnet/minecraft/world/gen/decorator/Decorator;
-
HEIGHTMAP_SPREAD_DOUBLE
- Mappings:
Namespace Name Mixin selector official iLcvp;i:Lcvp;intermediary field_25868Lnet/minecraft/class_3284;field_25868:Lnet/minecraft/class_3284;named HEIGHTMAP_SPREAD_DOUBLELnet/minecraft/world/gen/decorator/Decorator;HEIGHTMAP_SPREAD_DOUBLE:Lnet/minecraft/world/gen/decorator/Decorator;
-
TOP_SOLID_HEIGHTMAP
- Mappings:
Namespace Name Mixin selector official jLcvp;j:Lcvp;intermediary field_14231Lnet/minecraft/class_3284;field_14231:Lnet/minecraft/class_3284;named TOP_SOLID_HEIGHTMAPLnet/minecraft/world/gen/decorator/Decorator;TOP_SOLID_HEIGHTMAP:Lnet/minecraft/world/gen/decorator/Decorator;
-
HEIGHTMAP_WORLD_SURFACE
- Mappings:
Namespace Name Mixin selector official kLcvp;k:Lcvp;intermediary field_25869Lnet/minecraft/class_3284;field_25869:Lnet/minecraft/class_3284;named HEIGHTMAP_WORLD_SURFACELnet/minecraft/world/gen/decorator/Decorator;HEIGHTMAP_WORLD_SURFACE:Lnet/minecraft/world/gen/decorator/Decorator;
-
RANGE
- Mappings:
Namespace Name Mixin selector official lLcvp;l:Lcvp;intermediary field_25870Lnet/minecraft/class_3284;field_25870:Lnet/minecraft/class_3284;named RANGELnet/minecraft/world/gen/decorator/Decorator;RANGE:Lnet/minecraft/world/gen/decorator/Decorator;
-
RANGE_BIASED
- Mappings:
Namespace Name Mixin selector official mLcvp;m:Lcvp;intermediary field_25871Lnet/minecraft/class_3284;field_25871:Lnet/minecraft/class_3284;named RANGE_BIASEDLnet/minecraft/world/gen/decorator/Decorator;RANGE_BIASED:Lnet/minecraft/world/gen/decorator/Decorator;
-
RANGE_VERY_BIASED
- Mappings:
Namespace Name Mixin selector official nLcvp;n:Lcvp;intermediary field_25872Lnet/minecraft/class_3284;field_25872:Lnet/minecraft/class_3284;named RANGE_VERY_BIASEDLnet/minecraft/world/gen/decorator/Decorator;RANGE_VERY_BIASED:Lnet/minecraft/world/gen/decorator/Decorator;
-
DEPTH_AVERAGE
- Mappings:
Namespace Name Mixin selector official oLcvp;o:Lcvp;intermediary field_25873Lnet/minecraft/class_3284;field_25873:Lnet/minecraft/class_3284;named DEPTH_AVERAGELnet/minecraft/world/gen/decorator/Decorator;DEPTH_AVERAGE:Lnet/minecraft/world/gen/decorator/Decorator;
-
SPREAD_32_ABOVE
- Mappings:
Namespace Name Mixin selector official pLcvp;p:Lcvp;intermediary field_25874Lnet/minecraft/class_3284;field_25874:Lnet/minecraft/class_3284;named SPREAD_32_ABOVELnet/minecraft/world/gen/decorator/Decorator;SPREAD_32_ABOVE:Lnet/minecraft/world/gen/decorator/Decorator;
-
CARVING_MASK
- Mappings:
Namespace Name Mixin selector official qLcvp;q:Lcvp;intermediary field_14229Lnet/minecraft/class_3284;field_14229:Lnet/minecraft/class_3284;named CARVING_MASKLnet/minecraft/world/gen/decorator/Decorator;CARVING_MASK:Lnet/minecraft/world/gen/decorator/Decorator;
-
FIRE
- Mappings:
Namespace Name Mixin selector official rLcvp;r:Lcvp;intermediary field_14235Lnet/minecraft/class_3284;field_14235:Lnet/minecraft/class_3284;named FIRELnet/minecraft/world/gen/decorator/Decorator;FIRE:Lnet/minecraft/world/gen/decorator/Decorator;
-
MAGMA
- Mappings:
Namespace Name Mixin selector official sLcvp;s:Lcvp;intermediary field_14244Lnet/minecraft/class_3284;field_14244:Lnet/minecraft/class_3284;named MAGMALnet/minecraft/world/gen/decorator/Decorator;MAGMA:Lnet/minecraft/world/gen/decorator/Decorator;
-
EMERALD_ORE
- Mappings:
Namespace Name Mixin selector official tLcvp;t:Lcvp;intermediary field_14268Lnet/minecraft/class_3284;field_14268:Lnet/minecraft/class_3284;named EMERALD_ORELnet/minecraft/world/gen/decorator/Decorator;EMERALD_ORE:Lnet/minecraft/world/gen/decorator/Decorator;
-
LAVA_LAKE
- Mappings:
Namespace Name Mixin selector official uLcvp;u:Lcvp;intermediary field_14237Lnet/minecraft/class_3284;field_14237:Lnet/minecraft/class_3284;named LAVA_LAKELnet/minecraft/world/gen/decorator/Decorator;LAVA_LAKE:Lnet/minecraft/world/gen/decorator/Decorator;
-
WATER_LAKE
- Mappings:
Namespace Name Mixin selector official vLcvp;v:Lcvp;intermediary field_14242Lnet/minecraft/class_3284;field_14242:Lnet/minecraft/class_3284;named WATER_LAKELnet/minecraft/world/gen/decorator/Decorator;WATER_LAKE:Lnet/minecraft/world/gen/decorator/Decorator;
-
GLOWSTONE
- Mappings:
Namespace Name Mixin selector official wLcvp;w:Lcvp;intermediary field_25875Lnet/minecraft/class_3284;field_25875:Lnet/minecraft/class_3284;named GLOWSTONELnet/minecraft/world/gen/decorator/Decorator;GLOWSTONE:Lnet/minecraft/world/gen/decorator/Decorator;
-
END_GATEWAY
- Mappings:
Namespace Name Mixin selector official xLcvp;x:Lcvp;intermediary field_14230Lnet/minecraft/class_3284;field_14230:Lnet/minecraft/class_3284;named END_GATEWAYLnet/minecraft/world/gen/decorator/Decorator;END_GATEWAY:Lnet/minecraft/world/gen/decorator/Decorator;
-
DARK_OAK_TREE
- Mappings:
Namespace Name Mixin selector official yLcvp;y:Lcvp;intermediary field_14239Lnet/minecraft/class_3284;field_14239:Lnet/minecraft/class_3284;named DARK_OAK_TREELnet/minecraft/world/gen/decorator/Decorator;DARK_OAK_TREE:Lnet/minecraft/world/gen/decorator/Decorator;
-
ICEBERG
- Mappings:
Namespace Name Mixin selector official zLcvp;z:Lcvp;intermediary field_14243Lnet/minecraft/class_3284;field_14243:Lnet/minecraft/class_3284;named ICEBERGLnet/minecraft/world/gen/decorator/Decorator;ICEBERG:Lnet/minecraft/world/gen/decorator/Decorator;
-
END_ISLAND
- Mappings:
Namespace Name Mixin selector official ALcvp;A:Lcvp;intermediary field_14251Lnet/minecraft/class_3284;field_14251:Lnet/minecraft/class_3284;named END_ISLANDLnet/minecraft/world/gen/decorator/Decorator;END_ISLAND:Lnet/minecraft/world/gen/decorator/Decorator;
-
DECORATED
- Mappings:
Namespace Name Mixin selector official BLcvp;B:Lcvp;intermediary field_25859Lnet/minecraft/class_3284;field_25859:Lnet/minecraft/class_3284;named DECORATEDLnet/minecraft/world/gen/decorator/Decorator;DECORATED:Lnet/minecraft/world/gen/decorator/Decorator;
-
COUNT_MULTILAYER
- Mappings:
Namespace Name Mixin selector official CLcvp;C:Lcvp;intermediary field_25860Lnet/minecraft/class_3284;field_25860:Lnet/minecraft/class_3284;named COUNT_MULTILAYERLnet/minecraft/world/gen/decorator/Decorator;COUNT_MULTILAYER:Lnet/minecraft/world/gen/decorator/Decorator;
-
codec
- Mappings:
Namespace Name Mixin selector official DLcvp;D:Lcom/mojang/serialization/Codec;intermediary field_24983Lnet/minecraft/class_3284;field_24983:Lcom/mojang/serialization/Codec;named codecLnet/minecraft/world/gen/decorator/Decorator;codec:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
Decorator
- Mappings:
Namespace Name Mixin selector official <init>Lcvp;<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
-
register
private static <T extends DecoratorConfig, G extends Decorator<T>> G register(String registryName, G decorator)- Mappings:
Namespace Name Mixin selector official aLcvp;a(Ljava/lang/String;Lcvp;)Lcvp;intermediary method_14450Lnet/minecraft/class_3284;method_14450(Ljava/lang/String;Lnet/minecraft/class_3284;)Lnet/minecraft/class_3284;named registerLnet/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 bLcvp;b(Lcrf;)Lcvb;intermediary method_23475Lnet/minecraft/class_3284;method_23475(Lnet/minecraft/class_2998;)Lnet/minecraft/class_3243;named configureLnet/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 aLcvp;a()Lcom/mojang/serialization/Codec;intermediary method_28928Lnet/minecraft/class_3284;method_28928()Lcom/mojang/serialization/Codec;named getCodecLnet/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 aLcvp;a(Lcvi;Ljava/util/Random;Lcrf;Lfx;)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;
-
toString
-