Class TreeDecorator.Generator
java.lang.Object
net.minecraft.world.gen.treedecorator.TreeDecorator.Generator
- Enclosing class:
TreeDecorator
- Mappings:
Namespace Name official doz$a
intermediary net/minecraft/class_4662$class_7402
named net/minecraft/world/gen/treedecorator/TreeDecorator$Generator
-
Field Summary
Modifier 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
ConstructorDescriptionGenerator
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, Set<BlockPos> logPositions, Set<BlockPos> leavesPositions, Set<BlockPos> rootPositions) -
Method Summary
Modifier and TypeMethodDescriptiongetWorld()
boolean
void
replace
(BlockPos pos, BlockState state) void
replaceWithVine
(BlockPos pos, BooleanProperty faceProperty)
-
Field Details
-
world
- Mappings:
Namespace Name Mixin selector official a
Ldoz$a;a:Lcmo;
intermediary field_38872
Lnet/minecraft/class_4662$class_7402;field_38872:Lnet/minecraft/class_3746;
named world
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;world:Lnet/minecraft/world/TestableWorld;
-
replacer
- Mappings:
Namespace Name Mixin selector official b
Ldoz$a;b:Ljava/util/function/BiConsumer;
intermediary field_38873
Lnet/minecraft/class_4662$class_7402;field_38873:Ljava/util/function/BiConsumer;
named replacer
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;replacer:Ljava/util/function/BiConsumer;
-
random
- Mappings:
Namespace Name Mixin selector official c
Ldoz$a;c:Lapo;
intermediary field_38874
Lnet/minecraft/class_4662$class_7402;field_38874:Lnet/minecraft/class_5819;
named random
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;random:Lnet/minecraft/util/math/random/Random;
-
logPositions
- Mappings:
Namespace Name Mixin selector official d
Ldoz$a;d:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
intermediary field_38875
Lnet/minecraft/class_4662$class_7402;field_38875:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
named logPositions
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;logPositions:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
-
leavesPositions
- Mappings:
Namespace Name Mixin selector official e
Ldoz$a;e:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
intermediary field_38876
Lnet/minecraft/class_4662$class_7402;field_38876:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
named leavesPositions
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;leavesPositions:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
-
rootPositions
- Mappings:
Namespace Name Mixin selector official f
Ldoz$a;f:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
intermediary field_38877
Lnet/minecraft/class_4662$class_7402;field_38877:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
named rootPositions
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;rootPositions: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 official <init>
Ldoz$a;<init>(Lcmo;Ljava/util/function/BiConsumer;Lapo;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
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
-
-
Method Details
-
replaceWithVine
- Mappings:
Namespace Name Mixin selector official a
Ldoz$a;a(Lgt;Ldci;)V
intermediary method_43319
Lnet/minecraft/class_4662$class_7402;method_43319(Lnet/minecraft/class_2338;Lnet/minecraft/class_2746;)V
named replaceWithVine
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;replaceWithVine(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/state/property/BooleanProperty;)V
-
replace
- Mappings:
Namespace Name Mixin selector official a
Ldoz$a;a(Lgt;Ldbq;)V
intermediary method_43318
Lnet/minecraft/class_4662$class_7402;method_43318(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named replace
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;replace(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
isAir
- Mappings:
Namespace Name Mixin selector official a
Ldoz$a;a(Lgt;)Z
intermediary method_43317
Lnet/minecraft/class_4662$class_7402;method_43317(Lnet/minecraft/class_2338;)Z
named isAir
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;isAir(Lnet/minecraft/util/math/BlockPos;)Z
-
getWorld
- Mappings:
Namespace Name Mixin selector official a
Ldoz$a;a()Lcmo;
intermediary method_43316
Lnet/minecraft/class_4662$class_7402;method_43316()Lnet/minecraft/class_3746;
named getWorld
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;getWorld()Lnet/minecraft/world/TestableWorld;
-
getRandom
- Mappings:
Namespace Name Mixin selector official b
Ldoz$a;b()Lapo;
intermediary method_43320
Lnet/minecraft/class_4662$class_7402;method_43320()Lnet/minecraft/class_5819;
named getRandom
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;getRandom()Lnet/minecraft/util/math/random/Random;
-
getLogPositions
- Mappings:
Namespace Name Mixin selector official c
Ldoz$a;c()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
intermediary method_43321
Lnet/minecraft/class_4662$class_7402;method_43321()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
named getLogPositions
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;getLogPositions()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
-
getLeavesPositions
- Mappings:
Namespace Name Mixin selector official d
Ldoz$a;d()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
intermediary method_43322
Lnet/minecraft/class_4662$class_7402;method_43322()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
named getLeavesPositions
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;getLeavesPositions()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
-
getRootPositions
- Mappings:
Namespace Name Mixin selector official e
Ldoz$a;e()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
intermediary method_43323
Lnet/minecraft/class_4662$class_7402;method_43323()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
named getRootPositions
Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;getRootPositions()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
-