Class Beardifier
java.lang.Object
net.minecraft.world.level.levelgen.Beardifier
-
Field Summary
Modifier and TypeFieldDescriptionprivate static float[]
static int
private static int
protected it.unimi.dsi.fastutil.objects.ObjectListIterator<JigsawJunction>
protected it.unimi.dsi.fastutil.objects.ObjectList<JigsawJunction>
static Beardifier
protected it.unimi.dsi.fastutil.objects.ObjectListIterator<StructurePiece>
protected it.unimi.dsi.fastutil.objects.ObjectList<StructurePiece>
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
Beardifier(StructureFeatureManager p_158070_, ChunkAccess p_158071_)
-
Method Summary
Modifier and TypeMethodDescriptiondouble
beardifyOrBury(int p_158073_, int p_158074_, int p_158075_)
private static double
computeBeardContribution(int p_158092_, int p_158093_, int p_158094_)
protected static double
getBeardContribution(int p_158088_, int p_158089_, int p_158090_)
protected static double
getBuryContribution(int p_158084_, int p_158085_, int p_158086_)
-
Field Details
-
NO_BEARDS
-
BEARD_KERNEL_RADIUS
public static final int BEARD_KERNEL_RADIUS- See Also:
- Constant Field Values
-
BEARD_KERNEL_SIZE
private static final int BEARD_KERNEL_SIZE- See Also:
- Constant Field Values
-
BEARD_KERNEL
private static final float[] BEARD_KERNEL -
rigids
-
junctions
-
pieceIterator
-
junctionIterator
-
-
Constructor Details
-
Beardifier
-
Beardifier
protected Beardifier()
-
-
Method Details
-
beardifyOrBury
public double beardifyOrBury(int p_158073_, int p_158074_, int p_158075_) -
getBuryContribution
protected static double getBuryContribution(int p_158084_, int p_158085_, int p_158086_) -
getBeardContribution
protected static double getBeardContribution(int p_158088_, int p_158089_, int p_158090_) -
computeBeardContribution
private static double computeBeardContribution(int p_158092_, int p_158093_, int p_158094_)
-