Commit Graph

118 Commits

Author SHA1 Message Date
Shnupbups 56cf176c6e
24w14potato stuff (#3830)
* 24w14potato stuff

Still quite a few things left, but here's what I've done
Can't wait to see none of these mappings make it past this week :)
2024-04-03 21:44:59 +11:00
modmuss50 af396dc501 24w14potato 2024-04-01 11:22:45 +01:00
modmuss50 184f7a6562 24w12a 2024-03-20 16:27:30 +00:00
Shnupbups e86ddfd007
24w10a stuff (#3810)
* 24w10a stuff

* whoops

---------

Co-authored-by: modmuss <modmuss50@gmail.com>
2024-03-07 13:42:45 +11:00
modmuss50 c085684b63 24w10a 2024-03-06 15:14:46 +00:00
apple502j 1a6cb21e97
24w09a more stuff (#3803)
* loot, scoreboard, screen, village

* Map chunk stuff

* Finish the stuff (mostly)
2024-03-01 13:50:01 +11:00
modmuss50 90fffc782a 24w09a 2024-02-28 19:15:21 +00:00
apple502j 08f2d8fcdf
24w05a stuff (#3780)
* 24w05a stuff

* More stuff

* Fix capitalization

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-03 01:02:58 +11:00
Shnupbups a83c057077
24w03a packet stuff (#3765)
* 24w03a packet stuff

* a bit more
2024-01-18 12:28:29 +09:00
Shnupbups 45161af845
24w03a stuff (that isn't packets or networking) (#3763)
* 24w03a stuff

No packet or networking stuff here! Just the not-packet-or-networking stuff.

* damnit github

* a bit more
2024-01-18 11:27:51 +09:00
modmuss50 e003d7446f 24w03a 2024-01-17 16:52:02 +00:00
Shnupbups 1bbec7296b
23w51 stuff (#3754)
not entirely finished, but it's getting late...
2023-12-19 18:41:40 +09:00
modmuss50 8c992c5e9a 23w51a 2023-12-18 15:11:52 +00:00
apple502j f8d26ea5f4
23w45a misc (#3726)
* 23w45a misc

* Add unpick
2023-11-12 00:58:28 +11:00
Shnupbups 7a80090b57
23w42a stuff (#3699)
* 23w42a stuff

No realms or world load stuff here

* is this borked?
2023-10-19 22:43:23 +09:00
apple502j e2c1b54681
23w35a more recipes (#3649) 2023-09-01 22:24:03 +02:00
modmuss50 d074c62ba7 23w35a 2023-08-30 14:12:47 +01:00
Shnupbups 2fb9efb02a
23w33a stuff (#3637) 2023-08-18 17:26:43 +09:00
modmuss50 b26d6f6764 23w33a 2023-08-17 16:26:56 +01:00
Shnupbups c79ff3fbdc
23w32a stuff (#3626)
* 23w32a stuff

* 23w32a stuff

* re-fix build whoops

* whoops

That's what you get for trying to do this stuff on a phone
2023-08-10 12:09:04 +09:00
modmuss50 dac0dd71e1 23w32a 2023-08-09 16:28:38 +01:00
apple502j bf7b9083ec
23w31a misc (#3623) 2023-08-06 02:35:06 +10:00
apple502j 127beb313d
23w31a networking (#3612)
* Map new packets

* Map new listeners

* Map general networking

* Map server networking

* Map client networking

* Map misc networking, delete now-mapped class

* Repackage Netty handlers

* Fix packet yarnbugs
2023-08-04 20:01:01 +09:00
Shnupbups 5d1e3dcd8c
More 23w31a stuff (#3613)
Just a couple of extras
2023-08-04 12:20:46 +09:00
modmuss50 c073210031 23w31a 2023-08-02 18:18:08 +01:00
bluebear94 46503b6892
1.20 client mappings (#3582)
* Map LogoDrawer constants

* Map constants in PlayerSkinDrawer

Since we can’t consult mojmap, the precise meanings of the various
‘8’ constants will remain elusive. The mappings in this commit
are inferred from the position of the ‘40’ (FACE_OVERLAY_X).

* Map more GUI constants

* Add parameter mapping for SpectatorHud.cycleSlot

* Map two Particle fields

* Map the rest of the Frustum class

* Map WorldRenderer

* Add mappings for debug renderers and entity models

* SinglePartEntityModel.ZERO → TEMP

This is not always zero; rather, it is used for temporary storage.

* Add more mappings for SplashTextRenderer

* Fix javadocs for SplashText.render’s alpha parameter

* Map screen handler constants

* Map interactivity parameters for structure blocks

* Add mappings for various fixes

* Implement suggested changes

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Shnupbups <shnupbups@gmail.com>
2023-06-29 11:48:21 +01:00
apple502j 4ab0ab3f2b
1.20-pre7 symlink stuff (#3588) 2023-05-30 13:31:46 +09:00
apple502j 48a697cbb2
1.20-pre2 stuff (#3579)
* 1.20-pre2 stuff

* Update mappings/net/minecraft/screen/AnvilScreenHandler.mapping

* Update mappings/net/minecraft/recipe/Ingredient.mapping
2023-05-18 20:15:52 +09:00
modmuss50 e02a7e6446 1.20-pre2 2023-05-16 15:06:26 +01:00
Shnupbups e8105d86b1
1.20-pre1 stuff (#3571)
* 1.20-pre1 stuff

* Update LootContextParameterSet.mapping

* RandomSequencesState
2023-05-12 01:22:00 +09:00
modmuss50 09085b2dbb 1.20-pre1 2023-05-10 14:10:04 +01:00
modmuss50 377ae91945 23w18a 2023-05-03 14:29:41 +01:00
Shnupbups 17900fc490
22w16a stuff (#3550) 2023-04-22 00:15:29 +09:00
Player 64d79d8f07 23w14a 2023-04-05 10:59:01 -04:00
modmuss50 ab74ad09af 23w12a 2023-03-22 16:31:25 +00:00
apple502j dd773c9900
1.19.4-pre2 stuff (#3518) 2023-03-01 21:04:07 +09:00
apple502j ea2a1c0714
More 1.19.4-pre1 stuff (#3516)
* 1.19.4-pre1 stuff

* Fix javadoc

* Update mappings/net/minecraft/data/server/tag/TagProvider.mapping

* Update mappings/net/minecraft/data/server/tag/TagProvider.mapping

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Shnupbups <shnupbups@gmail.com>

---------

Co-authored-by: Shnupbups <shnupbups@gmail.com>
2023-02-25 17:25:22 +09:00
Juuz 4ea8ba7381
Minor fixes (#3504)
* Minor fixes

- Fix casing in the name of GlImportProcessor, fixes #3488
- Use full word "playerInventory" instead of "inv" in
  ScreenHandlerFactory for clarity. The conventions instruct to avoid
  unnecessary abbreviations and this name could be mistaken for the
  inventory of the block that the screen handler is for.
- BlockRenderManager.renderBlockAsEntity: vertexConsumer ->
  vertexConsumers since it's a VertexConsumerProvider

* Rename stack parameter in block breaking methods to tool

Closes #2988. "Tool" more clearly shows what stack the param is supposed
to be.

* Block/AbstractBlockState.isTranslucent -> isTransparent

It's true for any block with a non-full shape as well as
vines, (colourless) glass and plants - none of these are translucent.
2023-02-20 18:43:56 +11:00
Juuz 47b82b427a
Improve methods related to closing handled screens (#3505)
* ChestBlockEntity.onInvOpenOrClose -> onViewerCountUpdate

The new name is more accurate - the method takes in the old and new
viewer counts as parameters.

* ScreenHandler.close -> onClosed

Fixes #3503. The method doesn't close anything, it's only called when the screen handler gets closed.

* PlayerEntity.closeScreenHandler -> onHandledScreenClosed

Fixes #2612. The method closes nothing, it just runs the closing tasks
*after* the screen has closed. The current name can easily be confused
with closeHandledScreen(), which does actually close the screen.

* Document PlayerEntity.closeHandledScreen
2023-02-20 18:40:52 +11:00
modmuss50 b3dc08e924 23w07a 2023-02-15 16:19:06 +00:00
apple502j 1370ef6412
23w06a client (#3489)
* 23w06a client

* Apply suggestions from code review

Co-authored-by: Shnupbups <shnupbups@gmail.com>

---------

Co-authored-by: Shnupbups <shnupbups@gmail.com>
2023-02-13 18:27:49 +01:00
apple502j c85488944d
23w06a stuff (#3490)
* 23w06a stuff

* Apply suggestions from code review
2023-02-12 16:46:33 +01:00
Calum 396336313f
23w06a - Experiments Screen (#3482)
* Experiments Screen

* getDatapackName -> getExperimentName

* Revert "getDatapackName -> getExperimentName"

This reverts commit cbf645f791.

* Update ExperimentsScreen.mapping
2023-02-10 11:32:46 +09:00
Shnupbups 62fab3a9e7
23w06a, more stuff (#3485)
Things others missed
2023-02-09 21:30:37 +09:00
modmuss50 1c9c83960f 23w06a 2023-02-08 16:10:32 +00:00
Shnupbups e048f8d00b
23w05a stuff (#3469)
Not entirely comprehensive, but as much as I can do right now
2023-02-02 16:39:33 +09:00
modmuss50 47a62f3760 23w05a 2023-02-01 15:33:02 +00:00
Shnupbups a76c452f2b
23w04a stuff (#3464)
* 23w04a stuff

mostly smithing related

* fix conflict

* Add PalettedPermutationsAtlasSource

* Update RecipeProvider.mapping

* a few more missing things

* Update mappings/net/minecraft/client/gui/screen/recipebook/RecipeResultCollection.mapping

* Apply suggestions from code review

* damnit

* more
2023-01-27 19:16:31 +09:00
MattiDragon 2476989327
Map armor trims and related things (#3463)
* Armor trim changes

* Map more armor stuff

* Armor trim recipe and more

* Begin work on forging screen changes

* More armor trim related mappings

* Fix mistakes

* Fix screen handler package

* More fixes

* Forgot one

* More descriptive name
2023-01-27 09:42:30 +09:00
modmuss50 be911685f0 23w04a 2023-01-24 16:14:55 +00:00
Shnupbups e9dc3a1c4d
23w03a stuff (#3458)
* 23w03a stuff

kinda rough, but i need sleep

* Delete C2SBundlePacket.mapping
2023-01-20 13:10:00 +09:00
apple502j 3bd4327ebe
Great Registry Repackaging (#3396)
* 22w45a registry

* More registry

* Great Registry Repackaging

Registry packages have moved to `net.minecraft.registry`.
Tag packages have moved to `net.minecraft.registry.tag`.

* Revert defaulted registry rename

* Rename RegistryKeys fields to fix inconsistency

* Fix javadoc

* Move some classes again, per haykam suggestion

* Fix javadoc

* Update CommandRegistryAccess.mapping
2022-11-16 23:51:52 +11:00
Juuz 6b11c8b43a
Rename ScreenHandler.transferSlot -> quickMove (#3385)
Fixes #2944.

Co-authored-by: modmuss50 <modmuss50@gmail.com>
2022-11-10 16:25:19 +00:00
apple502j 657bc4749b
22w43a stuff (#3369)
* 22w43a stuff

* Fix javadoc

* Map more stuff

* More field mappings

* Update mappings/net/minecraft/world/World.mapping

* Apply suggestions from code review
2022-11-01 22:11:24 +11:00
YanisBft 1ba4f2cf67
Map some block entity constants (#3307)
* Map some block entity constants

* Update mappings/net/minecraft/block/PointedDripstoneBlock.mapping

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

* Update mappings/net/minecraft/block/PointedDripstoneBlock.mapping

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

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

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

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

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

* Update PistonBlockEntity.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2022-10-07 10:36:58 +01:00
apple502j bcfea7f592
Fix typo and outdated javadoc (#3290) 2022-09-10 10:33:18 +01:00
apple502j 13bc288ce4
Document ScreenHandler (#3258)
* Document ScreenHandler

* Document more screen handler 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>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-13 14:37:06 +01:00
apple502j 393b59d5e5
1.19.1-pre6 stuff (#3253)
* 1.19.1-pre6 stuff

* Map ItemRemoveBlockEntityTagFix

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-25 20:30:41 +01:00
apple502j 7b33eeee9a
1.19.1-pre1 abuse and ban (#3220)
* 1.19.1-pre1 abuse/ban

* Rename ConfirmChatLinkScreen etc
2022-06-21 23:14:18 +01:00
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
apple502j 6b0fbc14a5
1.19-pre1 stuff (#3167)
* 1.19-pre1 stuff

* More 1.19-pre1 stuff

* Revert StructureManager, doing in other PR

* Finish 1.19-pre1 mapping

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-05-24 08:56:17 +01:00
haykam821 3e46372dbd
Move the ScreenTexts class to the net.minecraft.screen package (#3118)
Fixes #3112

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-05-20 16:50:20 +01:00
apple502j 1adf25af2e
22w19a misc (#3159)
* 22w19a misc

* Drop BufferBuilder mapping

* Apply suggestions from code review

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

* Wait what, I haven't pushed Realms32BitWarningChecker!?

* Fix javadoc

* Update mappings/net/minecraft/client/render/chunk/ChunkBuilder.mapping

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2022-05-17 12:53:58 +01:00
Shnupbups d9b288b901
22w18a stuff (#3137)
* 22w18a stuff

oh gosh oh heck

* whoops i did more

* Update Registry.mapping

* fixes

* Update MinecraftServer.mapping

* Apply suggestions from code review

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: frqnny <45723631+frqnny@users.noreply.github.com>
2022-05-11 19:28:01 +01:00
Player 5dc883892e 22w18a 2022-05-04 20:34:27 +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
Player 13c4ad0853 22w14a 2022-04-06 21:01:01 +02:00
Player 845467b67e 22w11a 2022-03-16 21:42:31 +01:00
apple502j 20e6725f2c
22w07a stuff (#3013)
* 22w07a stuff

* Update Registry.mapping

* Apply suggestions from code review

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

* registryKeys -> keys

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-18 22:44:32 +00:00
Player fd8c5a7486 22w07a 2022-02-16 19:13:28 +01:00
enbrain e8a1536e6c
Fix some setters not matching fields and params (#2978)
* Fix some setters not matching fields and params

* Revert params with current prefix

* Rename targetPool to target

to match the setter in JigsawBlockEntity

* Revert more renames

* Revert setInvStackList -> setInventory

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-09 16:42:35 +00:00
modmuss50 26c319461b 22w03a 2022-01-19 17:26:32 +00:00
enbrain abb1308444
Map misc stuff (#2843) 2021-11-22 16:43:57 +00:00
Shnupbups 268324fe32
Mapping Bonanza Part 13: Misc stuff (#2857)
* Misc stuff

* Apply suggestions from code review

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

* Update mappings/net/minecraft/test/TestContext.mapping

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

* Update mappings/com/mojang/blaze3d/platform/GlStateManager.mapping

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-11-22 15:32:05 +00:00
modmuss50 8551f2ee31 Revert "Use automapped names for documented fields (#2571)"
This reverts commit c96f65c814.
2021-07-19 21:49:44 +01:00
YanisBft c96f65c814
Use automapped names for documented fields (#2571)
* Use automapped names for documented fields

* forgot those

* update filament
2021-07-19 13:06:35 +01:00
apple502j 6aaad15ea9
1.17.1-pre2/pre3 stuff (#2535)
* 1.17.1-pre2 stuff

* 1.17.1-pre3 stuff
2021-07-01 13:54:06 +01:00
apple502j ec09b29d49
Map screen handlers (#2523) 2021-06-27 11:18:10 +01:00
apple502j 117c139ec9
More 1.17-pre1 stuff (#2501)
* More 1.17-pre1 stuff

* Rename to entireStack

* Use revision instead of nonce

* Document read/writeOptional

* Update mappings/net/minecraft/screen/ScreenHandler.mapping

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

* Update mappings/net/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen.mapping

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

* Rename getMaxY to getHeight

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-26 12:53:03 +01:00
ByMartrixX 6473b3525a
1.17.1-pre1 stuff (#2500)
* 1.17.1-pre1 stuff

* Apply review suggestions

* Rename BookUpdateC2SPacket constructor args

* Rename two BookUpdateC2SPacket getters

* Improve method_37420 name
2021-06-24 14:15:19 +01:00
modmuss50 39bf6bccf6 1.17.1-pre1 2021-06-18 14:36:45 +01:00
Emily Rose Alexandra 624433f650
Slot.isEnabled and CommandItemSlot -> StackReference (#2452)
* Fix infuriatingly mismapped Slot method

* CommandItemSlot -> StackReference

* Update command name
2021-05-30 22:10:13 +01:00
modmuss50 372c15cf37 1.17-pre1 2021-05-27 18:09:37 +01:00
LambdAurora 54b99399c7
Restore lost arguments and map some random stuff (#2426)
* Add back lost arguments.

* Map some random stuff.
2021-05-23 18:12:42 +00:00
Shnupbups 4e9beace48
21w19a stuff (#2392)
* 19a

* Update Items.mapping

* things

* datagen stuff
2021-05-13 06:09:53 +00:00
Bohdan Yaroslavtsev c109973ce2
Change Slot.onStackChanged -> Slot.onQuickTransfer (#2346)
Fixes https://github.com/FabricMC/yarn/issues/1656
2021-04-24 14:17:30 +00:00
Juuxel e7d81b806c
Add javadoc linting task using Filament (#2318)
* Add javadoc linting task

* Fix all javadoc formatting
2021-04-13 12:59:43 +01:00
haykam821 fbad72f5e9
Remove unnecessary paragraph end tags from documentation (#2295)
* Remove unnecessary paragraph end tags from documentation

* Update mappings/net/minecraft/item/Item.mapping

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

Co-authored-by: modmuss50 <modmuss50@gmail.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-11 13:08:07 +01:00
Juuxel c34c419fa8
Screen handler updates (#2264) 2021-04-04 13:09:51 +01:00
Emily Rose Alexandra 34b4fd5648
ScreenHandler adjacent (#2135)
* Start work on screen handlers

* Finish up

* One final change

* Change to canBeNested
2021-03-16 19:42:00 +00:00
Juuxel f7e197313f
Improve ScreenHandlerContext mappings (#2140) 2021-03-14 12:28:47 +00:00
liach 4f9e71559d
Fix repoted javadoc problems (#2132)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-12 20:18:08 +00:00
Shnupbups f709a6f44f
things (#2124) 2021-03-11 19:11:49 +00:00
modmuss50 252ad11d0a 21w10a 2021-03-10 18:34:17 +00:00
liach df3da30394
Bundle tutorial (#2011)
* Bundle tutorial

Signed-off-by: liach <liach@users.noreply.github.com>

* Fixed bad names and add some docs

Signed-off-by: liach <liach@users.noreply.github.com>

* Update mappings/net/minecraft/client/tutorial/TutorialManager.mapping

* Update mappings/net/minecraft/entity/player/PlayerEntity.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-07 13:31:42 +00:00
YanisBft ecb173a29a
Various stuff (#1987) 2021-01-31 12:37:36 +00:00
yitzy299 80fbe2cea7
Mapped parts of ScreenHandler (#1910)
* Mapped some methods in ScreenHandler

- Mapped method_30010 as removeStack
- Mapped some variable related to these methods
- A few more mappings in ScreenHandler

* Complete requested changes from PR review

- Changed back unrelated methods
- Fixed an area of ambiguity in onSlotClick

* Changed slotid to slotIndex

Fixing issue raised by Juuxel
2020-12-09 13:21:10 +00:00
Shnupbups d05efed548
20w49a stuff (#1903)
* fuck it i'm committing and going to bed

here's what i got

* lots of misc stuff

haha yes

* Delete class_5700.mapping
2020-12-09 12:21:32 +00:00
modmuss50 b4c1720de7 20w48a 2020-11-25 18:55:46 +00:00