yarn/mappings/net/minecraft/world/gen/StructureAccessor.mapping

41 lines
1.9 KiB
Plaintext
Raw Normal View History

CLASS net/minecraft/class_5138 net/minecraft/world/gen/StructureAccessor
FIELD field_24404 world Lnet/minecraft/class_1936;
FIELD field_24497 options Lnet/minecraft/class_5285;
METHOD <init> (Lnet/minecraft/class_1936;Lnet/minecraft/class_5285;)V
ARG 1 world
ARG 2 options
METHOD method_26973 addStructureReference (Lnet/minecraft/class_4076;Lnet/minecraft/class_3195;JLnet/minecraft/class_2810;)V
ARG 1 pos
ARG 2 feature
ARG 3 reference
ARG 5 holder
METHOD method_26975 getStructureStart (Lnet/minecraft/class_4076;Lnet/minecraft/class_3195;Lnet/minecraft/class_2810;)Lnet/minecraft/class_3449;
ARG 1 pos
ARG 2 feature
ARG 3 holder
METHOD method_26976 setStructureStart (Lnet/minecraft/class_4076;Lnet/minecraft/class_3195;Lnet/minecraft/class_3449;Lnet/minecraft/class_2810;)V
ARG 1 pos
ARG 2 feature
ARG 3 structureStart
ARG 4 holder
METHOD method_27834 shouldGenerateStructures ()Z
2021-09-29 14:08:30 -04:00
METHOD method_28388 getStructureAt (Lnet/minecraft/class_2338;Lnet/minecraft/class_3195;)Lnet/minecraft/class_3449;
ARG 1 pos
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 structure
METHOD method_29951 forRegion (Lnet/minecraft/class_3233;)Lnet/minecraft/class_5138;
ARG 1 region
METHOD method_38852 hasStructureReferences (Lnet/minecraft/class_2338;)Z
ARG 1 pos
METHOD method_38853 getStructureStarts (Lnet/minecraft/class_4076;Lnet/minecraft/class_3195;)Ljava/util/List;
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 {@return a list of structure starts for this chunk} The structure starts
COMMENT are computed from the structure references of the given section's chunk.
ARG 1 sectionPos
ARG 2 feature
METHOD method_38854 getStructureContaining (Lnet/minecraft/class_2338;Lnet/minecraft/class_3195;)Lnet/minecraft/class_3449;
COMMENT {@return a structure that contains the given {@code pos}} Compared to
COMMENT {@link #getStructureAt}, this does not return a structure if the given
COMMENT position is in the expanded bounding box of the structure but not in any
COMMENT child piece of it.
ARG 1 pos
2021-11-16 13:18:51 -05:00
ARG 2 structure