类 TwoLayersFeatureSize
- java.lang.Object
-
- net.minecraft.world.gen.feature.size.FeatureSize
-
- net.minecraft.world.gen.feature.size.TwoLayersFeatureSize
-
public class TwoLayersFeatureSize extends FeatureSize
- Mappings:
Namespace Name official cvpintermediary net/minecraft/class_5204named net/minecraft/world/gen/feature/size/TwoLayersFeatureSize
-
-
字段概要
字段 修饰符和类型 字段 说明 static com.mojang.serialization.Codec<TwoLayersFeatureSize>CODECprivate intlimitprivate intlowerSizeprivate intupperSize-
从类继承的字段 net.minecraft.world.gen.feature.size.FeatureSize
field_31522, minClippedHeight, TYPE_CODEC
-
-
构造器概要
构造器 构造器 说明 TwoLayersFeatureSize(int limit, int lowerSize, int upperSize)TwoLayersFeatureSize(int limit, int lowerSize, int upperSize, OptionalInt minClippedHeight)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetRadius(int height, int y)The radius that the tree needs to be empty or replaceable in order for it to generate.protected FeatureSizeType<?>getType()-
从类继承的方法 net.minecraft.world.gen.feature.size.FeatureSize
createCodec, getMinClippedHeight
-
-
-
-
字段详细资料
-
CODEC
public static final com.mojang.serialization.Codec<TwoLayersFeatureSize> CODEC
- Mappings:
Namespace Name Mixin selector official dLcvp;d:Lcom/mojang/serialization/Codec;intermediary field_24925Lnet/minecraft/class_5204;field_24925:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/gen/feature/size/TwoLayersFeatureSize;CODEC:Lcom/mojang/serialization/Codec;
-
limit
private final int limit
- Mappings:
Namespace Name Mixin selector official eLcvp;e:Iintermediary field_24155Lnet/minecraft/class_5204;field_24155:Inamed limitLnet/minecraft/world/gen/feature/size/TwoLayersFeatureSize;limit:I
-
lowerSize
private final int lowerSize
- Mappings:
Namespace Name Mixin selector official fLcvp;f:Iintermediary field_24156Lnet/minecraft/class_5204;field_24156:Inamed lowerSizeLnet/minecraft/world/gen/feature/size/TwoLayersFeatureSize;lowerSize:I
-
upperSize
private final int upperSize
- Mappings:
Namespace Name Mixin selector official gLcvp;g:Iintermediary field_24157Lnet/minecraft/class_5204;field_24157:Inamed upperSizeLnet/minecraft/world/gen/feature/size/TwoLayersFeatureSize;upperSize:I
-
-
构造器详细资料
-
TwoLayersFeatureSize
public TwoLayersFeatureSize(int limit, int lowerSize, int upperSize)- Mappings:
Namespace Name Mixin selector official <init>Lcvp;<init>(III)Vintermediary <init>Lnet/minecraft/class_5204;<init>(III)Vnamed <init>Lnet/minecraft/world/gen/feature/size/TwoLayersFeatureSize;<init>(III)V
-
TwoLayersFeatureSize
public TwoLayersFeatureSize(int limit, int lowerSize, int upperSize, OptionalInt minClippedHeight)- Mappings:
Namespace Name Mixin selector official <init>Lcvp;<init>(IIILjava/util/OptionalInt;)Vintermediary <init>Lnet/minecraft/class_5204;<init>(IIILjava/util/OptionalInt;)Vnamed <init>Lnet/minecraft/world/gen/feature/size/TwoLayersFeatureSize;<init>(IIILjava/util/OptionalInt;)V
-
-
方法详细资料
-
getType
protected FeatureSizeType<?> getType()
- 指定者:
getType在类中FeatureSize- Mappings:
Namespace Name Mixin selector official bLcvm;b()Lcvn;intermediary method_28824Lnet/minecraft/class_5201;method_28824()Lnet/minecraft/class_5202;named getTypeLnet/minecraft/world/gen/feature/size/FeatureSize;getType()Lnet/minecraft/world/gen/feature/size/FeatureSizeType;
-
getRadius
public int getRadius(int height, int y)The radius that the tree needs to be empty or replaceable in order for it to generate.- 指定者:
getRadius在类中FeatureSize- Mappings:
Namespace Name Mixin selector official aLcvm;a(II)Iintermediary method_27378Lnet/minecraft/class_5201;method_27378(II)Inamed getRadiusLnet/minecraft/world/gen/feature/size/FeatureSize;getRadius(II)I
-
-