Class AttachedToLeavesTreeDecorator
java.lang.Object
net.minecraft.world.gen.treedecorator.TreeDecorator
net.minecraft.world.gen.treedecorator.AttachedToLeavesTreeDecorator
- Mappings:
Namespace Name named net/minecraft/world/gen/treedecorator/AttachedToLeavesTreeDecorator
intermediary net/minecraft/class_7389
official ekr
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.gen.treedecorator.TreeDecorator
TreeDecorator.Generator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final BlockStateProvider
static final com.mojang.serialization.MapCodec
<AttachedToLeavesTreeDecorator> protected final int
protected final int
protected final float
protected final int
Fields inherited from class net.minecraft.world.gen.treedecorator.TreeDecorator
TYPE_CODEC
-
Constructor Summary
ConstructorsConstructorDescriptionAttachedToLeavesTreeDecorator
(float probability, int exclusionRadiusXZ, int exclusionRadiusY, BlockStateProvider blockProvider, int requiredEmptyBlocks, List<Direction> directions) -
Method Summary
Modifier and TypeMethodDescriptionvoid
generate
(TreeDecorator.Generator generator) protected TreeDecoratorType
<?> getType()
private boolean
meetsRequiredEmptyBlocks
(TreeDecorator.Generator generator, BlockPos pos, Direction direction)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/world/gen/treedecorator/AttachedToLeavesTreeDecorator;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_38783
Lnet/minecraft/class_7389;field_38783:Lcom/mojang/serialization/MapCodec;
official a
Lekr;a:Lcom/mojang/serialization/MapCodec;
-
probability
protected final float probability- Mappings:
Namespace Name Mixin selector named probability
Lnet/minecraft/world/gen/treedecorator/AttachedToLeavesTreeDecorator;probability:F
intermediary field_38784
Lnet/minecraft/class_7389;field_38784:F
official b
Lekr;b:F
-
exclusionRadiusXZ
protected final int exclusionRadiusXZ- Mappings:
Namespace Name Mixin selector named exclusionRadiusXZ
Lnet/minecraft/world/gen/treedecorator/AttachedToLeavesTreeDecorator;exclusionRadiusXZ:I
intermediary field_38785
Lnet/minecraft/class_7389;field_38785:I
official c
Lekr;c:I
-
exclusionRadiusY
protected final int exclusionRadiusY- Mappings:
Namespace Name Mixin selector named exclusionRadiusY
Lnet/minecraft/world/gen/treedecorator/AttachedToLeavesTreeDecorator;exclusionRadiusY:I
intermediary field_38786
Lnet/minecraft/class_7389;field_38786:I
official d
Lekr;d:I
-
blockProvider
- Mappings:
Namespace Name Mixin selector named blockProvider
Lnet/minecraft/world/gen/treedecorator/AttachedToLeavesTreeDecorator;blockProvider:Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;
intermediary field_38787
Lnet/minecraft/class_7389;field_38787:Lnet/minecraft/class_4651;
official e
Lekr;e:Leke;
-
requiredEmptyBlocks
protected final int requiredEmptyBlocks- Mappings:
Namespace Name Mixin selector named requiredEmptyBlocks
Lnet/minecraft/world/gen/treedecorator/AttachedToLeavesTreeDecorator;requiredEmptyBlocks:I
intermediary field_38788
Lnet/minecraft/class_7389;field_38788:I
official f
Lekr;f:I
-
directions
- Mappings:
Namespace Name Mixin selector named directions
Lnet/minecraft/world/gen/treedecorator/AttachedToLeavesTreeDecorator;directions:Ljava/util/List;
intermediary field_38789
Lnet/minecraft/class_7389;field_38789:Ljava/util/List;
official g
Lekr;g:Ljava/util/List;
-
-
Constructor Details
-
AttachedToLeavesTreeDecorator
public AttachedToLeavesTreeDecorator(float probability, int exclusionRadiusXZ, int exclusionRadiusY, BlockStateProvider blockProvider, int requiredEmptyBlocks, List<Direction> directions) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/gen/treedecorator/AttachedToLeavesTreeDecorator;<init>(FIILnet/minecraft/world/gen/stateprovider/BlockStateProvider;ILjava/util/List;)V
intermediary <init>
Lnet/minecraft/class_7389;<init>(FIILnet/minecraft/class_4651;ILjava/util/List;)V
official <init>
Lekr;<init>(FIILeke;ILjava/util/List;)V
-
-
Method Details
-
generate
- Specified by:
generate
in classTreeDecorator
- Mappings:
Namespace Name Mixin selector named generate
Lnet/minecraft/world/gen/treedecorator/TreeDecorator;generate(Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;)V
intermediary method_23469
Lnet/minecraft/class_4662;method_23469(Lnet/minecraft/class_4662$class_7402;)V
official a
Lekx;a(Lekx$a;)V
-
meetsRequiredEmptyBlocks
private boolean meetsRequiredEmptyBlocks(TreeDecorator.Generator generator, BlockPos pos, Direction direction) - Mappings:
Namespace Name Mixin selector named meetsRequiredEmptyBlocks
Lnet/minecraft/world/gen/treedecorator/AttachedToLeavesTreeDecorator;meetsRequiredEmptyBlocks(Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
intermediary method_43187
Lnet/minecraft/class_7389;method_43187(Lnet/minecraft/class_4662$class_7402;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
official a
Lekr;a(Lekx$a;Lji;Ljn;)Z
-
getType
- Specified by:
getType
in classTreeDecorator
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/world/gen/treedecorator/TreeDecorator;getType()Lnet/minecraft/world/gen/treedecorator/TreeDecoratorType;
intermediary method_28893
Lnet/minecraft/class_4662;method_28893()Lnet/minecraft/class_4663;
official a
Lekx;a()Leky;
-