2021-02-04 13:34:17 -05:00
CLASS net/minecraft/class_5817 net/minecraft/world/gen/StructureWeightSampler
2021-02-08 14:46:49 -05:00
COMMENT Applies weights to noise values if they are near structures, placing terrain under them and hollowing out the space above them.
2021-02-04 13:34:17 -05:00
FIELD field_28741 STRUCTURE_WEIGHT_TABLE [F
FIELD field_28742 pieces Lit/unimi/dsi/fastutil/objects/ObjectList;
FIELD field_28743 junctions Lit/unimi/dsi/fastutil/objects/ObjectList;
FIELD field_28744 pieceIterator Lit/unimi/dsi/fastutil/objects/ObjectListIterator;
FIELD field_28745 junctionIterator Lit/unimi/dsi/fastutil/objects/ObjectListIterator;
2021-11-09 11:55:29 -05:00
METHOD <init> (Lnet/minecraft/class_5138;Lnet/minecraft/class_2791;)V
ARG 1 structureAccessor
ARG 2 chunk
2021-02-04 13:34:17 -05:00
METHOD method_33640 ([F)V
ARG 0 array
METHOD method_33641 getStructureWeight (III)D
2021-02-08 14:46:49 -05:00
COMMENT Gets the structure weight from the array from the given position, or 0 if the position is out of bounds.
2021-02-04 13:34:17 -05:00
ARG 0 x
ARG 1 y
ARG 2 z
METHOD method_33642 calculateStructureWeight (III)D
2021-02-08 14:46:49 -05:00
COMMENT Calculates the structure weight for the given position.
2021-04-11 08:08:07 -04:00
COMMENT <p>The weight increases as x and z approach {@code (0, 0)}, and positive y values make the weight negative while negative y values make the weight positive.
2021-02-04 13:34:17 -05:00
ARG 0 x
ARG 1 y
ARG 2 z
2021-02-18 17:03:29 -05:00
METHOD method_33832 getMagnitudeWeight (III)D
ARG 0 x
ARG 1 y
ARG 2 z
2021-11-25 09:52:58 -05:00
METHOD method_38319 (Lnet/minecraft/class_1923;IILnet/minecraft/class_3449;)V
ARG 4 start