Package net.minecraft.world.gen.tree
Class AlterGroundTreeDecorator
java.lang.Object
net.minecraft.world.gen.tree.TreeDecorator
net.minecraft.world.gen.tree.AlterGroundTreeDecorator
public class AlterGroundTreeDecorator extends TreeDecorator
- Mappings:
Namespace Name official cuaintermediary net/minecraft/class_4658named net/minecraft/world/gen/tree/AlterGroundTreeDecorator
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<AlterGroundTreeDecorator>CODECprivate BlockStateProviderproviderFields inherited from class net.minecraft.world.gen.tree.TreeDecorator
TYPE_CODEC -
Constructor Summary
Constructors Constructor Description AlterGroundTreeDecorator(BlockStateProvider provider) -
Method Summary
Modifier and Type Method Description voidgenerate(StructureWorldAccess world, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions, Set<BlockPos> placedStates, BlockBox box)protected TreeDecoratorType<?>getType()private voidsetArea(ModifiableTestableWorld world, Random random, BlockPos pos)private voidsetColumn(ModifiableTestableWorld world, Random random, BlockPos pos)Methods inherited from class net.minecraft.world.gen.tree.TreeDecorator
placeVine, setBlockStateAndEncompassPosition
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLcua;a:Lcom/mojang/serialization/Codec;intermediary field_24957Lnet/minecraft/class_4658;field_24957:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/gen/tree/AlterGroundTreeDecorator;CODEC:Lcom/mojang/serialization/Codec;
-
provider
- Mappings:
Namespace Name Mixin selector official bLcua;b:Lcth;intermediary field_21316Lnet/minecraft/class_4658;field_21316:Lnet/minecraft/class_4651;named providerLnet/minecraft/world/gen/tree/AlterGroundTreeDecorator;provider:Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;
-
-
Constructor Details
-
AlterGroundTreeDecorator
- Mappings:
Namespace Name Mixin selector official <init>Lcua;<init>(Lcth;)Vintermediary <init>Lnet/minecraft/class_4658;<init>(Lnet/minecraft/class_4651;)Vnamed <init>Lnet/minecraft/world/gen/tree/AlterGroundTreeDecorator;<init>(Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;)V
-
-
Method Details
-
getType
- Specified by:
getTypein classTreeDecorator- Mappings:
Namespace Name Mixin selector official aLcue;a()Lcuf;intermediary method_28893Lnet/minecraft/class_4662;method_28893()Lnet/minecraft/class_4663;named getTypeLnet/minecraft/world/gen/tree/TreeDecorator;getType()Lnet/minecraft/world/gen/tree/TreeDecoratorType;
-
generate
public void generate(StructureWorldAccess world, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions, Set<BlockPos> placedStates, BlockBox box)- Specified by:
generatein classTreeDecorator- Mappings:
Namespace Name Mixin selector official aLcue;a(Lbuq;Ljava/util/Random;Ljava/util/List;Ljava/util/List;Ljava/util/Set;Lcwn;)Vintermediary method_23469Lnet/minecraft/class_4662;method_23469(Lnet/minecraft/class_5281;Ljava/util/Random;Ljava/util/List;Ljava/util/List;Ljava/util/Set;Lnet/minecraft/class_3341;)Vnamed generateLnet/minecraft/world/gen/tree/TreeDecorator;generate(Lnet/minecraft/world/StructureWorldAccess;Ljava/util/Random;Ljava/util/List;Ljava/util/List;Ljava/util/Set;Lnet/minecraft/util/math/BlockBox;)V
-
setArea
- Mappings:
Namespace Name Mixin selector official aLcua;a(Lbua;Ljava/util/Random;Lfx;)Vintermediary method_23462Lnet/minecraft/class_4658;method_23462(Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_2338;)Vnamed setAreaLnet/minecraft/world/gen/tree/AlterGroundTreeDecorator;setArea(Lnet/minecraft/world/ModifiableTestableWorld;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)V
-
setColumn
- Mappings:
Namespace Name Mixin selector official bLcua;b(Lbua;Ljava/util/Random;Lfx;)Vintermediary method_23463Lnet/minecraft/class_4658;method_23463(Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_2338;)Vnamed setColumnLnet/minecraft/world/gen/tree/AlterGroundTreeDecorator;setColumn(Lnet/minecraft/world/ModifiableTestableWorld;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)V
-