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 cua
intermediary net/minecraft/class_4658
named net/minecraft/world/gen/tree/AlterGroundTreeDecorator
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<AlterGroundTreeDecorator>
CODEC
private BlockStateProvider
provider
Fields 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 void
generate(StructureWorldAccess world, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions, Set<BlockPos> placedStates, BlockBox box)
protected TreeDecoratorType<?>
getType()
private void
setArea(ModifiableTestableWorld world, Random random, BlockPos pos)
private void
setColumn(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 a
Lcua;a:Lcom/mojang/serialization/Codec;
intermediary field_24957
Lnet/minecraft/class_4658;field_24957:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/tree/AlterGroundTreeDecorator;CODEC:Lcom/mojang/serialization/Codec;
-
provider
- Mappings:
Namespace Name Mixin selector official b
Lcua;b:Lcth;
intermediary field_21316
Lnet/minecraft/class_4658;field_21316:Lnet/minecraft/class_4651;
named provider
Lnet/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;)V
intermediary <init>
Lnet/minecraft/class_4658;<init>(Lnet/minecraft/class_4651;)V
named <init>
Lnet/minecraft/world/gen/tree/AlterGroundTreeDecorator;<init>(Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;)V
-
-
Method Details
-
getType
- Specified by:
getType
in classTreeDecorator
- Mappings:
Namespace Name Mixin selector official a
Lcue;a()Lcuf;
intermediary method_28893
Lnet/minecraft/class_4662;method_28893()Lnet/minecraft/class_4663;
named getType
Lnet/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:
generate
in classTreeDecorator
- Mappings:
Namespace Name Mixin selector official a
Lcue;a(Lbuq;Ljava/util/Random;Ljava/util/List;Ljava/util/List;Ljava/util/Set;Lcwn;)V
intermediary method_23469
Lnet/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;)V
named generate
Lnet/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 a
Lcua;a(Lbua;Ljava/util/Random;Lfx;)V
intermediary method_23462
Lnet/minecraft/class_4658;method_23462(Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_2338;)V
named setArea
Lnet/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 b
Lcua;b(Lbua;Ljava/util/Random;Lfx;)V
intermediary method_23463
Lnet/minecraft/class_4658;method_23463(Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_2338;)V
named setColumn
Lnet/minecraft/world/gen/tree/AlterGroundTreeDecorator;setColumn(Lnet/minecraft/world/ModifiableTestableWorld;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)V
-