Class AlterGroundTreeDecorator
java.lang.Object
net.minecraft.world.gen.treedecorator.TreeDecorator
net.minecraft.world.gen.treedecorator.AlterGroundTreeDecorator
- Mappings:
Namespace Name official deyintermediary net/minecraft/class_4658named net/minecraft/world/gen/treedecorator/AlterGroundTreeDecorator
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<AlterGroundTreeDecorator>private final BlockStateProviderFields inherited from class net.minecraft.world.gen.treedecorator.TreeDecorator
TYPE_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, List<BlockPos> logPositions, List<BlockPos> leavesPositions, List<BlockPos> rootPositions) protected TreeDecoratorType<?>getType()private voidsetArea(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, BlockPos pos) private voidsetColumn(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, BlockPos pos) Methods inherited from class net.minecraft.world.gen.treedecorator.TreeDecorator
placeVine
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLdey;a:Lcom/mojang/serialization/Codec;intermediary field_24957Lnet/minecraft/class_4658;field_24957:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/gen/treedecorator/AlterGroundTreeDecorator;CODEC:Lcom/mojang/serialization/Codec;
-
provider
- Mappings:
Namespace Name Mixin selector official bLdey;b:Lden;intermediary field_21316Lnet/minecraft/class_4658;field_21316:Lnet/minecraft/class_4651;named providerLnet/minecraft/world/gen/treedecorator/AlterGroundTreeDecorator;provider:Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;
-
-
Constructor Details
-
AlterGroundTreeDecorator
- Mappings:
Namespace Name Mixin selector official <init>Ldey;<init>(Lden;)Vintermediary <init>Lnet/minecraft/class_4658;<init>(Lnet/minecraft/class_4651;)Vnamed <init>Lnet/minecraft/world/gen/treedecorator/AlterGroundTreeDecorator;<init>(Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;)V
-
-
Method Details
-
getType
- Specified by:
getTypein classTreeDecorator- Mappings:
Namespace Name Mixin selector official aLdfd;a()Ldfe;intermediary method_28893Lnet/minecraft/class_4662;method_28893()Lnet/minecraft/class_4663;named getTypeLnet/minecraft/world/gen/treedecorator/TreeDecorator;getType()Lnet/minecraft/world/gen/treedecorator/TreeDecoratorType;
-
generate
public void generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, List<BlockPos> logPositions, List<BlockPos> leavesPositions, List<BlockPos> rootPositions) - Specified by:
generatein classTreeDecorator- Mappings:
Namespace Name Mixin selector official aLdfd;a(Lcdy;Ljava/util/function/BiConsumer;Laki;Ljava/util/List;Ljava/util/List;Ljava/util/List;)Vintermediary method_23469Lnet/minecraft/class_4662;method_23469(Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Lnet/minecraft/class_5819;Ljava/util/List;Ljava/util/List;Ljava/util/List;)Vnamed generateLnet/minecraft/world/gen/treedecorator/TreeDecorator;generate(Lnet/minecraft/world/TestableWorld;Ljava/util/function/BiConsumer;Lnet/minecraft/util/math/random/AbstractRandom;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
-
setArea
private void setArea(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, BlockPos pos) - Mappings:
Namespace Name Mixin selector official aLdey;a(Lcdy;Ljava/util/function/BiConsumer;Laki;Lgm;)Vintermediary method_23462Lnet/minecraft/class_4658;method_23462(Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Vnamed setAreaLnet/minecraft/world/gen/treedecorator/AlterGroundTreeDecorator;setArea(Lnet/minecraft/world/TestableWorld;Ljava/util/function/BiConsumer;Lnet/minecraft/util/math/random/AbstractRandom;Lnet/minecraft/util/math/BlockPos;)V
-
setColumn
private void setColumn(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, BlockPos pos) - Mappings:
Namespace Name Mixin selector official bLdey;b(Lcdy;Ljava/util/function/BiConsumer;Laki;Lgm;)Vintermediary method_23463Lnet/minecraft/class_4658;method_23463(Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Vnamed setColumnLnet/minecraft/world/gen/treedecorator/AlterGroundTreeDecorator;setColumn(Lnet/minecraft/world/TestableWorld;Ljava/util/function/BiConsumer;Lnet/minecraft/util/math/random/AbstractRandom;Lnet/minecraft/util/math/BlockPos;)V
-