类 ConfiguredDecorator<DC extends DecoratorConfig>
- java.lang.Object
-
- net.minecraft.world.gen.decorator.ConfiguredDecorator<DC>
-
- 所有已实现的接口:
Decoratable<ConfiguredDecorator<?>>
public class ConfiguredDecorator<DC extends DecoratorConfig> extends Object implements Decoratable<ConfiguredDecorator<?>>
- Mappings:
Namespace Name official cykintermediary net/minecraft/class_3243named net/minecraft/world/gen/decorator/ConfiguredDecorator
-
-
构造器概要
构造器 构造器 说明 ConfiguredDecorator(Decorator<DC> decorator, DC config)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ConfiguredDecorator<?>decorate(ConfiguredDecorator<?> configuredDecorator)DCgetConfig()Stream<BlockPos>getPositions(DecoratorContext context, Random random, BlockPos pos)StringtoString()-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 net.minecraft.world.gen.decorator.Decoratable
applyChance, averageDepth, range, rangeOf, repeat, repeat, repeatRandomly, spreadHorizontally
-
-
-
-
字段详细资料
-
CODEC
public static final com.mojang.serialization.Codec<ConfiguredDecorator<?>> CODEC
- Mappings:
Namespace Name Mixin selector official aLcyk;a:Lcom/mojang/serialization/Codec;intermediary field_24981Lnet/minecraft/class_3243;field_24981:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/gen/decorator/ConfiguredDecorator;CODEC:Lcom/mojang/serialization/Codec;
-
decorator
private final Decorator<DC extends DecoratorConfig> decorator
- Mappings:
Namespace Name Mixin selector official bLcyk;b:Lcyv;intermediary field_14115Lnet/minecraft/class_3243;field_14115:Lnet/minecraft/class_3284;named decoratorLnet/minecraft/world/gen/decorator/ConfiguredDecorator;decorator:Lnet/minecraft/world/gen/decorator/Decorator;
-
config
private final DC extends DecoratorConfig config
- Mappings:
Namespace Name Mixin selector official cLcyk;c:Lctx;intermediary field_14114Lnet/minecraft/class_3243;field_14114:Lnet/minecraft/class_2998;named configLnet/minecraft/world/gen/decorator/ConfiguredDecorator;config:Lnet/minecraft/world/gen/decorator/DecoratorConfig;
-
-
构造器详细资料
-
ConfiguredDecorator
public ConfiguredDecorator(Decorator<DC> decorator, DC config)
- Mappings:
Namespace Name Mixin selector official <init>Lcyk;<init>(Lcyv;Lctx;)Vintermediary <init>Lnet/minecraft/class_3243;<init>(Lnet/minecraft/class_3284;Lnet/minecraft/class_2998;)Vnamed <init>Lnet/minecraft/world/gen/decorator/ConfiguredDecorator;<init>(Lnet/minecraft/world/gen/decorator/Decorator;Lnet/minecraft/world/gen/decorator/DecoratorConfig;)V
-
-
方法详细资料
-
getPositions
public Stream<BlockPos> getPositions(DecoratorContext context, Random random, BlockPos pos)
- Mappings:
Namespace Name Mixin selector official aLcyk;a(Lcyr;Ljava/util/Random;Lgb;)Ljava/util/stream/Stream;intermediary method_30444Lnet/minecraft/class_3243;method_30444(Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;named getPositionsLnet/minecraft/world/gen/decorator/ConfiguredDecorator;getPositions(Lnet/minecraft/world/gen/decorator/DecoratorContext;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)Ljava/util/stream/Stream;
-
toString
public String toString()
-
decorate
public ConfiguredDecorator<?> decorate(ConfiguredDecorator<?> configuredDecorator)
- 指定者:
decorate在接口中Decoratable<DC extends DecoratorConfig>- Mappings:
Namespace Name Mixin selector official bLcyk;b(Lcyk;)Lcyk;intermediary method_30446Lnet/minecraft/class_3243;method_30446(Lnet/minecraft/class_3243;)Lnet/minecraft/class_3243;named decorateLnet/minecraft/world/gen/decorator/ConfiguredDecorator;decorate(Lnet/minecraft/world/gen/decorator/ConfiguredDecorator;)Lnet/minecraft/world/gen/decorator/ConfiguredDecorator;
-
getConfig
public DC getConfig()
- Mappings:
Namespace Name Mixin selector official bLcyk;b()Lctx;intermediary method_30445Lnet/minecraft/class_3243;method_30445()Lnet/minecraft/class_2998;named getConfigLnet/minecraft/world/gen/decorator/ConfiguredDecorator;getConfig()Lnet/minecraft/world/gen/decorator/DecoratorConfig;
-
-