Class TreeDecorator.Generator
java.lang.Object
net.minecraft.world.gen.treedecorator.TreeDecorator.Generator
- Enclosing class:
TreeDecorator
- Mappings:
Namespace Name named net/minecraft/world/gen/treedecorator/TreeDecorator$Generator
intermediary net/minecraft/class_4662$class_7402
official ekx$a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ObjectArrayList
<BlockPos> private final ObjectArrayList
<BlockPos> private final Random
private final BiConsumer
<BlockPos, BlockState> private final ObjectArrayList
<BlockPos> private final TestableWorld
-
Constructor Summary
ConstructorsConstructorDescriptionGenerator
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, Set<BlockPos> logPositions, Set<BlockPos> leavesPositions, Set<BlockPos> rootPositions) -
Method Summary
Modifier and TypeMethodDescriptiongetWorld()
boolean
boolean
matches
(BlockPos pos, Predicate<BlockState> statePredicate) void
replace
(BlockPos pos, BlockState state) void
replaceWithVine
(BlockPos pos, BooleanProperty faceProperty)
-
Field Details
-
world
- Mappings:
Namespace Name Mixin selector named world
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;world:Lnet/minecraft/world/TestableWorld;
intermediary field_38872
Lnet/minecraft/class_4662$class_7402;field_38872:Lnet/minecraft/class_3746;
official a
Lekx$a;a:Ldgp;
-
replacer
- Mappings:
Namespace Name Mixin selector named replacer
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;replacer:Ljava/util/function/BiConsumer;
intermediary field_38873
Lnet/minecraft/class_4662$class_7402;field_38873:Ljava/util/function/BiConsumer;
official b
Lekx$a;b:Ljava/util/function/BiConsumer;
-
random
- Mappings:
Namespace Name Mixin selector named random
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;random:Lnet/minecraft/util/math/random/Random;
intermediary field_38874
Lnet/minecraft/class_4662$class_7402;field_38874:Lnet/minecraft/class_5819;
official c
Lekx$a;c:Lazh;
-
logPositions
- Mappings:
Namespace Name Mixin selector named logPositions
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;logPositions:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
intermediary field_38875
Lnet/minecraft/class_4662$class_7402;field_38875:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
official d
Lekx$a;d:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
-
leavesPositions
- Mappings:
Namespace Name Mixin selector named leavesPositions
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;leavesPositions:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
intermediary field_38876
Lnet/minecraft/class_4662$class_7402;field_38876:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
official e
Lekx$a;e:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
-
rootPositions
- Mappings:
Namespace Name Mixin selector named rootPositions
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;rootPositions:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
intermediary field_38877
Lnet/minecraft/class_4662$class_7402;field_38877:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
official f
Lekx$a;f:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
-
-
Constructor Details
-
Generator
public Generator(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, Set<BlockPos> logPositions, Set<BlockPos> leavesPositions, Set<BlockPos> rootPositions) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;<init>(Lnet/minecraft/world/TestableWorld;Ljava/util/function/BiConsumer;Lnet/minecraft/util/math/random/Random;Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;)V
intermediary <init>
Lnet/minecraft/class_4662$class_7402;<init>(Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Lnet/minecraft/class_5819;Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;)V
official <init>
Lekx$a;<init>(Ldgp;Ljava/util/function/BiConsumer;Lazh;Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;)V
-
-
Method Details
-
replaceWithVine
- Mappings:
Namespace Name Mixin selector named replaceWithVine
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;replaceWithVine(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/state/property/BooleanProperty;)V
intermediary method_43319
Lnet/minecraft/class_4662$class_7402;method_43319(Lnet/minecraft/class_2338;Lnet/minecraft/class_2746;)V
official a
Lekx$a;a(Lji;Ldxp;)V
-
replace
- Mappings:
Namespace Name Mixin selector named replace
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;replace(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
intermediary method_43318
Lnet/minecraft/class_4662$class_7402;method_43318(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
official a
Lekx$a;a(Lji;Ldwy;)V
-
isAir
- Mappings:
Namespace Name Mixin selector named isAir
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;isAir(Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_43317
Lnet/minecraft/class_4662$class_7402;method_43317(Lnet/minecraft/class_2338;)Z
official a
Lekx$a;a(Lji;)Z
-
matches
- Mappings:
Namespace Name Mixin selector named matches
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;matches(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;)Z
intermediary method_64820
Lnet/minecraft/class_4662$class_7402;method_64820(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;)Z
official a
Lekx$a;a(Lji;Ljava/util/function/Predicate;)Z
-
getWorld
- Mappings:
Namespace Name Mixin selector named getWorld
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;getWorld()Lnet/minecraft/world/TestableWorld;
intermediary method_43316
Lnet/minecraft/class_4662$class_7402;method_43316()Lnet/minecraft/class_3746;
official a
Lekx$a;a()Ldgp;
-
getRandom
- Mappings:
Namespace Name Mixin selector named getRandom
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;getRandom()Lnet/minecraft/util/math/random/Random;
intermediary method_43320
Lnet/minecraft/class_4662$class_7402;method_43320()Lnet/minecraft/class_5819;
official b
Lekx$a;b()Lazh;
-
getLogPositions
- Mappings:
Namespace Name Mixin selector named getLogPositions
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;getLogPositions()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
intermediary method_43321
Lnet/minecraft/class_4662$class_7402;method_43321()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
official c
Lekx$a;c()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
-
getLeavesPositions
- Mappings:
Namespace Name Mixin selector named getLeavesPositions
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;getLeavesPositions()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
intermediary method_43322
Lnet/minecraft/class_4662$class_7402;method_43322()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
official d
Lekx$a;d()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
-
getRootPositions
- Mappings:
Namespace Name Mixin selector named getRootPositions
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;getRootPositions()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
intermediary method_43323
Lnet/minecraft/class_4662$class_7402;method_43323()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
official e
Lekx$a;e()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
-