Class AlterGroundTreeDecorator
java.lang.Object
net.minecraft.world.gen.treedecorator.TreeDecorator
net.minecraft.world.gen.treedecorator.AlterGroundTreeDecorator
- Mappings:
Namespace Name official cxlintermediary net/minecraft/class_4658named net/minecraft/world/gen/treedecorator/AlterGroundTreeDecorator
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<AlterGroundTreeDecorator>private 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, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions)protected TreeDecoratorType<?>getType()private voidsetArea(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos pos)private voidsetColumn(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos pos)Methods inherited from class net.minecraft.world.gen.treedecorator.TreeDecorator
placeVine
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLcxl;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 bLcxl;b:Lcwr;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>Lcxl;<init>(Lcwr;)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 aLcxp;a()Lcxq;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, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions)- Specified by:
generatein classTreeDecorator- Mappings:
Namespace Name Mixin selector official aLcxp;a(Lbwe;Ljava/util/function/BiConsumer;Ljava/util/Random;Ljava/util/List;Ljava/util/List;)Vintermediary method_23469Lnet/minecraft/class_4662;method_23469(Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Ljava/util/Random;Ljava/util/List;Ljava/util/List;)Vnamed generateLnet/minecraft/world/gen/treedecorator/TreeDecorator;generate(Lnet/minecraft/world/TestableWorld;Ljava/util/function/BiConsumer;Ljava/util/Random;Ljava/util/List;Ljava/util/List;)V
-
setArea
private void setArea(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos pos)- Mappings:
Namespace Name Mixin selector official aLcxl;a(Lbwe;Ljava/util/function/BiConsumer;Ljava/util/Random;Lgb;)Vintermediary method_23462Lnet/minecraft/class_4658;method_23462(Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Ljava/util/Random;Lnet/minecraft/class_2338;)Vnamed setAreaLnet/minecraft/world/gen/treedecorator/AlterGroundTreeDecorator;setArea(Lnet/minecraft/world/TestableWorld;Ljava/util/function/BiConsumer;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)V
-
setColumn
private void setColumn(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos pos)- Mappings:
Namespace Name Mixin selector official bLcxl;b(Lbwe;Ljava/util/function/BiConsumer;Ljava/util/Random;Lgb;)Vintermediary method_23463Lnet/minecraft/class_4658;method_23463(Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Ljava/util/Random;Lnet/minecraft/class_2338;)Vnamed setColumnLnet/minecraft/world/gen/treedecorator/AlterGroundTreeDecorator;setColumn(Lnet/minecraft/world/TestableWorld;Ljava/util/function/BiConsumer;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)V
-