Commit Graph

79 Commits

Author SHA1 Message Date
YanisBft 86a0f7ffb8
Some client mappings (#2481)
* Some client mappings

* Update mappings/net/minecraft/client/gui/widget/EntryListWidget.mapping

Co-authored-by: ByMartrixX <47987888+ByMartrixx@users.noreply.github.com>

* Update mappings/net/minecraft/client/gui/widget/EntryListWidget.mapping

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

Co-authored-by: ByMartrixX <47987888+ByMartrixx@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-09 00:16:31 +01:00
Juuxel 9ccbdabbef
Rename HandledScreen.displayName -> playerInventoryTitle (#2434)
It's the display name of the player inventory, which in
a screen corresponds to its title.
2021-05-28 22:13:28 +00:00
apple502j 32a23a2cb9
21w20a gui (#2421)
* 21w20a gui

* Rename ScreenTexts methods
2021-05-24 14:49:17 +01:00
enbrain 4700861064
Map button lambda parameters (#2416)
* Map button lambda parameters

* spawnNPCs -> spawnNpcs

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

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-05-20 14:21:46 +00:00
Player 38f713e4fc 21w20a 2021-05-19 19:20:40 +02:00
enbrain a27c5b3aad
Map screen stuff (#2385) 2021-05-12 13:00:33 +00:00
enbrain 17fead3d2e
Refactor coordinate names to follow conventions (#2366) 2021-05-04 08:46:46 +00:00
apple502j a99ec0c4f0
21w16a stuff (#2340) 2021-04-23 19:08:59 +00:00
Shnupbups 4b9ac0574d
misc stuff (#2292)
* misc stuff

* Apply suggestions from code review

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

* stuff

* carver config

* heightproviders

* Update HeightProvider.mapping

* Update mappings/net/minecraft/entity/passive/AxolotlEntity.mapping

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-09 09:36:00 +01:00
modmuss50 3d39c74f21 21w14a
All of the package-info classes are just reformatted. The tool used to generate them didn't output the same format as matcher/engima
2021-04-07 18:22:56 +01:00
Juuxel c34c419fa8
Screen handler updates (#2264) 2021-04-04 13:09:51 +01:00
LambdAurora 355c529aa1
NBT refactor: step 3 (#2257)
* 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>
2021-04-02 22:03:30 +01:00
modmuss50 414cedb22f 21w13a 2021-03-31 19:47:17 +01:00
Emily Rose Alexandra b866ab6da7
Book mappings (#2171) 2021-03-21 13:13:45 +00: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
modmuss50 252ad11d0a 21w10a 2021-03-10 18:34:17 +00:00
Shnupbups 84b016a8a2
21w08a Packet stuff (#2104)
* packets and stuff

* k

* oh gosh oh heck i got carried away

* Update PlayerMoveC2SPacket.mapping

* NbtTagSizeAllocator -> NbtTagSizeTracker

* Delete TitleClearS2CPacket.mapping

* Delete ActionBarTextSetS2CPacket.mapping

* Delete SubtitleTextSetS2CPacket.mapping

* Delete TitleTimesS2CPacket.mapping

* Delete TitleTextSetS2CPacket.mapping

* Update ClientPlayPacketListener.mapping

* Update ServerPlayNetworkHandler.mapping

* Apply suggestions from code review

github online editor sucks lol

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

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

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

* Apply suggestions from code review

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

* Update mappings/net/minecraft/server/filter/TextStream.mapping

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

* liach stuff

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-10 18:17:14 +00:00
liach fa10065c59
Text Filtering additions (#2085)
* 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>
2021-03-03 20:20:36 +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
modmuss50 03e20d7d9a 21w07a 2021-02-17 18:45:32 +00:00
Shnupbups 8417dd9ca2
client gui (#1975) 2021-01-22 17:39:44 +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
Thalia Nero e0df01cad6
Entity rendering (#1861)
* Map entity model classes.

* Map new stuff in entity renderers.

* - EntityModelParts -> EntityModels
- ModelPartGroup -> ModelPartData
- ModelPartData -> ModelPartDataNode
- TexturedModelPartGroup -> TexturedModelPartData

* Apply suggestions from code review

Co-authored-by: Gegy <gegy1000@gmail.com>

* Apply other suggestions

* Update mappings/net/minecraft/client/model/TexturedModelData.mapping

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

* Remap *PartData -> *ModelData, move Dilation to client.util.math

* Update crobbed mapping.

Co-authored-by: Gegy <gegy1000@gmail.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-11-12 08:57:40 +00:00
modmuss50 3e78db4504 20w46a 2020-11-11 19:27:23 +00:00
modmuss50 c91f482141 20w45a 2020-11-04 20:44:22 +00:00
enbrain 6cc1a9368a
Finish MerchantScreen mapping (#1795)
* Finish MerchantScreen mapping

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

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

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

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-10-13 08:55:42 +01:00
haykam821 3c373a9870
Fix some static final fields not having uppercase names (#1780)
* Fix some static final fields not having uppercase names

* Fix typo in capitalization of static final message field

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2020-10-08 08:51:44 +01:00
enbrain 6a9a366b9c
Add mappings for SignEditScreen (#1732) 2020-08-30 11:06:34 +01:00
cphos 25cf4676f6
BookScreen member rename (#1690)
* BookScreen member rename

* BookScreen cachedPage -> cachedPages

* Revert "BookScreen cachedPage -> cachedPages"

This reverts commit b93477dc01.
2020-08-16 12:43:26 +01:00
modmuss50 c8192e4d36 20w28a 2020-07-08 18:49:17 +01:00
Yanis48 4b5dadbafa
Quick fixes (#1534)
* Quick fixes

* Update EntryListWidget.mapping
2020-07-05 13:45:54 +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
Alexander f0d14abde6
Some packet parameters, I guess (#1465)
* 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
2020-06-16 12:43:11 +01:00
modmuss50 4f3d7449a3
Map the remaining inner classes (#1443)
* Map the remaining inner classes

* TooltipSupplier

* PageContent

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

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

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-06-08 20:50:36 +01:00
Juuxel 8278778f58
Map HandledScreen label coordinates (#1428) 2020-06-07 15:20:34 +01:00
modmuss50 e9c5c02d50 20w22a 2020-05-29 14:31:34 +01:00
Juuxel bfbd2bdc41
HandledScreen parameters (#1389)
* HandledScreen parameters and renames

- Mapped a lot of parameters in HandledScreen
- draw[Foreground/Background] -> render[Foreground/Background]
  for consistency with Screen.render and Screen.renderBackground

* Revert draw -> render changes
2020-05-27 11:18:38 +01:00
2xsaiko 77f8ede4b4
20w20a mappings (#1353)
* 20w20a mappings

* GameModeSelectScreen -> GameModeSelectionScreen

* Revert class_5281 to obfuscated in favor of #1350

* Some improvements

* worldBorderProperties -> worldBorder

* Merge non-conflicting names

* Rename some existing mappings where names got lost

* Small changes

* Remove leftover rebase tags

* Remove duplicate mappings

* 20w21a changes

* Cleanup & Map ChunkGeneratorType.Preset

* Adjust DimensionType mappings

* hellish -> hasCeiling
2020-05-20 22:57:06 +01:00
Shnupbups 4c440d8179
20w20a stuff (#1351)
* some stuff

new criterions, gamemode switcher screen, and datafixes

* more stuff

predicates and the other criterion i missed

* more predicate stuff

* Update mappings/net/minecraft/advancement/criterion/ItemUsedOnBlockCriterion.mapping

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

* Update PlayerGeneratesContainerLootCriterion.mapping

* Update GameModeSwitcherScreen.mapping

* more gamemode switcher stuff

* Update mappings/net/minecraft/advancement/criterion/PlayerGeneratesContainerLootCriterion.mapping

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

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

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

* toast and tutorial things

just figured i'd throw this in

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-05-20 00:49:55 +01:00
modmuss50 659b0da1dd 20w17a 2020-04-22 16:59:47 +01:00
liach 7180726b1f
Fix javadoc warnings (#1286)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-18 14:55:18 +01:00
liach aae7c8179f
Map the new serverbound jigsaw generating packet (#1283)
This is jigsaw generate things not things generate jigsaw

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-16 02:55:11 +01:00
liach ab49bb2e7b
Jigsaw and rotation/rule test stuff (#1227)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-26 14:10:31 +00:00
modmuss50 a068df5d3d 20w13a 2020-03-25 17:49:03 +00: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 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
modmuss50 1b7aa91a4d 20w10a
bit of a big one
2020-03-04 20:22:46 +00:00
Juuxel 870a3395ab Container and ContainerScreen improvements (#1035)
* Property mappings and javadoc

* BlockContext docs

* Add javadocs, param names, stacks -> trackedStacks

* Port more changes from Container -> Menu

- (Nameable)ContainerProvider -> (Nameable)ContainerFactory
  Prevents conflicts with the ContainerProvider used in screens.

- ContainerScreen9/54 -> Generic(3x3)ContainerScreen
  To match the menu class names.

- ClientDummyContainerProvider -> SimpleNamedContainerFactory
  Closes #889.

- AbstractContainerScreen -> ContainerScreen
  Removed pointless abstract prefix.

* Fix some block methods, PlayerContainer tweaks

* Networking-related container mappings
2020-01-21 18:21:12 +00:00
modmuss50 ea08e25f4f 1.15.2-pre1 2020-01-14 20:22:47 +00:00
Pyrofab b9f12fb5c8 Status effect inventory rendering mappings (#1041)
* AbstractInventoryScreen#method_18642(3) -> renderStatusEffectBackgrounds

* AbstractInventoryScreen#drawPotionEffects(0) -> drawStatusEffects

* AbstractInventoryScreen#renderStatusEffectBackgrounds(3) -> drawStatusEffectBackgrounds

* AbstractInventoryScreen#renderStatusEffectSprites(3) -> drawStatusEffectSprites

* AbstractInventoryScreen#method_18644(3) -> drawStatusEffectDescriptions

* AbstractInventoryScreen#drawStatusEffectBackgrounds(3)[1 = ] -> x

* AbstractInventoryScreen#drawStatusEffectBackgrounds(3)[2 = ] -> top

* AbstractInventoryScreen#drawStatusEffectBackgrounds(3)[2 = top] -> yIncrement

* AbstractInventoryScreen#drawStatusEffectBackgrounds(3)[3 = ] -> effects

* AbstractInventoryScreen#drawStatusEffectSprites(3)[1 = ] -> x

* AbstractInventoryScreen#drawStatusEffectSprites(3)[2 = ] -> yIncrement

* AbstractInventoryScreen#drawStatusEffectSprites(3)[3 = ] -> effects

* AbstractInventoryScreen#drawStatusEffectDescriptions(3)[1 = ] -> x

* AbstractInventoryScreen#drawStatusEffectDescriptions(3)[2 = ] -> yIncrement

* AbstractInventoryScreen#drawStatusEffectDescriptions(3)[3 = ] -> effects

* AbstractInventoryScreen#<init>(3)[2 = ] -> inventory

* AbstractInventoryScreen#<init>(3)[3 = ] -> name
2020-01-08 14:34:26 +00:00
Chocohead c7bdfa7558 Fix dodgy parameter names (#1028) 2019-12-27 10:48:15 +00:00
shedaniel 644cab467a some client names and moved PageTurnWidget (#1019)
* some client names and moved PageTurnWidget

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2019-12-26 12:29:59 +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
Runemoro 966033b532 More rendering mappings (#986)
* More rendering mappings

* Even more rendering mappings

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

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

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

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

* Fix HashStrategy removed in last PR

* Fixes by liach
2019-12-02 13:47:40 +00:00
liach 1075e2fd3f 46a new stuff (#955)
* 46a new stuff

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

* render

Signed-off-by: liach <liach@users.noreply.github.com>
2019-11-13 19:59:16 +00:00
modmuss50 a867725a7f 19w46a 2019-11-13 17:34:56 +00:00
modmuss50 3bf4ded164 19w45a 2019-11-07 19:37:31 +00: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
liach e4fd77a6a9 Little random bits (#861)
Signed-off-by: liach <liach@users.noreply.github.com>
2019-09-30 21:26:39 +01:00
Juuxel e1c4281e7d Small book and text tweaks (#883)
* More text stuff

* Fix BookScreen page button names

* Improve BookEditScreen button names
2019-09-29 18:31:40 +01:00
Juuxel d7687c5d92 Fix pages being called lines in BookScreen (#869)
* Fix pages being called lines in BookScreen

* Suggestions + map BookEditScreen.Position(int, int) params
2019-09-22 12:31:03 +01:00
Juuxel 56ed1582ab Creative inventory mappings (#843)
* Creative inventory mappings

* More creative inventory mappings

* method_2476 => applyStatusEffectOffset

* field_2888 -> ignoreTypedCharacter, searchedTags -> searchResultTags
2019-09-22 10:38:45 +02:00
modmuss50 2565f0b45b 19w38a 2019-09-18 16:17:05 +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
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
modmuss50 8554a5ae8c 1.14.3-pre2 2019-06-07 12:45:25 +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
NeunEinser bc359aa1ac fix visibility issues (#703) 2019-05-16 18:20:12 +02:00
copygirl ca1cbec5b8 Gui > Drawable and lots of connected changes (#51)
* Gui > Drawable and lots of connected changes

* Merge drawable package into gui
2016-08-28 13:20:58 +02:00
Tyler Hancock b9458a87bc Mapped a bunch of stuff (#38) 2016-08-24 18:07:54 -04:00
copygirl 21511e09dd Tons of GUI related mappings + reorganization (#29)
* Boss bar mappings

* Tons of GUI related mappings + reorganization

* Move GUI classes out of gui.screen

* Move classes out of old hud.impl package

* Reorganize GUI packages (number 2)
2016-08-23 10:25:04 +02:00