Class ThreeLayersFeatureSize
java.lang.Object
net.minecraft.world.gen.feature.size.FeatureSize
net.minecraft.world.gen.feature.size.ThreeLayersFeatureSize
- Mappings:
Namespace Name named net/minecraft/world/gen/feature/size/ThreeLayersFeatureSize
intermediary net/minecraft/class_5203
official eeg
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<ThreeLayersFeatureSize> private final int
private final int
private final int
private final int
private final int
Fields inherited from class net.minecraft.world.gen.feature.size.FeatureSize
field_31522, minClippedHeight, TYPE_CODEC
-
Constructor Summary
ConstructorDescriptionThreeLayersFeatureSize
(int limit, int upperLimit, int lowerSize, int middleSize, int upperSize, OptionalInt minClippedHeight) -
Method Summary
Modifier and TypeMethodDescriptionint
getRadius
(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.FeatureSize
createCodec, getMinClippedHeight
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/world/gen/feature/size/ThreeLayersFeatureSize;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_24924
Lnet/minecraft/class_5203;field_24924:Lcom/mojang/serialization/MapCodec;
official d
Leeg;d:Lcom/mojang/serialization/MapCodec;
-
limit
private final int limit- Mappings:
Namespace Name Mixin selector named limit
Lnet/minecraft/world/gen/feature/size/ThreeLayersFeatureSize;limit:I
intermediary field_24150
Lnet/minecraft/class_5203;field_24150:I
official e
Leeg;e:I
-
upperLimit
private final int upperLimit- Mappings:
Namespace Name Mixin selector named upperLimit
Lnet/minecraft/world/gen/feature/size/ThreeLayersFeatureSize;upperLimit:I
intermediary field_24151
Lnet/minecraft/class_5203;field_24151:I
official f
Leeg;f:I
-
lowerSize
private final int lowerSize- Mappings:
Namespace Name Mixin selector named lowerSize
Lnet/minecraft/world/gen/feature/size/ThreeLayersFeatureSize;lowerSize:I
intermediary field_24152
Lnet/minecraft/class_5203;field_24152:I
official g
Leeg;g:I
-
middleSize
private final int middleSize- Mappings:
Namespace Name Mixin selector named middleSize
Lnet/minecraft/world/gen/feature/size/ThreeLayersFeatureSize;middleSize:I
intermediary field_24153
Lnet/minecraft/class_5203;field_24153:I
official h
Leeg;h:I
-
upperSize
private final int upperSize- Mappings:
Namespace Name Mixin selector named upperSize
Lnet/minecraft/world/gen/feature/size/ThreeLayersFeatureSize;upperSize:I
intermediary field_24154
Lnet/minecraft/class_5203;field_24154:I
official i
Leeg;i:I
-
-
Constructor Details
-
ThreeLayersFeatureSize
public ThreeLayersFeatureSize(int limit, int upperLimit, int lowerSize, int middleSize, int upperSize, OptionalInt minClippedHeight) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/gen/feature/size/ThreeLayersFeatureSize;<init>(IIIIILjava/util/OptionalInt;)V
intermediary <init>
Lnet/minecraft/class_5203;<init>(IIIIILjava/util/OptionalInt;)V
official <init>
Leeg;<init>(IIIIILjava/util/OptionalInt;)V
-
-
Method Details
-
getType
- Specified by:
getType
in classFeatureSize
- 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
Leee;b()Leef;
-
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.- Specified by:
getRadius
in classFeatureSize
- 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
Leee;a(II)I
-