Commit Graph

83 Commits

Author SHA1 Message Date
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
Emily Rose Alexandra ee05e2b403
Bundle related methods (#1843)
* Bundle related methods

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

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

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

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

* Match ItemStack with Item methods

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2020-11-06 22:51:37 +00:00
modmuss50 c91f482141 20w45a 2020-11-04 20:44:22 +00:00
haykam821 cd6d0e6ccc
Replace remaining references to generic trader naming with merchant (#1778) 2020-10-10 12:48:27 +01:00
Yanis48 18cc384c52
Random client things (#1663) 2020-08-07 19:32:22 +01:00
modmuss50 04b555a4ff 1.16.2-pre1 2020-07-29 16:36:02 +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 c8192e4d36 20w28a 2020-07-08 18:49:17 +01:00
liach 3d581ecc5e
20w27a recipe book (#1538)
* 20w27a recipe book

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

* Recipe category option

* category options

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-07-07 22:52:06 +01:00
modmuss50 b446f6047d 20w27a 2020-07-01 17:44:38 +01:00
Joseph Burton d3e8fd1935
Fix lots of spelling errors throughout yarn (#1506)
* Fix lots of spelling errors throughout yarn

* Delete empty comment
2020-06-24 17:34:48 +01:00
modmuss50 d11cca29cf 1.16-pre4 2020-06-11 18:22:45 +01:00
modmuss50 0295b1e8d5 1.16-pre1 2020-06-04 20:08:31 +01:00
­Sollace 294117575e
20w15a Mapping Fixes 2: The Jumping The Shark Update (#1172)
* Fill in missing names, fix questionable ones

* ForgingScreen -> AbstractForgingScreen

* Revert background -> texture

* Revert background -> texture (2)

* AbstractForgingScreen -> ForgingScreen

* AbstractForgingScreen -> ForgingScreen
2020-04-23 13:37:17 +01:00
Joseph Burton 69b0299c91
Slot documentation stuff (#1198)
* Slot documentation stuff

* Fix javadoc paragraphs and add comment about click data with throw action type
2020-03-19 14:41:44 +00:00
liach 5f5d0a8746
InfoEnchantment -> EnchantmentLevelEntry (extends WeightedPicker.Entry) (#1182)
* InfoEnchantment -> EnchantmentsEntry (extends WeightedPicker.Entry)
Enchantment$Weight -> Enchantment$Rarity

again time to end that utter nonsense

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

* Don't cry at me for not closing #1181 if you get fooled into think this is the actual "enchantment"
this thing is just a weighted picker entry; even client data gen properties entry (key-value pair) has proper hashCode and equals and this thing doesn't

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

* Good suggestions earthcomputer

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

* Suggested EnchantmentLevelEntry

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

* Selected changes for enchantment helper

* Rephrase to make it less confusing per juuz

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-17 20:26:12 +00:00
liach 0662643338
Followup cleanups around screen handler change (#1166)
* Followup cleanups around screen handler change
Closes #1153

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

* Lol i missed this

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

* SCREEN_TITLE -> TITLE

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-03-12 21:05:02 +00:00
liach d24dec94fb
Plant block, smithing table container, data gen, dfu, dynamic seriali… (#1148)
* Plant block, smithing table container, data gen, dfu, dynamic serializable boolean

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

* updateresult

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

* Some biome sound and container screen etc

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

* More stuff
block state model generator is too big, maybe need cloak (enigma too slow)

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

* Update mappings/net/minecraft/container/ForgingContainer.mapping

* conatiner name -> screen title

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

* Document the 3 types of sounds; biome ambient sound player -> effect sound player

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

* Update ModelIds.mapping

* container -> screen handler

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

* Update mappings/net/minecraft/client/gui/screen/ingame/SmithingScreen.mapping

Missed this boi

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-08 22:23:40 +00:00
Prospector 462812a68e
Container -> ScreenHandler (#1106)
* Container -> ScreenHandler

* Fix first set of issues (excluding comments)

* Fix comment issues
2020-03-08 22:18:57 +00:00