Package net.minecraft
Class class_7390
java.lang.Object
net.minecraft.world.gen.trunk.TrunkPlacer
net.minecraft.class_7390
- Mappings:
Namespace Name official dfqintermediary net/minecraft/class_7390named net/minecraft/class_7390
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_7390>private final IntProviderprivate final floatprivate final IntProviderprivate final RegistryEntryList<Block>Fields inherited from class net.minecraft.world.gen.trunk.TrunkPlacer
baseHeight, field_31530, firstRandomHeight, secondRandomHeight, TYPE_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionclass_7390(int int2, int int3, int int4, IntProvider intProvider, float float2, IntProvider intProvider2, RegistryEntryList<Block> registryEntryList) -
Method Summary
Modifier and TypeMethodDescriptiongenerate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundprotected TrunkPlacerType<?>getType()protected booleanmethod_43196(TestableWorld testableWorld, BlockPos blockPos) private voidmethod_43199(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, int int2, TreeFeatureConfig treeFeatureConfig, List<FoliagePlacer.TreeNode> list, BlockPos.Mutable mutable, int int3, Direction direction, int int4, int int5) Methods inherited from class net.minecraft.world.gen.trunk.TrunkPlacer
fillTrunkPlacerFields, getAndSetState, getAndSetState, getHeight, method_43198, setToDirt, trySetState
-
Field Details
-
field_38793
- Mappings:
Namespace Name Mixin selector official aLdfq;a:Lcom/mojang/serialization/Codec;intermediary field_38793Lnet/minecraft/class_7390;field_38793:Lcom/mojang/serialization/Codec;named field_38793Lnet/minecraft/class_7390;field_38793:Lcom/mojang/serialization/Codec;
-
field_38794
- Mappings:
Namespace Name Mixin selector official bLdfq;b:Lawt;intermediary field_38794Lnet/minecraft/class_7390;field_38794:Lnet/minecraft/class_6017;named field_38794Lnet/minecraft/class_7390;field_38794:Lnet/minecraft/util/math/intprovider/IntProvider;
-
field_38795
private final float field_38795- Mappings:
Namespace Name Mixin selector official hLdfq;h:Fintermediary field_38795Lnet/minecraft/class_7390;field_38795:Fnamed field_38795Lnet/minecraft/class_7390;field_38795:F
-
field_38796
- Mappings:
Namespace Name Mixin selector official iLdfq;i:Lawt;intermediary field_38796Lnet/minecraft/class_7390;field_38796:Lnet/minecraft/class_6017;named field_38796Lnet/minecraft/class_7390;field_38796:Lnet/minecraft/util/math/intprovider/IntProvider;
-
field_38797
- Mappings:
Namespace Name Mixin selector official jLdfq;j:Lgx;intermediary field_38797Lnet/minecraft/class_7390;field_38797:Lnet/minecraft/class_6885;named field_38797Lnet/minecraft/class_7390;field_38797:Lnet/minecraft/util/registry/RegistryEntryList;
-
-
Constructor Details
-
class_7390
public class_7390(int int2, int int3, int int4, IntProvider intProvider, float float2, IntProvider intProvider2, RegistryEntryList<Block> registryEntryList)
-
-
Method Details
-
getType
- Specified by:
getTypein classTrunkPlacer- Mappings:
Namespace Name Mixin selector official aLdfo;a()Ldfp;intermediary method_28903Lnet/minecraft/class_5141;method_28903()Lnet/minecraft/class_5142;named getTypeLnet/minecraft/world/gen/trunk/TrunkPlacer;getType()Lnet/minecraft/world/gen/trunk/TrunkPlacerType;
-
generate
public List<FoliagePlacer.TreeNode> generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage around- Specified by:
generatein classTrunkPlacer- Mappings:
Namespace Name Mixin selector official aLdfo;a(Lcdy;Ljava/util/function/BiConsumer;Laki;ILgm;Lddm;)Ljava/util/List;intermediary method_26991Lnet/minecraft/class_5141;method_26991(Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Lnet/minecraft/class_5819;ILnet/minecraft/class_2338;Lnet/minecraft/class_4643;)Ljava/util/List;named generateLnet/minecraft/world/gen/trunk/TrunkPlacer;generate(Lnet/minecraft/world/TestableWorld;Ljava/util/function/BiConsumer;Lnet/minecraft/world/gen/random/AbstractRandom;ILnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/gen/feature/TreeFeatureConfig;)Ljava/util/List;
-
method_43199
private void method_43199(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, int int2, TreeFeatureConfig treeFeatureConfig, List<FoliagePlacer.TreeNode> list, BlockPos.Mutable mutable, int int3, Direction direction, int int4, int int5) - Mappings:
Namespace Name Mixin selector official aLdfq;a(Lcdy;Ljava/util/function/BiConsumer;Laki;ILddm;Ljava/util/List;Lgm$a;ILgr;II)Vintermediary method_43199Lnet/minecraft/class_7390;method_43199(Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Lnet/minecraft/class_5819;ILnet/minecraft/class_4643;Ljava/util/List;Lnet/minecraft/class_2338$class_2339;ILnet/minecraft/class_2350;II)Vnamed method_43199Lnet/minecraft/class_7390;method_43199(Lnet/minecraft/world/TestableWorld;Ljava/util/function/BiConsumer;Lnet/minecraft/world/gen/random/AbstractRandom;ILnet/minecraft/world/gen/feature/TreeFeatureConfig;Ljava/util/List;Lnet/minecraft/util/math/BlockPos$Mutable;ILnet/minecraft/util/math/Direction;II)V
-
method_43196
- Overrides:
method_43196in classTrunkPlacer- Mappings:
Namespace Name Mixin selector official aLdfo;a(Lcdy;Lgm;)Zintermediary method_43196Lnet/minecraft/class_5141;method_43196(Lnet/minecraft/class_3746;Lnet/minecraft/class_2338;)Znamed method_43196Lnet/minecraft/world/gen/trunk/TrunkPlacer;method_43196(Lnet/minecraft/world/TestableWorld;Lnet/minecraft/util/math/BlockPos;)Z
-