Class TwoLayersFeatureSize
java.lang.Object
net.minecraft.world.gen.feature.size.FeatureSize
net.minecraft.world.gen.feature.size.TwoLayersFeatureSize
- Mappings:
- Namespace - Name - named - net/minecraft/world/gen/feature/size/TwoLayersFeatureSize- intermediary - net/minecraft/class_5204- official - ejh
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<TwoLayersFeatureSize> private final intprivate final intprivate final intFields inherited from class net.minecraft.world.gen.feature.size.FeatureSizefield_31522, minClippedHeight, TYPE_CODEC
- 
Constructor SummaryConstructorsConstructorDescriptionTwoLayersFeatureSize(int limit, int lowerSize, int upperSize) TwoLayersFeatureSize(int limit, int lowerSize, int upperSize, OptionalInt minClippedHeight) 
- 
Method SummaryModifier and TypeMethodDescriptionintgetRadius(int height, int y) The radius that the tree needs to be empty or replaceable in order for it to generate.protected FeatureSizeType<?> getType()Methods inherited from class net.minecraft.world.gen.feature.size.FeatureSizecreateCodec, getMinClippedHeight
- 
Field Details- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/world/gen/feature/size/TwoLayersFeatureSize;CODEC:Lcom/mojang/serialization/MapCodec;- intermediary - field_24925- Lnet/minecraft/class_5204;field_24925:Lcom/mojang/serialization/MapCodec;- official - d- Lejh;d:Lcom/mojang/serialization/MapCodec;
 
- 
limitprivate final int limit- Mappings:
- Namespace - Name - Mixin selector - named - limit- Lnet/minecraft/world/gen/feature/size/TwoLayersFeatureSize;limit:I- intermediary - field_24155- Lnet/minecraft/class_5204;field_24155:I- official - e- Lejh;e:I
 
- 
lowerSizeprivate final int lowerSize- Mappings:
- Namespace - Name - Mixin selector - named - lowerSize- Lnet/minecraft/world/gen/feature/size/TwoLayersFeatureSize;lowerSize:I- intermediary - field_24156- Lnet/minecraft/class_5204;field_24156:I- official - f- Lejh;f:I
 
- 
upperSizeprivate final int upperSize- Mappings:
- Namespace - Name - Mixin selector - named - upperSize- Lnet/minecraft/world/gen/feature/size/TwoLayersFeatureSize;upperSize:I- intermediary - field_24157- Lnet/minecraft/class_5204;field_24157:I- official - g- Lejh;g:I
 
 
- 
- 
Constructor Details- 
TwoLayersFeatureSizepublic TwoLayersFeatureSize(int limit, int lowerSize, int upperSize) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/world/gen/feature/size/TwoLayersFeatureSize;<init>(III)V- intermediary - <init>- Lnet/minecraft/class_5204;<init>(III)V- official - <init>- Lejh;<init>(III)V
 
- 
TwoLayersFeatureSize- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/world/gen/feature/size/TwoLayersFeatureSize;<init>(IIILjava/util/OptionalInt;)V- intermediary - <init>- Lnet/minecraft/class_5204;<init>(IIILjava/util/OptionalInt;)V- official - <init>- Lejh;<init>(IIILjava/util/OptionalInt;)V
 
 
- 
- 
Method Details- 
getType- Specified by:
- getTypein class- FeatureSize
- Mappings:
- Namespace - Name - Mixin selector - named - getType- Lnet/minecraft/world/gen/feature/size/FeatureSize;getType()Lnet/minecraft/world/gen/feature/size/FeatureSizeType;- intermediary - method_28824- Lnet/minecraft/class_5201;method_28824()Lnet/minecraft/class_5202;- official - b- Leje;b()Lejf;
 
- 
getRadiuspublic int getRadius(int height, int y) The radius that the tree needs to be empty or replaceable in order for it to generate.- Specified by:
- getRadiusin class- FeatureSize
- Mappings:
- Namespace - Name - Mixin selector - named - getRadius- Lnet/minecraft/world/gen/feature/size/FeatureSize;getRadius(II)I- intermediary - method_27378- Lnet/minecraft/class_5201;method_27378(II)I- official - a- Leje;a(II)I
 
 
-