* Map math classes
* Fix typo: rotateZCoutnerclockwise -> rotateZCounterclockwise
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* Move Rect2i to client/util/math
* Document the range of the return value
* Use @code for range
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Revert multiplyModel
* cumulativeProportions -> getCumulativeDistribution
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* random misc things
* Update mappings/net/minecraft/block/entity/EndGatewayBlockEntity.mapping
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
* Map marker entities
* Reword the documentation for the EmptyEntityRenderer class to highlight that it does not render anything
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Two new exception classes and a bunch of legacy names
Done in a way to avoid/minimize conflict with #2300
Signed-off-by: liach <liach@users.noreply.github.com>
* Update mappings/net/minecraft/client/render/model/json/JsonUnbakedModel.mapping
❤️ yanis
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.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>
* Add MONOCHROME_LOGO to Option
21w13a added the "Monochrome Logo" toggle in Accessibility settings, which makes the background in the mojang logo turn black instead of red, to reduce strain on the eyes. This change will give the Option for that the name MONOCHROME_LOGO
* Add tooltip to mappings
* Update GameOptions.mapping
* Change monochromeBackground to monochromeLogo in GameOptions
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
* Add lambda parameters for MONOCHROME_LOGO
* Change value to monochromeLogo in lambda parameter
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
* Map the debug profiler classes
* Place Recorder in the correct package
* A few more tweaks and fixes
* Update mappings/net/minecraft/client/util/profiler/SamplerFactory.mapping
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* Update mappings/net/minecraft/client/util/profiler/SamplingRecorder.mapping
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* Entity model part constants
* "constants" -> "names"
* add target methods but it still doesn't work
* add even more target methods, but it still still doesn't work
* finally (thx liach)
* 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>
* Two methods used on client player respawn
* onRespawnOrDimensionChange -> init
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
It's used in creating class_5944 instances and GameRenderer.method_34521,
both of which only uses the DefaultResourcePack as the only resource
factory impl effectively.
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
* Map cycling button widget and cycling options
Turns out there are still like 2 other inner classes, but I will get em
Signed-off-by: liach <liach@users.noreply.github.com>
* 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: enbrain <69905075+enbrain@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>
They did some good improvements to packets
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
* Port some stuff from #2048 to snapshot
* Apply suggestions from code review
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* Apply suggestions from code review
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
The field focused clashes with superclass field, and is not accurate. It
actually controls whether the background is drawn. The getter and setter
methods are also not correct, as the field does not just control the
border.
The setSelected method does not set whether the field is selected, but
focused. It only exists to expose the protected AbstractButtonWidget.setFocused
method. It's named setTextFieldFocused not setFocused because that would
clash with the superclass name.
* 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>
so they don't write a code twice for save and load
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>