Package net.minecraft.world.gen.root
Class MangroveRootPlacer
java.lang.Object
net.minecraft.world.gen.root.RootPlacer
net.minecraft.world.gen.root.MangroveRootPlacer
- Mappings:
 Namespace Name named net/minecraft/world/gen/root/MangroveRootPlacerintermediary net/minecraft/class_7386official egf
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<MangroveRootPlacer> static final intstatic final intprivate final MangroveRootPlacementFields inherited from class net.minecraft.world.gen.root.RootPlacer
aboveRootPlacement, rootProvider, trunkOffsetY, TYPE_CODEC - 
Constructor Summary
ConstructorsConstructorDescriptionMangroveRootPlacer(IntProvider trunkOffsetY, BlockStateProvider rootProvider, Optional<AboveRootPlacement> aboveRootPlacement, MangroveRootPlacement mangroveRootPlacement)  - 
Method Summary
Modifier and TypeMethodDescriptionprivate booleancanGrow(TestableWorld world, Random random, BlockPos pos, Direction direction, BlockPos origin, List<BlockPos> offshootPositions, int rootLength) protected booleancanGrowThrough(TestableWorld world, BlockPos pos) booleangenerate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, BlockPos trunkPos, TreeFeatureConfig config) getOffshootPositions(BlockPos pos, Direction direction, Random random, BlockPos origin) protected RootPlacerType<?> getType()protected voidplaceRoots(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) Methods inherited from class net.minecraft.world.gen.root.RootPlacer
applyWaterlogging, method_43182, trunkOffset 
- 
Field Details
- 
field_38769
public static final int field_38769- See Also:
 - Mappings:
 Namespace Name Mixin selector named field_38769Lnet/minecraft/world/gen/root/MangroveRootPlacer;field_38769:Iintermediary field_38769Lnet/minecraft/class_7386;field_38769:Iofficial aLegf;a:I
 - 
field_38770
public static final int field_38770- See Also:
 - Mappings:
 Namespace Name Mixin selector named field_38770Lnet/minecraft/world/gen/root/MangroveRootPlacer;field_38770:Iintermediary field_38770Lnet/minecraft/class_7386;field_38770:Iofficial bLegf;b:I
 - 
CODEC
- Mappings:
 Namespace Name Mixin selector named CODECLnet/minecraft/world/gen/root/MangroveRootPlacer;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_38771Lnet/minecraft/class_7386;field_38771:Lcom/mojang/serialization/MapCodec;official cLegf;c:Lcom/mojang/serialization/MapCodec;
 - 
mangroveRootPlacement
- Mappings:
 Namespace Name Mixin selector named mangroveRootPlacementLnet/minecraft/world/gen/root/MangroveRootPlacer;mangroveRootPlacement:Lnet/minecraft/world/gen/root/MangroveRootPlacement;intermediary field_38867Lnet/minecraft/class_7386;field_38867:Lnet/minecraft/class_7399;official hLegf;h:Lege;
 
 - 
 - 
Constructor Details
- 
MangroveRootPlacer
public MangroveRootPlacer(IntProvider trunkOffsetY, BlockStateProvider rootProvider, Optional<AboveRootPlacement> aboveRootPlacement, MangroveRootPlacement mangroveRootPlacement) - Mappings:
 Namespace Name Mixin selector named <init>Lnet/minecraft/world/gen/root/MangroveRootPlacer;<init>(Lnet/minecraft/util/math/intprovider/IntProvider;Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;Ljava/util/Optional;Lnet/minecraft/world/gen/root/MangroveRootPlacement;)Vintermediary <init>Lnet/minecraft/class_7386;<init>(Lnet/minecraft/class_6017;Lnet/minecraft/class_4651;Ljava/util/Optional;Lnet/minecraft/class_7399;)Vofficial <init>Legf;<init>(Lbpw;Legj;Ljava/util/Optional;Lege;)V
 
 - 
 - 
Method Details
- 
generate
public boolean generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, BlockPos trunkPos, TreeFeatureConfig config) - Specified by:
 generatein classRootPlacer- Mappings:
 Namespace Name Mixin selector named generateLnet/minecraft/world/gen/root/RootPlacer;generate(Lnet/minecraft/world/TestableWorld;Ljava/util/function/BiConsumer;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/gen/feature/TreeFeatureConfig;)Zintermediary method_43168Lnet/minecraft/class_7387;method_43168(Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_4643;)Zofficial aLegg;a(Lddc;Ljava/util/function/BiConsumer;Layw;Ljd;Ljd;Lefe;)Z
 - 
canGrow
private boolean canGrow(TestableWorld world, Random random, BlockPos pos, Direction direction, BlockPos origin, List<BlockPos> offshootPositions, int rootLength) - Mappings:
 Namespace Name Mixin selector named canGrowLnet/minecraft/world/gen/root/MangroveRootPlacer;canGrow(Lnet/minecraft/world/TestableWorld;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/BlockPos;Ljava/util/List;I)Zintermediary method_43166Lnet/minecraft/class_7386;method_43166(Lnet/minecraft/class_3746;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_2338;Ljava/util/List;I)Zofficial aLegf;a(Lddc;Layw;Ljd;Lji;Ljd;Ljava/util/List;I)Z
 - 
getOffshootPositions
protected List<BlockPos> getOffshootPositions(BlockPos pos, Direction direction, Random random, BlockPos origin) - Mappings:
 Namespace Name Mixin selector named getOffshootPositionsLnet/minecraft/world/gen/root/MangroveRootPlacer;getOffshootPositions(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)Ljava/util/List;intermediary method_43171Lnet/minecraft/class_7386;method_43171(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Ljava/util/List;official aLegf;a(Ljd;Lji;Layw;Ljd;)Ljava/util/List;
 - 
canGrowThrough
- Overrides:
 canGrowThroughin classRootPlacer- Mappings:
 Namespace Name Mixin selector named canGrowThroughLnet/minecraft/world/gen/root/RootPlacer;canGrowThrough(Lnet/minecraft/world/TestableWorld;Lnet/minecraft/util/math/BlockPos;)Zintermediary method_43167Lnet/minecraft/class_7387;method_43167(Lnet/minecraft/class_3746;Lnet/minecraft/class_2338;)Zofficial aLegg;a(Lddc;Ljd;)Z
 - 
placeRoots
protected void placeRoots(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) - Overrides:
 placeRootsin classRootPlacer- Mappings:
 Namespace Name Mixin selector named placeRootsLnet/minecraft/world/gen/root/RootPlacer;placeRoots(Lnet/minecraft/world/TestableWorld;Ljava/util/function/BiConsumer;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/gen/feature/TreeFeatureConfig;)Vintermediary method_43172Lnet/minecraft/class_7387;method_43172(Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;Lnet/minecraft/class_4643;)Vofficial aLegg;a(Lddc;Ljava/util/function/BiConsumer;Layw;Ljd;Lefe;)V
 - 
getType
- Specified by:
 getTypein classRootPlacer- Mappings:
 Namespace Name Mixin selector named getTypeLnet/minecraft/world/gen/root/RootPlacer;getType()Lnet/minecraft/world/gen/root/RootPlacerType;intermediary method_43165Lnet/minecraft/class_7387;method_43165()Lnet/minecraft/class_7388;official aLegg;a()Legh;
 
 -