* Rename Structure and StructureType
Structures really need a revisit. In my opinion the net.minecraft.structure package should be gone and
everything should be moved to net.minecraft.world.gen.structure. That'd be a very big change, though.
This commit basically reverts the entirety of #3079 and contains the changes necessary to keep consistency
(but not other new changes). I could make it bigger, but this needs an ASAP merge to stop the bad names from
going to the release.
Summary of the renames:
- `structure.Structure` became `structure.StructureTemplate`. See `/place template`, datafixes, etc.
- `structure.StructureType` became `world.gen.structure.StructureType`.
- `world.gen.structure.StructureType` became `world.gen.structure.Structure`.
- `world.gen.structure.StructureTypes` became `world.gen.structure.Structures`.
- Other names referencing the renamed classes by their old name
- And missed "feature" renames (Fixes#3179)
* Rename StructureManager
* merging gone wrong
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* 22w12a stuff
* fixes from @apple502j and a bit more
* Update mappings/net/minecraft/block/entity/SculkShriekerWarningManager.mapping
Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>
Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>
* 1.18-pre6 stuff
* Apply suggestions from code review
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
* Not sure if this is best but
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* 21w44a stuff
* look man idk
* Apply suggestions from code review
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
* Remove things mapped in #2729
* Restore things that shouldn't have been removed
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
* oh god oh fuck
* More 21w43a ticking stuff
* just a little bit more
* fix capitalization
* i think it's good now?
* Update WorldTickScheduler.mapping
Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>
* Map server stuff
* Apply suggestions from code review
Still need to fix a few things.
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
* Map some constants found in the world classes
* Update mappings/net/minecraft/server/world/ServerWorld.mapping
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* ENTITY_TICK_FREQUENCY -> SERVER_IDLE_COOLDOWN
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* zzz
Signed-off-by: liach <liach@users.noreply.github.com>
* Fixed some bad stuff and more docs
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
* Map atomic stack
Now all top level classes are mapped, or at least have a pr that maps them
Signed-off-by: liach <liach@users.noreply.github.com>
* Update mappings/net/minecraft/util/thread/AtomicStack.mapping
Co-authored-by: liach <liach@users.noreply.github.com>
* Squash the review stuff
Co-authored-by: Henry <obw@generalprogramming.org>
Co-authored-by: Thalia Nero <chrisvn00@gmail.com>
commit b9e91de684
Author: Henry <obw@generalprogramming.org>
Date: Fri Jan 1 18:06:37 2021 +0000
Apply some cleanup from code review
Also removes some bits not present in 20w51a
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
commit e9f0cea6e7
Author: Henry Le Grys <henry@legrys.info>
Date: Wed Dec 9 19:40:28 2020 +0000
Add javadocs for MessageListener
commit a6fe16a9cd
Author: Henry Le Grys <henry@legrys.info>
Date: Wed Dec 9 18:31:29 2020 +0000
Apply some suggestions to clean up
- Restored missing Entity methods
- Fixed comment reference
- Unmapped generic `flagSet`-named methods
commit cbacd58a0a
Author: Henry Le Grys <henry@legrys.info>
Date: Thu Dec 3 18:56:45 2020 +0000
Apply some suggestions & map extra names
commit 411b92b91f
Merge: c5287fed0c0a046c66
Author: Henry Le Grys <henry@legrys.info>
Date: Thu Dec 3 17:55:40 2020 +0000
Merge 20w49a into world-entity
commit c5287fed06
Author: Thalia Nero <chrisvn00@gmail.com>
Date: Wed Nov 11 23:18:02 2020 -0500
listener -> handler
commit 490818513e
Merge: d74d922b03465a1132
Author: Thalia Nero <chrisvn00@gmail.com>
Date: Sun Nov 8 14:53:43 2020 -0500
Merge branch '20w45a' into world-entity
commit d74d922b0b
Author: Thalia Nero <chrisvn00@gmail.com>
Date: Sat Nov 7 15:28:32 2020 -0500
Update mappings from review.
commit fbb44ecbb9
Author: Thalia Nero <chrisvn00@gmail.com>
Date: Sat Nov 7 01:51:17 2020 -0500
Some docs and mapping of methods called by the entity stuff.
commit 095711c00a
Author: Thalia Nero <chrisvn00@gmail.com>
Date: Sat Nov 7 01:28:23 2020 -0500
Some parameters and mappings.
commit caea9fed00
Author: Thalia Nero <chrisvn00@gmail.com>
Date: Sat Nov 7 01:14:33 2020 -0500
Filter -> TypeFilter
commit 9d82f4bcc4
Author: Thalia Nero <chrisvn00@gmail.com>
Date: Fri Nov 6 20:19:18 2020 -0500
Map ChunkStatusChangeListener.
commit 4699e0991e
Author: Thalia Nero <chrisvn00@gmail.com>
Date: Fri Nov 6 20:11:11 2020 -0500
Map more entity loading stuff.
commit 8a30358ef2
Merge: 6d0aa8cffee05e2b40
Author: Thalia Nero <chrisvn00@gmail.com>
Date: Fri Nov 6 18:10:03 2020 -0500
Merge branch '20w45a' of github.com:FabricMC/yarn into world-entity
commit 6d0aa8cff7
Author: Thalia Nero <chrisvn00@gmail.com>
Date: Fri Nov 6 03:43:11 2020 -0500
Map a lot of entity world interaction shenanigans. Feeling tired might remap later.
* Extra classes
* tweaks
* Revert some refactors
* meh, enigma bad
* move entitylike to world as it's more s/l related than actual entity
* Eliminate the "group"
Signed-off-by: liach <liach@users.noreply.github.com>
* Bunch renames, should make sense now
Signed-off-by: liach <liach@users.noreply.github.com>
* Fix javadoc types
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* Human-friendly name for synthetic fields in case they appear
* rename
Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* Switch to mappingpoet 0.2.0
Now includes obf name in javadoc. Though it takes longer to generate
Signed-off-by: liach <liach@users.noreply.github.com>
* removed the global toolchain version requirement
enable a few superstrict doclints (won't fail build) and we are now compliant!
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
* added mapping for field_19158
added mapping for method_20523
* changed glowEntity to applyGlowToEntity for consistency and clarity sake.
* Completed missing mappings in ServerWorld
* Refactors to ThreadedAnvilChunkStorage and ChunkHolder generation logic
* revert statusListeners
* improve consistency of future-returning functions
* ChunkHolder.ticking -> accessible
* Update ChunkStatus "distance from full" mappings and name ChunkHolder#future more specific to saving
* Remove `await` prefix for consistency