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$Generatorintermediary net/minecraft/class_4662$class_7402official fbq$a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ObjectArrayList<BlockPos> private final ObjectArrayList<BlockPos> private final Randomprivate 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()booleanbooleanmatches(BlockPos pos, Predicate<BlockState> statePredicate) voidreplace(BlockPos pos, BlockState state) voidreplaceWithVine(BlockPos pos, BooleanProperty faceProperty)
-
Field Details
-
world
- Mappings:
Namespace Name Mixin selector named worldLnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;world:Lnet/minecraft/world/TestableWorld;intermediary field_38872Lnet/minecraft/class_4662$class_7402;field_38872:Lnet/minecraft/class_3746;official aLfbq$a;a:Ldvm;
-
replacer
- Mappings:
Namespace Name Mixin selector named replacerLnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;replacer:Ljava/util/function/BiConsumer;intermediary field_38873Lnet/minecraft/class_4662$class_7402;field_38873:Ljava/util/function/BiConsumer;official bLfbq$a;b:Ljava/util/function/BiConsumer;
-
random
- Mappings:
Namespace Name Mixin selector named randomLnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;random:Lnet/minecraft/util/math/random/Random;intermediary field_38874Lnet/minecraft/class_4662$class_7402;field_38874:Lnet/minecraft/class_5819;official cLfbq$a;c:Lbgq;
-
logPositions
- Mappings:
Namespace Name Mixin selector named logPositionsLnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;logPositions:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;intermediary field_38875Lnet/minecraft/class_4662$class_7402;field_38875:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;official dLfbq$a;d:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
-
leavesPositions
- Mappings:
Namespace Name Mixin selector named leavesPositionsLnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;leavesPositions:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;intermediary field_38876Lnet/minecraft/class_4662$class_7402;field_38876:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;official eLfbq$a;e:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
-
rootPositions
- Mappings:
Namespace Name Mixin selector named rootPositionsLnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;rootPositions:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;intermediary field_38877Lnet/minecraft/class_4662$class_7402;field_38877:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;official fLfbq$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;)Vintermediary <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;)Vofficial <init>Lfbq$a;<init>(Ldvm;Ljava/util/function/BiConsumer;Lbgq;Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;)V
-
-
Method Details
-
replaceWithVine
- Mappings:
Namespace Name Mixin selector named replaceWithVineLnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;replaceWithVine(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/state/property/BooleanProperty;)Vintermediary method_43319Lnet/minecraft/class_4662$class_7402;method_43319(Lnet/minecraft/class_2338;Lnet/minecraft/class_2746;)Vofficial aLfbq$a;a(Lis;Lenq;)V
-
replace
- Mappings:
Namespace Name Mixin selector named replaceLnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;replace(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Vintermediary method_43318Lnet/minecraft/class_4662$class_7402;method_43318(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vofficial aLfbq$a;a(Lis;Lemz;)V
-
isAir
- Mappings:
Namespace Name Mixin selector named isAirLnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;isAir(Lnet/minecraft/util/math/BlockPos;)Zintermediary method_43317Lnet/minecraft/class_4662$class_7402;method_43317(Lnet/minecraft/class_2338;)Zofficial aLfbq$a;a(Lis;)Z
-
matches
- Mappings:
Namespace Name Mixin selector named matchesLnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;matches(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;)Zintermediary method_64820Lnet/minecraft/class_4662$class_7402;method_64820(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;)Zofficial aLfbq$a;a(Lis;Ljava/util/function/Predicate;)Z
-
getWorld
- Mappings:
Namespace Name Mixin selector named getWorldLnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;getWorld()Lnet/minecraft/world/TestableWorld;intermediary method_43316Lnet/minecraft/class_4662$class_7402;method_43316()Lnet/minecraft/class_3746;official aLfbq$a;a()Ldvm;
-
getRandom
- Mappings:
Namespace Name Mixin selector named getRandomLnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;getRandom()Lnet/minecraft/util/math/random/Random;intermediary method_43320Lnet/minecraft/class_4662$class_7402;method_43320()Lnet/minecraft/class_5819;official bLfbq$a;b()Lbgq;
-
getLogPositions
- Mappings:
Namespace Name Mixin selector named getLogPositionsLnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;getLogPositions()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;intermediary method_43321Lnet/minecraft/class_4662$class_7402;method_43321()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;official cLfbq$a;c()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
-
getLeavesPositions
- Mappings:
Namespace Name Mixin selector named getLeavesPositionsLnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;getLeavesPositions()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;intermediary method_43322Lnet/minecraft/class_4662$class_7402;method_43322()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;official dLfbq$a;d()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
-
getRootPositions
- Mappings:
Namespace Name Mixin selector named getRootPositionsLnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;getRootPositions()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;intermediary method_43323Lnet/minecraft/class_4662$class_7402;method_43323()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;official eLfbq$a;e()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
-