* Document chat stuff
* Remove apiNote from ChatMessageC2SPacket
* Links broadcast from and to sendMessage
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@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>
* Rename the ServerPlayNetworkHandler#validateVehicleMove method to validateMovement
Fixes#2603
* Document the ServerPlayNetworkHandler#validateMovement method
* Rename the ServerPlayNetworkHandler#validateMovement method to isMovementValid
* Fix the name and documentation for the ServerPlayNetworkHandler#isMovementValid method being inverted
* Remove a duplicate word from the documentation for the ServerPlayNetworkHandler#isMovementInvalid method
* clarify single player of a server
Fixes#2605
Signed-off-by: liach <liach@users.noreply.github.com>
* Document online mode and indicate how it relates to singleplayer
status
Signed-off-by: liach <liach@users.noreply.github.com>
* isSinglePlayer -> isSingleplayer
singleplayer is a mode, single player is the player for the mode
Co-authored-by: liach <liach@users.noreply.github.com>
* Update toolchain and fix minor javadoc problems
Fixes#2518 and resolves gradle warnings
Signed-off-by: liach <liach@users.noreply.github.com>
* update java version in comment as well
* remove obsolete comment (didn't forsee mojang would go java 16)
Signed-off-by: liach <liach@users.noreply.github.com>
* beautify this as well
* at least javadoc won't stall for 10 minutes now
still after 5 minutes of building there is a daemon with 4G ram usage
Signed-off-by: liach <liach@users.noreply.github.com>
* Use more friendly format to set properties
Signed-off-by: liach <liach@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>
* Fully mapped sampler
now they are mostly on server, and a few refactors
Signed-off-by: liach <liach@users.noreply.github.com>
* Missing old name
Co-authored-by: liach <liach@users.noreply.github.com>
* Some function stuff
Signed-off-by: liach <liach@users.noreply.github.com>
* typo
* This is actually only used by scheduled/tick functions
Signed-off-by: liach <liach@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>
* 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>
* Refactor NBT parameter names and a bit more.
* Apply suggestions from code review.
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Apply more suggestions from code review.
* MobEntity leashTag stuff -> leashNbt
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Massive networking renames
Closes#1321, fixes a few legacy names, also some stuff from #2174
Moved ServerAddress to client package (as it's client only)
Moved NetworkEncryptionUtils to the encryption package
Signed-off-by: liach <liach@users.noreply.github.com>
* Some javadoc
Signed-off-by: liach <liach@users.noreply.github.com>
* Update mappings/net/minecraft/network/listener/PacketListener.mapping
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* Resource pack for ServerInfo, suggested by Earthcomputer
Signed-off-by: liach <liach@users.noreply.github.com>
* Update mappings/net/minecraft/client/util/NetworkUtils.mapping
Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* Map an inner class in server play network handler
Followup of #2108
Signed-off-by: liach <liach@users.noreply.github.com>
* Update mappings/net/minecraft/server/network/ServerPlayNetworkHandler.mapping
Co-authored-by: liach <liach@users.noreply.github.com>
* Long live censorship
Gonna get a mod that allows me to turn off filters. Just overwrite method_33883
Signed-off-by: liach <liach@users.noreply.github.com>
* Update some poorer names from #1993 as well
Signed-off-by: liach <liach@users.noreply.github.com>
* Apply suggestions from code review
Seems I overrode this thing
Co-authored-by: liach <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>
* Entity move effect and player position look packet's one field
Signed-off-by: liach <liach@users.noreply.github.com>
* Fixes#2080
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>
* 48a things
* stuff
* Apply suggestions from code review
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
* just to get checks running again
* Revert "just to get checks running again"
This reverts commit 509ab81d80.
Co-authored-by: haykam821 <24855774+haykam821@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
* Map unmapped fields that have getter methods
* Fix the parts field in GhastEntityModel using the same name as its getter method
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Update outdated getter method names
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Actually describe vague "checkChunk" methods.
These are quite vague, and the profiler call is all we really have to go off of.
From looking around the codebase, these methods validate the entity's chunkX/Y/Z positions are correct. If the entity's last and current chunk pos are not the same, move the entity to it's new chunk (which also changes the chunkX/Y/Z values to the correct ones).
Oh and some synthetic method params while I was at it.
* Update mappings/net/minecraft/server/world/ServerWorld.mapping
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/entity/Entity.mapping
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/client/world/ClientWorld.mapping
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/server/world/ServerWorld.mapping
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
* Update mappings/net/minecraft/client/world/ClientWorld.mapping
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
* match method name
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
* stuff
mapped every class except 5395 because i dont understand codecs lol
* dont mind me
* there we go
* Apply suggestions from code review
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/entity/ai/goal/UniversalAngerGoal.mapping
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/entity/passive/WolfEntity.mapping
Co-authored-by: jadon <jadonflower@gmail.com>
* Update EditGameRulesScreen.mapping
* Apply suggestions from code review
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: jadon <jadonflower@gmail.com>
* Some packet parameters, I guess
* Add cookingFilteringCraftable in RecipeBookData
* Rename itemName to name in RenameItemC2SPacket
* Rename getItemName to getName
* Rename missed parameter blastFurnaceGuiOpen to cookingGuiOpen
* A bit entity brain/anger stuff
Signed-off-by: liach <liach@users.noreply.github.com>
* Fix bad name
Co-authored-by: liach <liach@users.noreply.github.com>
SpawnLocating and ServerPlayerEntity must be in same package
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
* Some javadoc and param names in mostly server related classes.
* Update mappings/net/minecraft/client/gui/hud/InGameHud.mapping
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
* Update mappings/net/minecraft/server/rcon/RconBase.mapping
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
* Make javadoc a bit nicer
* fixes 2
* Update ArgumentTypes.mapping
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>