Commit Graph

176 Commits

Author SHA1 Message Date
apple502j 4caccd00ea
22w24a abuse report (#3214)
* Map abuse report class

* Start mapping methods etc

* Map more methods

* Map even more methods

* Map remaining methods

* Document EditBox, etc

* Document more stuff

* Fix typo

* Remove outdated javadoc

* Fix javadoc

* Apply suggestions from code review

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Rename to renderOverlay

* value -> text

* emptyText -> placeholder

* javadoc

* setTextConsumer -> setChangeCallback

* Fix javadoc

* Rename callback to listener

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2022-06-21 19:07:56 +01:00
Player cdd3db74fb 22w24a 2022-06-15 19:37:40 +02:00
apple502j 10c797dce2
1.19-pre1 networking (#3164)
* 1.19-pre1 networking

* More networking stuff

* Map PacketByteBuf

* Do not use 'out of order'

* Fix typo in javadoc

* Fix javadoc

* Rename chatPreviewEnabledByServer

* Rename references to Only Show Secure Chat

* Fix typo

* Use timestamp, not time

* Final bits

* Fix #3181
2022-05-23 13:07:30 +01:00
apple502j b1382b3f04
22w19a networking (#3155)
* 22w19a networking

* Map PacketByteBuf

* 22w19a client-side networking

* 22w19a networking, completed

* Move PendingTaskRunner out of thread since it's thread-unsafe

* Fix typos

* Fix javadoc

* CommandExecutionC2S allows leading slash

* Rename QueryChatPreview

* Rename registerAndGetDefault

* Remove incorrect mapping on ChatPreviewer

* Rename stuff in ChatPreviewer to prevent confusion

* Fix javadoc

* Apply suggestions from code review

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Renames

* Fix javadoc

* Update mappings/net/minecraft/network/PacketByteBuf.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2022-05-17 10:56:35 +01:00
apple502j f82738825b
22w18a networking (#3142)
* 22w18a networking

* toText -> apply

* Document and rename MessageType stuff

* PacketByteBuf usage mapping, etc

* Fix javadoc

* Apply suggestions from code review

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Revert rename for Display and Narration

* dequalify optional

* rename ChatMessageSender, etc

* rename applyDecoration

* Fix indent

* Apply suggestions from code review

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Rename Priority

Editing on phone sucks

* Apply suggestions from code review

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Update and rename ChatSigner.mapping to ChatMessageSigner.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2022-05-12 14:36:43 +01:00
Player 5dc883892e 22w18a 2022-05-04 20:34:27 +02:00
apple502j a8cf9b5ceb
22w17a network stuff: part 2 (#3123)
* 22w17a network stuff: part 2

* Update mappings/net/minecraft/client/util/ProfileKeys.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* publicKeyInfo renames

* Fixes and javadocs

* javadoc fixes

* Apply suggestions from code review

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* Fix javadoc again

* Empty commit to re-trigger CI

* Apply suggestions from code review

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Update PlayerPublicKey.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: modmuss50 <modmuss50@gmail.com>
2022-05-02 13:57:32 +01:00
Player a31d28ee5e 22w17a 2022-04-27 19:09:08 +02:00
apple502j fda8ec2c41
22w16b client (#3107)
* 22w16b client

* Update MinecraftClient.mapping
2022-04-21 16:21:38 +01:00
Player fe3a599b38 22w16a 2022-04-20 19:31:04 +02:00
Shnupbups 67250a55d3
22w15a stuff (#3091)
* 22w15a stuff

* Apply suggestions from code review

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2022-04-19 11:06:11 +01:00
Player 8b8dc86b74 22w15a 2022-04-13 18:50:51 +02:00
enbrain 07cd703d97
Follow up of the titleRemainTicks rename (#3084) 2022-04-08 16:29:49 +01:00
Player 13c4ad0853 22w14a 2022-04-06 21:01:01 +02:00
Awakened-Redstone fd1158aa3f
Fix wrong mappings at InGameHud (#3075)
* Fix wrong mappings

`Lnet/minecraft/client/gui/hud/InGameHud;titleTotalTicks:I` and `Lnet/minecraft/client/gui/hud/InGameHud;titleRemainTicks:I` have some wrong mappings
The renaming is simple:
* `titleTotalTicks` -> `titleRemainingTicks` 
* `titleRemainTicks` -> `titleStayTicks`

Total ticks seems like the total time it is on the screen, but it is a reducing value, as it can be seen on `Lnet/minecraft/client/gui/hud/InGameHud;tick()V` where it has `--this.titleTotalTicks;`
Remain ticks seem to be the ticks remaining for the title on the screen, but it is the amount of ticks between fade out and fade in, on `TitleCommand` at `/title times fadeIn stay fadeOut` it's parameter is labled as `stay`

* Update InGameHud.mapping
2022-04-06 16:05:41 +00:00
apple502j 290abdc6a2
22w11a client (#3049)
* 22w11a font

* 22w11a sound stuff

* 22w11a options

* 22w11a macOS icon stuff

* 22w11a gl timer

* 22w11a pending update/desync fix

* 22w11a MC-235964 fix

* 22w11a screen

* 22w11a particle

* 22w11a realms

* 22w11a client util

* 22w11a more sequence stuff

* 22w11a misc client stuff

* Add newline
2022-03-23 10:37:29 +00:00
apple502j eb5070e74f
22w06a non-cursed stuff (#2999) 2022-02-10 17:31:50 +00:00
modmuss50 0ef70746f2 22w06a 2022-02-09 18:58:35 +00:00
haykam821 089b68aa24
Use suffixes for key binding fields in the GameOptions class (#2895)
Fixes #2888
2022-01-19 22:46:57 +00:00
modmuss50 26c319461b 22w03a 2022-01-19 17:26:32 +00:00
haykam821 c1fd719b76
Rename the BackgroundHelper class to ColorHelper (#2915)
* Rename the BackgroundHelper class to ColorHelper

Fixes #2907

* Move the ColorHelper class to the net.minecraft.util.math package

* Rename the ColorHelper.ColorMixer class to Argb

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-12-23 14:19:12 +00:00
enbrain db9a80f418
Document chat stuff (#2881)
* 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>
2021-11-24 20:16:37 +00:00
enbrain abb1308444
Map misc stuff (#2843) 2021-11-22 16:43:57 +00:00
Shnupbups 72c878c76c
Mapping Bonanza Part 1: Client stuff (#2845)
* Client stuff

* Update mappings/net/minecraft/client/font/BlankGlyph.mapping

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>
2021-11-22 15:28:19 +00:00
Shnupbups 875038dab0
21w42a stuff (#2776)
* 21w42a stuff

* stuff

* AutoSave -> Autosave

* Update mappings/net/minecraft/world/gen/chunk/SlideConfig.mapping

Co-authored-by: YanisBft <yanis.briffaut@gmail.com>

* Update mappings/net/minecraft/client/gui/hud/InGameHud.mapping

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

Co-authored-by: YanisBft <yanis.briffaut@gmail.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-10-26 14:11:35 +01:00
enbrain 677a3ebc13
Map GUI stuff (#2762)
* Map GUI stuff

* Apply suggestions from code review

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-10-16 14:01:23 +01:00
Shnupbups 45c3342757
21w39a stuff (#2719)
* 21w39a stuff

* __ -> _

* applied suggestions
2021-10-01 19:02:54 +01:00
modmuss50 7436b2b1d9 21w39a 2021-09-29 19:08:30 +01:00
enbrain 44bbc4c531
Rename fontRenderer to textRenderer (#2491) 2021-06-12 00:32:20 +01:00
enbrain 037c2c05f6
Map InGameHud and its inner class (#2450)
* Map InGameHud and its inner class

* Make it a link that goes to the actual field

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Update javadoc of renderStatusBars

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-06-01 16:43:38 +01:00
enbrain 4757c9a8c4
Map player list hud (#2439)
* Map player list hud

* Remove 'which is'

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* lasthealth -> lastHealth

Co-authored-by: YanisBft <doublecraft.official@gmail.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-05-29 12:03:14 +01:00
apple502j 32a23a2cb9
21w20a gui (#2421)
* 21w20a gui

* Rename ScreenTexts methods
2021-05-24 14:49:17 +01:00
Player 38f713e4fc 21w20a 2021-05-19 19:20:40 +02:00
Shnupbups 4445120f59
random misc things (#2376)
* random misc things

* Update mappings/net/minecraft/block/entity/EndGatewayBlockEntity.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-05-04 08:47:40 +00:00
enbrain 9668c58132
Drop uuid suffix from senderUuid (#2306) 2021-04-10 14:04:57 +01:00
modmuss50 696ae0e310 21w11a 2021-03-17 18:44:18 +00:00
liach 0ffc0f985e
Title packets (#2103)
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>
2021-03-01 10:48:36 +00:00
modmuss50 1bc0fa389c 21w08a 2021-02-24 19:41:03 +00:00
ByMartrixX b4973c0b60
Port some stuff from #2048 to snapshot (#2098)
* 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>
2021-02-23 12:06:24 +00:00
Shnupbups 8417dd9ca2
client gui (#1975) 2021-01-22 17:39:44 +00:00
modmuss50 db6fa87282 20w49a 2020-12-02 18:29:46 +00:00
modmuss50 b4c1720de7 20w48a 2020-11-25 18:55:46 +00:00
Juuxel 0ba0cc7c63
Scoreboard mappings (#1880)
* Improve scoreboard mappings

* Add some jd

* ScoreboardCriterion.OBJECTIVES -> CRITERIA

* ScoreboardCriterion.createStatCriterion -> getOrCreateStatCriterion

* Update mappings/net/minecraft/scoreboard/ScoreboardPlayerScore.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2020-11-16 18:39:56 +00:00
haykam821 6cba124d0b
Map the remaining static Text fields (#1747)
* Map the remaining static Text fields

* Remove an incorrect mapping for a volatile field

* Fix a typo in the mapping for result folder text static field

Co-authored-by: YanisBft <doublecraft.official@gmail.com>

* Improve static Text field suffixes

Co-authored-by: YanisBft <doublecraft.official@gmail.com>

* Remove a stray argument mapping in the RealmsSelectWorldTemplateScreen class

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-11-14 12:23:59 +00:00
enbrain fc19740be8
Update InGameHud (#1871) 2020-11-14 12:10:29 +00:00
modmuss50 3e78db4504 20w46a 2020-11-11 19:27:23 +00:00
enbrain c60ad89896
Add mappings for InGameHud and related classes (#1856) 2020-11-07 12:51:43 +00:00
joaoh1 51b2b77362
Map spyglass logic (#1834)
Co-authored-by: joaoh1 <joaoh1@users.noreply.github.com>
2020-11-05 19:37:46 +00:00
modmuss50 c91f482141 20w45a 2020-11-04 20:44:22 +00:00
cominixo f5a1b3d7ea
Add more DebugHud mappings (#1785)
Co-authored-by: cominixo01 <22600756+cominixo01@users.noreply.github.com>
2020-10-11 21:37:12 +01:00
enbrain 9846fff91d
Finish ChatHud mapping (#1779) 2020-10-08 08:52:05 +01:00
enbrain 42955da7a4
Add mappings for InGameHud (#1771) 2020-10-01 23:32:27 +01:00
YanisBft e6c1a58485
Some fixes (#1757)
* Some fixes

* lightLevel -> luminance

* added javadocs for luminance

* not sure
2020-09-18 13:02:12 +01:00
haykam821 89c7c0d8b7
Replace the remaining TEX suffixes for fields (#1761) 2020-09-18 13:01:32 +01:00
enbrain 117e014580
Add mappings for ChatHud (#1721)
* Add mappings for ChatHud

* seconds -> millis

* Update mappings/net/minecraft/client/gui/hud/ChatHud.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/client/gui/hud/ChatHud.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-08-30 11:08:17 +01:00
Yanis48 18cc384c52
Random client things (#1663) 2020-08-07 19:32:22 +01:00
modmuss50 a1347ccd43 1.16.2-pre2 2020-08-05 18:08:42 +01:00
joaoh1 6de883c226
Add mappings related to FOV/Distortion Effect options (#1633) 2020-07-30 11:16:16 +01:00
Yanis48 70b1474a32
Random client mappings (#1616)
* Random client mappings

* Update MinecraftClient.mapping

* Update gradle.properties
2020-07-29 01:40:12 +01:00
haykam821 a83a057fe4
Map unmapped fields that have getter methods (#1612)
* 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>
2020-07-27 19:44:57 +01:00
modmuss50 78fcff22ef 20w30a 2020-07-22 17:29:24 +01:00
Alexander 584cc58d8c
Map UUID in GameMessageS2CPacket (#1466) 2020-06-15 17:39:46 +01:00
modmuss50 64b704d914 1.16-pre5 2020-06-12 16:18:26 +01:00
modmuss50 e9c5c02d50 20w22a 2020-05-29 14:31:34 +01:00
modmuss50 4f89f2fdba 20w21a 2020-05-20 17:12:58 +01:00
Yanis48 1f2d9d7e4b
Bring back the parameters (#1307)
* Bring back the parameters

* better

* isBlock -> matches

* matches -> is / isOf
2020-05-02 13:31:02 +01:00
liach e19a774422
Datafixer and random utilities (#1306)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-30 12:19:56 +01:00
modmuss50 9a617e4707 20w18a 2020-04-29 17:24:56 +01:00
modmuss50 659b0da1dd 20w17a 2020-04-22 16:59:47 +01:00
modmuss50 cf0ef0a6bd 20w15a 2020-04-08 15:44:19 +01:00
liach 7bd162989d
Pick up rendering stuff and dragon stuff (#1163)
* Pick up #1026 and adjustments

ArmorFeatureRenderer, BipedEntityModel and some player stuff

Parrot entity rendering fixes

At the moment, I don't know the difference between method_17110 and method_17111.

method_17110 -> animateModel

Still a provisional name.

Finish the other feature renderers (except CapeFeatureRenderer)

Name methods involving armor stands

Work on Ender Dragon-related things

overlay{Message, Tinted} -> {message, tinted}

Add docs for ClientPlayerEntity#wateriness (now wetness)

ClientPlayerEntity#getVisibilityReductionFromWater -> getScaledWetness

Actually add javadocs

newHealth -> health

DragonFireballEntityRenderer#FIREBALL -> LAYER

* Update mappings/net/minecraft/client/render/RenderLayer.mapping

Co-authored-by: Kyarei <uruwi@protonmail.com>
2020-03-11 15:09:33 +00:00
modmuss50 a389d8528f 1.15-pre7 2019-12-09 12:54:41 +00:00
liach 260c102750 1.15 pre 5 new mappings and other cumulative new mappings (#996)
Signed-off-by: liach <liach@users.noreply.github.com>
2019-12-05 23:28:21 +00:00
modmuss50 b3d3023795 1.15-pre4 2019-12-03 13:35:46 +00:00
modmuss50 89b749da2a Update enigma for Javadoc support.
Mappings were re-written storing the inner classes at the end of the file.
2019-12-02 13:55:18 +00:00
Siphalor 194e42daff Mapped entity rendering methods/classes & options screens (#913)
* Mapped entity rendering methods and classes & options screens

* Fixed Knit's issues and implemented liach's suggestions

* Removed strange leftover obf stubs (I blame Knit)

* Mapped some more stuff from AnimalModel

* Adapt some stuff from Runemoro

* Some more Runemoro

* Another two fixes

* Unmap unobfuscated mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Shorten dragon

by liach

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Shorten biped model

by liach

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Shorten another biped model

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
2019-10-25 09:02:48 +01:00
liach 6e610a892e Screen/GUI fields (#890)
Requested by 3tusk to map out the hud health stuff initially, so

Signed-off-by: liach <liach@users.noreply.github.com>
2019-10-07 11:47:33 +01:00
Runemoro 22d643e113 A few client mappings (#833)
* A few client mappings

* More client mappings

* Update TitleScreen.mapping

* Drop things that are gone
2019-09-01 16:22:10 +01:00
Runemoro 618083791c Fix some methods not using intermediaries (#788) 2019-07-08 18:09:22 +02:00
modmuss50 e20cfe9b0e 1.14.4-pre3 2019-07-08 13:27:46 +01:00
modmuss50 618de57dfb 1.14.4-pre2 2019-07-04 16:29:01 +01:00
Adrian Siekierka ab32dae2fa 1.14.4-pre1 2019-07-03 20:50:19 +02:00
Adrian Siekierka 1a6f261a2e The Great Intermediary Update, Part 1 2019-06-28 23:55:20 +02:00
Unknown 8c37c3e68f Hud and Screen related changes 2019-06-27 19:48:47 +08:00
modmuss50 b6ed693b8d 1.14.3-pre4 2019-06-19 20:24:08 +01:00
modmuss50 b27778997a 1.14.3-pre3 2019-06-19 18:48:53 +01:00
Griff T d14a4d7b67 Add message history related mappings. (#744) 2019-06-14 11:42:38 +02:00
modmuss50 8554a5ae8c 1.14.3-pre2 2019-06-07 12:45:25 +01:00
Chloe Dawn 510f8cbc08 Text refactoring + related mappings (#737)
* Text refactoring + related mappings

* Add a more explicit name for the truncated string getter

* Move Formatting to util package and fully map members

* Advancement#toHoverableText

* Correct mappings in ScoreboardObjective

* Various changes in NbtText and subclasses

* JSONREADER -> JSON_READER

* Shorten TranslatableText argument getter to getArg

* Cleanup mappings in Difficulty class

* Fix Style$Serializer#deserialize json parameter name

* Cleanup some field names in TranslatableText

* More changes to NbtText

* Fix incorrect method name in Texts

* toGreenText -> join

* Use more semantically correct name joinOrdered

* Fix method name in Entity

* Actually fix the method names.. derp
2019-06-07 12:18:04 +01:00
Adrian Siekierka bdbf125b33 1.14.3-pre1 2019-06-03 18:48:18 +02:00
Daniel She 47a4f0b338 Few gui & containers changes (#722)
- Mostly mapping gui & containers parameters
- RecipeBookButtonWidget -> TexturedButtonWidget
2019-06-03 18:06:58 +02:00
modmuss50 b60e6e7e6c 1.14.2 Pre-Release 1 2019-05-16 17:28:41 +01:00
Daniel She 281dcb15b9 Container + Screen Widgets (#694) 2019-05-12 10:26:20 +02:00
modmuss50 fa072139bf 1.14.1 Pre-Release 1 2019-05-07 17:05:49 +01:00
modmuss50 de13dda07c 1.14 Pre-Release 5 2019-04-18 22:01:39 +01:00
NeunEinser b948925b87 A few new pre-4 mappings (#633)
* A few new pre-4 mappings

* typo

* Update and rename ItemOminousBannerTranslataionKeyRenameFix.mapping to ItemOminousBannerTranslationKeyRenameFix.mapping

* Improvements + some parameter names for CartographyTableContainer
2019-04-18 21:51:33 +01:00
modmuss50 782b07c692 1.14 Pre-Release 4 2019-04-17 17:41:25 +01:00
Adrian Siekierka 13943c582b update to 1.14 Pre-Release 3 2019-04-16 17:51:03 +02:00
Runemoro d59d0ed42f Client mappings (#620) 2019-04-16 16:13:47 +02:00
modmuss50 2fd19127ea 1.14 Pre-Release 2 2019-04-12 15:38:24 +01:00