yarn/mappings/net/minecraft/structure/StructurePiecesCollector.ma...

23 lines
861 B
Plaintext
Raw Normal View History

Structure stuff, based on liach's PR (#2829) * Structure stuff Signed-off-by: liach <liach@users.noreply.github.com> * This is post placement, not generation (addition of pieces) * docs * Update mappings/net/minecraft/structure/StructurePlacementData.mapping Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> * Update mappings/net/minecraft/structure/PostPlacementProcessor.mapping Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> * Merge branch '1.18-pre1' of https://github.com/FabricMC/yarn into pr-2729-structure * Drop invalid mappings * Re-add dropped mappings * PostPlacementProcessor: map lambda arg, rename args * Structure: bring mapping from my branch * StructurePiecesGenerator: follow convention of naming every World superinterface `world` * StructurePoolBasedGenerator: follow naming conventions * ChunkGenerator: follow naming conventions * ConfiguredStructureFeature: follow naming conventions * EndCityFeature: follow naming conventions * StructureFeature: fix naming, follow naming conventions * WoodlandMansionFeature: follow naming conventions * StructureFeature: remove invalid javadoc * Apply suggestions from code review Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> Co-authored-by: liach <liach@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-11-15 20:31:21 -05:00
CLASS net/minecraft/class_6626 net/minecraft/structure/StructurePiecesCollector
COMMENT A collector of structure pieces to be added to a structure start.
COMMENT
COMMENT @see StructurePiecesList
FIELD field_34944 pieces Ljava/util/List;
METHOD method_38714 toList ()Lnet/minecraft/class_6624;
METHOD method_38715 shift (I)V
ARG 1 y
2022-05-12 14:28:43 -04:00
METHOD method_38716 shiftInto (IILnet/minecraft/class_5819;I)I
Structure stuff, based on liach's PR (#2829) * Structure stuff Signed-off-by: liach <liach@users.noreply.github.com> * This is post placement, not generation (addition of pieces) * docs * Update mappings/net/minecraft/structure/StructurePlacementData.mapping Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> * Update mappings/net/minecraft/structure/PostPlacementProcessor.mapping Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> * Merge branch '1.18-pre1' of https://github.com/FabricMC/yarn into pr-2729-structure * Drop invalid mappings * Re-add dropped mappings * PostPlacementProcessor: map lambda arg, rename args * Structure: bring mapping from my branch * StructurePiecesGenerator: follow convention of naming every World superinterface `world` * StructurePoolBasedGenerator: follow naming conventions * ChunkGenerator: follow naming conventions * ConfiguredStructureFeature: follow naming conventions * EndCityFeature: follow naming conventions * StructureFeature: fix naming, follow naming conventions * WoodlandMansionFeature: follow naming conventions * StructureFeature: remove invalid javadoc * Apply suggestions from code review Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> Co-authored-by: liach <liach@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-11-15 20:31:21 -05:00
COMMENT Somewhat like {@code shiftInto(random, bottomY, topY - topPenalty)}.
ARG 1 topY
ARG 2 bottomY
ARG 3 random
Structure stuff, based on liach's PR (#2829) * Structure stuff Signed-off-by: liach <liach@users.noreply.github.com> * This is post placement, not generation (addition of pieces) * docs * Update mappings/net/minecraft/structure/StructurePlacementData.mapping Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> * Update mappings/net/minecraft/structure/PostPlacementProcessor.mapping Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> * Merge branch '1.18-pre1' of https://github.com/FabricMC/yarn into pr-2729-structure * Drop invalid mappings * Re-add dropped mappings * PostPlacementProcessor: map lambda arg, rename args * Structure: bring mapping from my branch * StructurePiecesGenerator: follow convention of naming every World superinterface `world` * StructurePoolBasedGenerator: follow naming conventions * ChunkGenerator: follow naming conventions * ConfiguredStructureFeature: follow naming conventions * EndCityFeature: follow naming conventions * StructureFeature: fix naming, follow naming conventions * WoodlandMansionFeature: follow naming conventions * StructureFeature: remove invalid javadoc * Apply suggestions from code review Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> Co-authored-by: liach <liach@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-11-15 20:31:21 -05:00
ARG 4 topPenalty
2022-04-06 15:01:01 -04:00
METHOD method_38718 shiftInto (Lnet/minecraft/class_5819;II)V
Structure stuff, based on liach's PR (#2829) * Structure stuff Signed-off-by: liach <liach@users.noreply.github.com> * This is post placement, not generation (addition of pieces) * docs * Update mappings/net/minecraft/structure/StructurePlacementData.mapping Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> * Update mappings/net/minecraft/structure/PostPlacementProcessor.mapping Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> * Merge branch '1.18-pre1' of https://github.com/FabricMC/yarn into pr-2729-structure * Drop invalid mappings * Re-add dropped mappings * PostPlacementProcessor: map lambda arg, rename args * Structure: bring mapping from my branch * StructurePiecesGenerator: follow convention of naming every World superinterface `world` * StructurePoolBasedGenerator: follow naming conventions * ChunkGenerator: follow naming conventions * ConfiguredStructureFeature: follow naming conventions * EndCityFeature: follow naming conventions * StructureFeature: fix naming, follow naming conventions * WoodlandMansionFeature: follow naming conventions * StructureFeature: remove invalid javadoc * Apply suggestions from code review Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> Co-authored-by: liach <liach@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-11-15 20:31:21 -05:00
COMMENT Shifts all pieces so they lie within {@code [baseY, topY]} vertically.
ARG 1 random
Structure stuff, based on liach's PR (#2829) * Structure stuff Signed-off-by: liach <liach@users.noreply.github.com> * This is post placement, not generation (addition of pieces) * docs * Update mappings/net/minecraft/structure/StructurePlacementData.mapping Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> * Update mappings/net/minecraft/structure/PostPlacementProcessor.mapping Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> * Merge branch '1.18-pre1' of https://github.com/FabricMC/yarn into pr-2729-structure * Drop invalid mappings * Re-add dropped mappings * PostPlacementProcessor: map lambda arg, rename args * Structure: bring mapping from my branch * StructurePiecesGenerator: follow convention of naming every World superinterface `world` * StructurePoolBasedGenerator: follow naming conventions * ChunkGenerator: follow naming conventions * ConfiguredStructureFeature: follow naming conventions * EndCityFeature: follow naming conventions * StructureFeature: fix naming, follow naming conventions * WoodlandMansionFeature: follow naming conventions * StructureFeature: remove invalid javadoc * Apply suggestions from code review Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> Co-authored-by: liach <liach@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-11-15 20:31:21 -05:00
ARG 2 baseY
ARG 3 topY
METHOD method_38719 clear ()V
METHOD method_38720 isEmpty ()Z
METHOD method_38721 getBoundingBox ()Lnet/minecraft/class_3341;