类 ThreeLayersFeatureSize
- java.lang.Object
-
- net.minecraft.world.gen.feature.size.FeatureSize
-
- net.minecraft.world.gen.feature.size.ThreeLayersFeatureSize
-
public class ThreeLayersFeatureSize extends FeatureSize
- Mappings:
Namespace Name official cvointermediary net/minecraft/class_5203named net/minecraft/world/gen/feature/size/ThreeLayersFeatureSize
-
-
字段概要
字段 修饰符和类型 字段 说明 static com.mojang.serialization.Codec<ThreeLayersFeatureSize>CODECprivate intlimitprivate intlowerSizeprivate intmiddleSizeprivate intupperLimitprivate intupperSize-
从类继承的字段 net.minecraft.world.gen.feature.size.FeatureSize
field_31522, minClippedHeight, TYPE_CODEC
-
-
构造器概要
构造器 构造器 说明 ThreeLayersFeatureSize(int limit, int upperLimit, int lowerSize, int middleSize, 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<ThreeLayersFeatureSize> CODEC
- Mappings:
Namespace Name Mixin selector official dLcvo;d:Lcom/mojang/serialization/Codec;intermediary field_24924Lnet/minecraft/class_5203;field_24924:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/gen/feature/size/ThreeLayersFeatureSize;CODEC:Lcom/mojang/serialization/Codec;
-
limit
private final int limit
- Mappings:
Namespace Name Mixin selector official eLcvo;e:Iintermediary field_24150Lnet/minecraft/class_5203;field_24150:Inamed limitLnet/minecraft/world/gen/feature/size/ThreeLayersFeatureSize;limit:I
-
upperLimit
private final int upperLimit
- Mappings:
Namespace Name Mixin selector official fLcvo;f:Iintermediary field_24151Lnet/minecraft/class_5203;field_24151:Inamed upperLimitLnet/minecraft/world/gen/feature/size/ThreeLayersFeatureSize;upperLimit:I
-
lowerSize
private final int lowerSize
- Mappings:
Namespace Name Mixin selector official gLcvo;g:Iintermediary field_24152Lnet/minecraft/class_5203;field_24152:Inamed lowerSizeLnet/minecraft/world/gen/feature/size/ThreeLayersFeatureSize;lowerSize:I
-
middleSize
private final int middleSize
- Mappings:
Namespace Name Mixin selector official hLcvo;h:Iintermediary field_24153Lnet/minecraft/class_5203;field_24153:Inamed middleSizeLnet/minecraft/world/gen/feature/size/ThreeLayersFeatureSize;middleSize:I
-
upperSize
private final int upperSize
- Mappings:
Namespace Name Mixin selector official iLcvo;i:Iintermediary field_24154Lnet/minecraft/class_5203;field_24154:Inamed upperSizeLnet/minecraft/world/gen/feature/size/ThreeLayersFeatureSize;upperSize:I
-
-
构造器详细资料
-
ThreeLayersFeatureSize
public ThreeLayersFeatureSize(int limit, int upperLimit, int lowerSize, int middleSize, int upperSize, OptionalInt minClippedHeight)- Mappings:
Namespace Name Mixin selector official <init>Lcvo;<init>(IIIIILjava/util/OptionalInt;)Vintermediary <init>Lnet/minecraft/class_5203;<init>(IIIIILjava/util/OptionalInt;)Vnamed <init>Lnet/minecraft/world/gen/feature/size/ThreeLayersFeatureSize;<init>(IIIIILjava/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
-
-