Package net.minecraft.world.gen.feature
Class MultifaceGrowthFeatureConfig
java.lang.Object
net.minecraft.world.gen.feature.MultifaceGrowthFeatureConfig
- All Implemented Interfaces:
FeatureConfig
- Mappings:
Namespace Name official dgc
intermediary net/minecraft/class_5780
named net/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal RegistryEntryList<Block>
static final com.mojang.serialization.Codec<MultifaceGrowthFeatureConfig>
private final ObjectArrayList<Direction>
final MultifaceGrowthBlock
final boolean
final boolean
final boolean
final int
final float
Fields inherited from interface net.minecraft.world.gen.feature.FeatureConfig
DEFAULT
-
Constructor Summary
ConstructorsConstructorDescriptionMultifaceGrowthFeatureConfig
(MultifaceGrowthBlock lichen, int searchRange, boolean placeOnFloor, boolean placeOnCeiling, boolean placeOnWalls, float spreadChance, RegistryEntryList<Block> canPlaceOn) -
Method Summary
Modifier and TypeMethodDescriptionshuffleDirections
(Random random) shuffleDirections
(Random random, Direction excluded) private static com.mojang.serialization.DataResult<MultifaceGrowthBlock>
validateBlock
(Block block) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.gen.feature.FeatureConfig
getDecoratedFeatures
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldgc;a:Lcom/mojang/serialization/Codec;
intermediary field_28429
Lnet/minecraft/class_5780;field_28429:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;CODEC:Lcom/mojang/serialization/Codec;
-
lichen
- Mappings:
Namespace Name Mixin selector official b
Ldgc;b:Lcok;
intermediary field_37709
Lnet/minecraft/class_5780;field_37709:Lnet/minecraft/class_5778;
named lichen
Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;lichen:Lnet/minecraft/block/MultifaceGrowthBlock;
-
searchRange
public final int searchRange- Mappings:
Namespace Name Mixin selector official c
Ldgc;c:I
intermediary field_28430
Lnet/minecraft/class_5780;field_28430:I
named searchRange
Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;searchRange:I
-
placeOnFloor
public final boolean placeOnFloor- Mappings:
Namespace Name Mixin selector official d
Ldgc;d:Z
intermediary field_28431
Lnet/minecraft/class_5780;field_28431:Z
named placeOnFloor
Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;placeOnFloor:Z
-
placeOnCeiling
public final boolean placeOnCeiling- Mappings:
Namespace Name Mixin selector official e
Ldgc;e:Z
intermediary field_28432
Lnet/minecraft/class_5780;field_28432:Z
named placeOnCeiling
Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;placeOnCeiling:Z
-
placeOnWalls
public final boolean placeOnWalls- Mappings:
Namespace Name Mixin selector official f
Ldgc;f:Z
intermediary field_28433
Lnet/minecraft/class_5780;field_28433:Z
named placeOnWalls
Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;placeOnWalls:Z
-
spreadChance
public final float spreadChance- Mappings:
Namespace Name Mixin selector official g
Ldgc;g:F
intermediary field_28434
Lnet/minecraft/class_5780;field_28434:F
named spreadChance
Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;spreadChance:F
-
canPlaceOn
- Mappings:
Namespace Name Mixin selector official h
Ldgc;h:Lhe;
intermediary field_28435
Lnet/minecraft/class_5780;field_28435:Lnet/minecraft/class_6885;
named canPlaceOn
Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;canPlaceOn:Lnet/minecraft/util/registry/RegistryEntryList;
-
directions
- Mappings:
Namespace Name Mixin selector official i
Ldgc;i:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
intermediary field_28436
Lnet/minecraft/class_5780;field_28436:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
named directions
Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;directions:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
-
-
Constructor Details
-
MultifaceGrowthFeatureConfig
public MultifaceGrowthFeatureConfig(MultifaceGrowthBlock lichen, int searchRange, boolean placeOnFloor, boolean placeOnCeiling, boolean placeOnWalls, float spreadChance, RegistryEntryList<Block> canPlaceOn) - Mappings:
Namespace Name Mixin selector official <init>
Ldgc;<init>(Lcok;IZZZFLhe;)V
intermediary <init>
Lnet/minecraft/class_5780;<init>(Lnet/minecraft/class_5778;IZZZFLnet/minecraft/class_6885;)V
named <init>
Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;<init>(Lnet/minecraft/block/MultifaceGrowthBlock;IZZZFLnet/minecraft/util/registry/RegistryEntryList;)V
-
-
Method Details
-
validateBlock
- Mappings:
Namespace Name Mixin selector official a
Ldgc;a(Lcjt;)Lcom/mojang/serialization/DataResult;
intermediary method_41573
Lnet/minecraft/class_5780;method_41573(Lnet/minecraft/class_2248;)Lcom/mojang/serialization/DataResult;
named validateBlock
Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;validateBlock(Lnet/minecraft/block/Block;)Lcom/mojang/serialization/DataResult;
-
shuffleDirections
- Mappings:
Namespace Name Mixin selector official a
Ldgc;a(Lamn;Lgy;)Ljava/util/List;
intermediary method_43296
Lnet/minecraft/class_5780;method_43296(Lnet/minecraft/class_5819;Lnet/minecraft/class_2350;)Ljava/util/List;
named shuffleDirections
Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;shuffleDirections(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/Direction;)Ljava/util/List;
-
shuffleDirections
- Mappings:
Namespace Name Mixin selector official a
Ldgc;a(Lamn;)Ljava/util/List;
intermediary method_43295
Lnet/minecraft/class_5780;method_43295(Lnet/minecraft/class_5819;)Ljava/util/List;
named shuffleDirections
Lnet/minecraft/world/gen/feature/MultifaceGrowthFeatureConfig;shuffleDirections(Lnet/minecraft/util/math/random/Random;)Ljava/util/List;
-