Package net.minecraft
Class class_7390
java.lang.Object
net.minecraft.world.gen.trunk.TrunkPlacer
net.minecraft.class_7390
- Mappings:
Namespace Name official dfq
intermediary net/minecraft/class_7390
named net/minecraft/class_7390
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_7390>
private final IntProvider
private final float
private final IntProvider
private 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 boolean
method_43196
(TestableWorld testableWorld, BlockPos blockPos) 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) 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 a
Ldfq;a:Lcom/mojang/serialization/Codec;
intermediary field_38793
Lnet/minecraft/class_7390;field_38793:Lcom/mojang/serialization/Codec;
named field_38793
Lnet/minecraft/class_7390;field_38793:Lcom/mojang/serialization/Codec;
-
field_38794
- Mappings:
Namespace Name Mixin selector official b
Ldfq;b:Lawt;
intermediary field_38794
Lnet/minecraft/class_7390;field_38794:Lnet/minecraft/class_6017;
named field_38794
Lnet/minecraft/class_7390;field_38794:Lnet/minecraft/util/math/intprovider/IntProvider;
-
field_38795
private final float field_38795- Mappings:
Namespace Name Mixin selector official h
Ldfq;h:F
intermediary field_38795
Lnet/minecraft/class_7390;field_38795:F
named field_38795
Lnet/minecraft/class_7390;field_38795:F
-
field_38796
- Mappings:
Namespace Name Mixin selector official i
Ldfq;i:Lawt;
intermediary field_38796
Lnet/minecraft/class_7390;field_38796:Lnet/minecraft/class_6017;
named field_38796
Lnet/minecraft/class_7390;field_38796:Lnet/minecraft/util/math/intprovider/IntProvider;
-
field_38797
- Mappings:
Namespace Name Mixin selector official j
Ldfq;j:Lgx;
intermediary field_38797
Lnet/minecraft/class_7390;field_38797:Lnet/minecraft/class_6885;
named field_38797
Lnet/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:
getType
in classTrunkPlacer
- Mappings:
Namespace Name Mixin selector official a
Ldfo;a()Ldfp;
intermediary method_28903
Lnet/minecraft/class_5141;method_28903()Lnet/minecraft/class_5142;
named getType
Lnet/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:
generate
in classTrunkPlacer
- Mappings:
Namespace Name Mixin selector official a
Ldfo;a(Lcdy;Ljava/util/function/BiConsumer;Laki;ILgm;Lddm;)Ljava/util/List;
intermediary method_26991
Lnet/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 generate
Lnet/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 a
Ldfq;a(Lcdy;Ljava/util/function/BiConsumer;Laki;ILddm;Ljava/util/List;Lgm$a;ILgr;II)V
intermediary method_43199
Lnet/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)V
named method_43199
Lnet/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_43196
in classTrunkPlacer
- Mappings:
Namespace Name Mixin selector official a
Ldfo;a(Lcdy;Lgm;)Z
intermediary method_43196
Lnet/minecraft/class_5141;method_43196(Lnet/minecraft/class_3746;Lnet/minecraft/class_2338;)Z
named method_43196
Lnet/minecraft/world/gen/trunk/TrunkPlacer;method_43196(Lnet/minecraft/world/TestableWorld;Lnet/minecraft/util/math/BlockPos;)Z
-