Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions mappings/net/minecraft/world/gen/StructureWeightSampler.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ CLASS net/minecraft/class_5817 net/minecraft/world/gen/StructureWeightSampler
FIELD field_28741 STRUCTURE_WEIGHT_TABLE [F
FIELD field_31461 INDEX_OFFSET I
FIELD field_31462 EDGE_LENGTH I
FIELD field_61464 EMPTY Lnet/minecraft/class_5817;
FIELD field_61465 pieces Ljava/util/List;
FIELD field_61466 junctions Ljava/util/List;
FIELD field_61467 boundingBox Lnet/minecraft/class_3341;
METHOD <init> (Ljava/util/List;Ljava/util/List;Lnet/minecraft/class_3341;)V
ARG 1 pieces
ARG 2 junctions
ARG 3 boundingBox
METHOD method_33640 ([F)V
ARG 0 array
METHOD method_33641 getStructureWeight (IIII)D
Expand All @@ -28,6 +36,11 @@ CLASS net/minecraft/class_5817 net/minecraft/world/gen/StructureWeightSampler
ARG 1 y
ARG 3 z
METHOD method_42695 createStructureWeightSampler (Lnet/minecraft/class_5138;Lnet/minecraft/class_1923;)Lnet/minecraft/class_5817;
ARG 0 structureAccessor
ARG 1 chunkPos
METHOD method_42696 (Lnet/minecraft/class_3195;)Z
ARG 0 structure
METHOD method_72681 union (Lnet/minecraft/class_3341;Lnet/minecraft/class_3341;)Lnet/minecraft/class_3341;
ARG 0 box1
ARG 1 box2
CLASS class_7301 Piece
50 changes: 38 additions & 12 deletions mappings/net/minecraft/world/gen/chunk/AquiferSampler.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,29 @@ CLASS net/minecraft/class_6350 net/minecraft/world/gen/chunk/AquiferSampler
FIELD field_28813 barrierNoise Lnet/minecraft/class_6910;
FIELD field_28816 waterLevels [Lnet/minecraft/class_6350$class_6351;
FIELD field_28817 blockPositions [J
COMMENT One entry for each cell
FIELD field_28820 needsFluidTick Z
FIELD field_28822 startX I
FIELD field_28823 startY I
FIELD field_28824 startZ I
FIELD field_28825 sizeX I
FIELD field_28826 sizeZ I
FIELD field_28822 startCellX I
COMMENT The following five fields are expressed in terms of aquifer cells, which
COMMENT are 16×12×16 in volume.
FIELD field_28823 startCellY I
FIELD field_28824 startCellZ I
FIELD field_28825 cellCountX I
FIELD field_28826 cellCountZ I
FIELD field_31457 CELL_SIZE_X I
FIELD field_31458 CELL_SIZE_Y I
FIELD field_31459 CELL_SIZE_Z I
FIELD field_33575 fluidTypeNoise Lnet/minecraft/class_6910;
FIELD field_34578 chunkNoiseSampler Lnet/minecraft/class_6568;
FIELD field_34579 randomDeriver Lnet/minecraft/class_6574;
FIELD field_34580 fluidLevelSampler Lnet/minecraft/class_6350$class_6565;
FIELD field_34581 CHUNK_POS_OFFSETS [[I
FIELD field_35122 fluidLevelFloodednessNoise Lnet/minecraft/class_6910;
FIELD field_35123 fluidLevelSpreadNoise Lnet/minecraft/class_6910;
FIELD field_36221 NEEDS_FLUID_TICK_DISTANCE_THRESHOLD D
FIELD field_36221 FLUID_TICK_DENSITY_FACTOR_THRESHOLD D
FIELD field_38246 erosionDensityFunction Lnet/minecraft/class_6910;
FIELD field_38247 depthDensityFunction Lnet/minecraft/class_6910;
FIELD field_61452 maxY I
METHOD <init> (Lnet/minecraft/class_6568;Lnet/minecraft/class_1923;Lnet/minecraft/class_6953;Lnet/minecraft/class_6574;IILnet/minecraft/class_6350$class_6565;)V
ARG 1 chunkNoiseSampler
ARG 2 chunkPos
Expand All @@ -41,19 +48,27 @@ CLASS net/minecraft/class_6350 net/minecraft/world/gen/chunk/AquiferSampler
ARG 5 minimumY
ARG 6 height
ARG 7 fluidLevelSampler
METHOD method_33734 getLocalX (I)I
METHOD method_33734 getCellX (I)I
ARG 0 x
METHOD method_33735 calculateDensity (Lnet/minecraft/class_6910$class_6912;Lorg/apache/commons/lang3/mutable/MutableDouble;Lnet/minecraft/class_6350$class_6351;Lnet/minecraft/class_6350$class_6351;)D
ARG 1 pos
METHOD method_33736 maxDistance (II)D
ARG 1 a
ARG 2 cachedBarrierNoiseValue
ARG 3 nearerLevel
ARG 4 fartherLevel
METHOD method_33736 densityFactor (II)D
ARG 0 nearerCellDistance
ARG 1 fartherCellDistance
METHOD method_33738 getWaterLevel (I)Lnet/minecraft/class_6350$class_6351;
METHOD method_33740 getLocalY (I)I
ARG 1 cellIndex
METHOD method_33740 getCellY (I)I
ARG 0 x
METHOD method_33741 index (III)I
ARG 1 x
ARG 2 y
ARG 3 z
METHOD method_33743 getLocalZ (I)I
METHOD method_40463 getFluidLevel (III)Lnet/minecraft/class_6350$class_6351;
METHOD method_33743 getCellZ (I)I
ARG 0 z
METHOD method_40463 generateFluidLevel (III)Lnet/minecraft/class_6350$class_6351;
ARG 1 blockX
ARG 2 blockY
ARG 3 blockZ
Expand All @@ -74,6 +89,17 @@ CLASS net/minecraft/class_6350 net/minecraft/world/gen/chunk/AquiferSampler
ARG 3 blockZ
ARG 4 defaultFluidLevel
ARG 5 surfaceHeightEstimate
METHOD method_72677 reconstructX (II)I
ARG 0 cellX
ARG 1 cellLocalX
METHOD method_72678 reconstructY (II)I
ARG 0 cellY
ARG 1 cellLocalY
METHOD method_72679 reconstructZ (II)I
ARG 0 cellZ
ARG 1 cellLocalZ
METHOD method_72680 adjustEstimatedHighestSurfaceLevel (I)I
ARG 1 estimatedHighestSurfaceLevel
CLASS class_6351 FluidLevel
FIELD comp_2967 y I
FIELD comp_2968 state Lnet/minecraft/class_2680;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ CLASS net/minecraft/class_6910 net/minecraft/world/gen/densityfunction/DensityFu
COMMENT like constant values or {@code add}, which in turn use other density functions
COMMENT to define their operands.
FIELD field_37058 REGISTRY_ENTRY_CODEC Lcom/mojang/serialization/Codec;
METHOD method_1_4456 (Lnet/minecraft/class_6880;)Lnet/minecraft/class_6910;
ARG 0 registryEntry
METHOD method_40464 sample (Lnet/minecraft/class_6910$class_6912;)D
COMMENT {@return the density value for the given block position}
ARG 1 pos
Expand Down
Loading