Commit Graph

1100 Commits

Author SHA1 Message Date
enbrain f1144cf71d
Add mappings for MoreOptionsDialog and related classes (#1827) 2020-11-07 13:12:49 +00:00
YanisBft 34b70efdb0
Some EntryListWidget and entity methods and javadocs (#1812)
* Some EntryListWidget and entity methods and javadocs

* Update mappings/net/minecraft/entity/mob/PiglinEntity.mapping

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

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

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: Gegy <gegy1000@gmail.com>
2020-11-07 13:11:45 +00:00
enbrain c60ad89896
Add mappings for InGameHud and related classes (#1856) 2020-11-07 12:51:43 +00:00
LambdAurora 65b7048e2d
Add mappings for VertexFormat changes. (#1852)
* Add mappings for VertexFormat changes.

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

Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>

Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>
2020-11-06 14:25:59 +00:00
LambdAurora bcbbc58af5
20w45a player mappings! (#1853) 2020-11-06 14:25:29 +00:00
enbrain 0b512f737d
Add mappings for matrix classes (#1854) 2020-11-06 14:25:09 +00:00
Shnupbups 1e46390347
20w45a things (#1833)
* Things

* Update AbstractCauldronBlock.mapping

* a few more things

* Create EntityModelLayers.mapping

* Update MinecraftVersion.mapping

* Update Oxidizable.mapping
2020-11-06 14:24:34 +00:00
LambdAurora e0043013e9
Resource mappings. (#1842)
* Resource mappings.

* setLanguage
2020-11-06 12:49:38 +00:00
YanisBft 4e19194c55
Almost completed social interactions (#1846) 2020-11-06 12:49:22 +00:00
i509VCB 081cd51667
Initial entity management mappings (#1845)
There are a few unnamed classes but I feel those need a further look for their purpose or discussion on proper names.
2020-11-05 23:40:31 +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
LambdAurora b44b26d435
Add entity mappings (#1829)
* Add entity mappings

* Add javadoc to dismountVehicle.
2020-11-05 09:41:29 +00:00
modmuss50 c91f482141 20w45a 2020-11-04 20:44:22 +00:00
enbrain efff892375
Improve SuffixArray (#1811) 2020-11-04 20:27:14 +00:00
Thalia Nero 1c99d1ff21
Map some sky properties (#1793)
* Map some sky properties

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

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

* Manually add auto-named enum constant mappings.

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-11-01 22:55:29 +00:00
i509VCB 30ce1e3c52
Some Screen and ParentElement javadoc (#1801)
* Some Screen and ParentElement javadoc

* Apply suggestions from code review

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

* Update mappings/net/minecraft/client/gui/screen/Screen.mapping

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

* Update Screen.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-11-01 22:54:04 +00:00
Pranav Gade c3a623b253
Update ClientPlayerEntity.mapping (#1823)
just added a couple of missing mappings
2020-11-01 22:53:36 +00:00
enbrain 433e6bd861
Add mappings for RealmsClient and related classes (#1821)
* Add mappings for RealmsClient and related classes

* isBlockedPlayer -> isPlayerBlocked

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

* isBlocked -> isOwnerBlocked

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-11-01 22:53:21 +00:00
enbrain e439ad29e0
Add mappings for option screens (#1820)
* Add mappings for option screens

* button -> buttonList

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-11-01 22:52:30 +00:00
enbrain 62528bf471
Add mappings for Window and related classes (#1803) 2020-10-31 19:00:10 +00:00
hYdos 3fd13d6416
Sound system stuff (#1824)
* Sound system stuff

* Update mappings/net/minecraft/client/sound/SoundListener.mapping

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-10-31 18:59:57 +00:00
modmuss50 26b69cdf29 1.16.4-rc1 2020-10-27 17:51:10 +00:00
modmuss50 fdad4e06cf 1.16.4-pre2 2020-10-22 17:55:10 +01:00
YanisBft 1a9726310d
Social interactions (#1808) 2020-10-20 17:56:32 +01:00
enbrain 58ddb75642
Add javadoc for color parameters in TextRenderer (#1806) 2020-10-20 17:55:43 +01:00
modmuss50 724d9a0ac4 1.16.4-pre1 2020-10-15 18:34:26 +01:00
enbrain 24ea2b9fd2
Finish Option mapping (#1783)
* Finish Option mapping

* Update mappings/net/minecraft/client/options/Option.mapping

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-10-13 08:57:15 +01: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
unascribed 79847274e5
Correct parameter names in PlayerSkinTexture for strip* (#1794)
The third and fourth parameters are not width or height; they are the coordinates for the lower-right corner of the area.
2020-10-12 10:15:29 +01:00
Tom_The_Geek 732d70e376
Map class and methods in NarratorOptionsScreen (#1776)
* Map class and methods in NarratorOptionsScreen

* fix package

* screen -> parent and findOptionButton -> getButtonFor
2020-10-11 21:39:08 +01: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
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
YanisBft fa6bfa04c2
Entity model things (#1759)
* Entity model things

* Update TurtleEntityModel.mapping
2020-10-01 23:33:31 +01:00
enbrain 42955da7a4
Add mappings for InGameHud (#1771) 2020-10-01 23:32:27 +01:00
­Sollace 175bf8ce1a
Glint layer mappings (#1484)
* mapped the item glint layer methods

* Rename the fields to match the methods
2020-10-01 23:30:55 +01:00
haykam821 d7d319f1c6
Finish mapping the CreditsScreen class (#1764)
* Finish mapping the CreditsScreen class

* Rename the CreditsScreen.COLORS field to OBFUSCATION_PLACEHOLDER
2020-09-25 11:30:29 +01:00
ye-yu 6733dfe284
Add javadoc for the class Element (#1763)
* Add javadoc for the class Element

* Fix typo in Element javadoc

* Move parameter doc into arg comment

* Correct typo in isMouseOver

Co-authored-by: i509VCB <i509vcb@gmail.com>

* Remove argument name in argument doc

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

* Update punctuation on argument doc in Element

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

* Update punctuation on argument doc in Element - 2

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

* Update grammar on argument doc in Element

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

Co-authored-by: i509VCB <i509vcb@gmail.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-09-24 11:30:57 +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
YanisBft 3715a34d95
Some util package mappings (#1738)
* Some util package mappings

* Update mappings/net/minecraft/util/math/Direction.mapping

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

* lost in 1.16.3-rc1

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-09-11 18:43:33 +01:00
enbrain b83a107543
Add game mode mappings (#1742) 2020-09-11 18:43:03 +01:00
Joseph Burton 7a80589983
FAILED -> CONNECT_FAILED (#1755) 2020-09-08 18:26:25 +01:00
modmuss50 237d32462d 1.16.3-rc1 2020-09-07 16:23:13 +01:00
Pyrofab 944e8bf84c
Map missing client collision methods (#1710)
* Map missing client collision methods

* wouldSuffocateAt -> wouldCollideAt

* Remove spurious space

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

* Fix duplicate method mapping

* Unify overloads of isSpaceEmpty

* Differenciate block-only emptiness checks

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-09-02 21:27:47 +01:00
i509VCB 577ff9ccbf
Assorted mappings, mainly enchanting, some rendering params and generator type. (#1671)
* Assorted mappings, mainly enchanting, some rendering params and generator type.

(cherry picked from commit b573c98c68)

* Back to consumer

* drop empty comments

* yeet broken

* oops2

* Update World.mapping
2020-08-31 00:37:36 +01:00
enbrain e796ec1da1
Add a mapping for MinecraftClient.method_29041 (#1720)
* Add a mapping for MinecraftClient.method_29041

* Update mappings/net/minecraft/client/MinecraftClient.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:38 +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
enbrain 013c5e07aa
BooleanOption.set(Lnet/minecraft/class_315;)V -> toggle (#1729) 2020-08-30 11:07:32 +01:00
enbrain 4725f35b26
Add mappings for ScreenTexts (#1730)
* Add mappings for ScreenTexts

* get -> compose

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-08-30 11:07:14 +01:00
enbrain 6a9a366b9c
Add mappings for SignEditScreen (#1732) 2020-08-30 11:06:34 +01:00
enbrain 5f460cbebf
Add debugWorld mappings (#1722) 2020-08-27 09:20:57 +01:00
Yanis48 ee1d477e18
1 outer class, 3 inner classes & some moves (#1679)
* 1 outer class, 3 inner classes & some moves

* moved AreaHelper to world.dimension
2020-08-16 12:43:46 +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
Pyrofab e330d645f2
Map missing Framebuffer methods (#1687)
* Framebuffer#method_30278(0) -> getDepthAttachment

* Framebuffer#method_30277(0) -> getColorAttachment
2020-08-15 11:20:27 +01:00
i509VCB d259d20a26
Some nullable client field docs, and other misc docs (#1617)
* Some nullable client field docs, and other misc docs

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-08-12 08:21:57 +01:00
modmuss50 611f9abf40 1.16.2-rc2 2020-08-10 14:01:41 +01:00
Yanis48 18cc384c52
Random client things (#1663) 2020-08-07 19:32:22 +01:00
Yanis48 53cb803fda
Worldgen stuff (#1664)
* Worldgen stuff

* sky properties
2020-08-07 19:32:09 +01:00
modmuss50 7f0d3ff088 1.16.2-rc1 2020-08-07 17:13:30 +01:00
modmuss50 a1347ccd43 1.16.2-pre2 2020-08-05 18:08:42 +01:00
haykam821 2c73b1d711
Make mappings for option enums consistent (#1655) 2020-08-05 17:40:24 +01:00
i509VCB 91afa753ef
Assorted mappings and a bunch of param names (#1620)
* Assorted mappings

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

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

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-08-04 08:39:03 +01:00
shartte 1c1ba19432
Chest internals (#1648) 2020-08-03 12:49:22 +01:00
shedaniel 96ce5a1fcd
Text-related refactors & new text things (#1635)
* may be very controversial
- Change StringRenderable to StringVisitable
- OrderedText (I don't know about this but I can't think of a better one tbh, I'll throw in some more: CharacterVisitable, OrderedString, OrderedTextProvider)
- ReorderingUtils
- TextReorderingProcessor

Signed-off-by: shedaniel <daniel@shedaniel.me>

* improvements

Signed-off-by: shedaniel <daniel@shedaniel.me>

* improvements

Signed-off-by: shedaniel <daniel@shedaniel.me>

* innerConcat

Signed-off-by: shedaniel <daniel@shedaniel.me>
2020-08-02 09:34:45 +01:00
Shnupbups efa2f10b73
a couple things (#1629)
* a couple things

* move perspective to options package

* move processorlist
2020-07-31 20:35:57 +01:00
Erlend Åmdal 2d5595b39a
TransformingVertexConsumer -> OverlayVertexConsumer (#1636)
* TransformingVertexConsumer -> OverlayVertexConsumer

* getTransformingGlint -> getGlint
2020-07-31 15:53:19 +01:00
joaoh1 6de883c226
Add mappings related to FOV/Distortion Effect options (#1633) 2020-07-30 11:16:16 +01:00
modmuss50 04b555a4ff 1.16.2-pre1 2020-07-29 16:36:02 +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
i509VCB 1e133b9935
Move all realms screens to `realms.gui.screen`, move tasks to `task`package. And a few class renames. (#1588)
* Move all realms screens to `realms.gui.screen`, move tasks to `task` package. And a few class renames.

* Revert name change
2020-07-26 12:14:00 +01:00
Sturmlilie 2b658783fc
Uncontroversial client.font mappings (#1573) 2020-07-23 23:19:52 +01:00
Sturmlilie ca8887ede6
Rename client.font.TextureFont -> BitmapFont (#1596)
Two reasons for this:
1) There are no textures involved in this class,
   only CPU-side NativeImage's.
2) This name is consistent with the enum value in FontType.
2020-07-22 18:54:21 +01:00
modmuss50 78fcff22ef 20w30a 2020-07-22 17:29:24 +01:00
modmuss50 078ef269e1
All inner classes + misc other things. (#1586)
* All inner classes + misc other things.

* Update mappings/net/minecraft/state/property/Property.mapping

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

* move CharPredicate

* move CharPredicate

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-07-20 16:11:00 +01:00
liach e8dd3900c6
Fix some javadoc warnings (#1592)
There is still some entity view/structure feauture ones, 7 left

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-07-19 15:05:15 +01:00
Yanis48 f0cb45fab9
Spawn angle mappings (#1581) 2020-07-16 15:46:34 +01:00
Joseph Burton 495216bb07
Biome creator mappings (#1582) 2020-07-16 00:58:09 +01:00
modmuss50 8bc6276f19 20w29a 2020-07-15 17:04:53 +01:00
Joseph Burton 7a551e60e3
Dynamic registry manager references (#1577) 2020-07-14 18:31:42 +01:00
i509VCB 73f3f96ff9 Actually describe vague "checkChunk" methods. (#1548)
* Actually describe vague "checkChunk" methods.

These are quite vague, and the profiler call is all we really have to go off of.

From looking around the codebase, these methods validate the entity's chunkX/Y/Z positions are correct. If the entity's last and current chunk pos are not the same, move the entity to it's new chunk (which also changes the chunkX/Y/Z values to the correct ones).

Oh and some synthetic method params while I was at it.

* Update mappings/net/minecraft/server/world/ServerWorld.mapping

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

* Update mappings/net/minecraft/entity/Entity.mapping

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

* Update mappings/net/minecraft/client/world/ClientWorld.mapping

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

* Update mappings/net/minecraft/server/world/ServerWorld.mapping

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

* Update mappings/net/minecraft/client/world/ClientWorld.mapping

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

* match method name

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-07-10 13:04:35 +01:00
Vincent Lee 6f59e5c9c0
Adjustments to render layers (#1545) 2020-07-09 18:44:57 +01:00
liach 79b3bf1c4b
Less controversial new stuff (#1567)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-07-09 12:36:04 +01:00
LambdAurora 9936568cb4
Map system toast and file dragging handler in Screen, rename misnamed Screen (#1546)
* Map system toast and file dragging handler in Screen, rename misnamed screen.

* Update mappings/net/minecraft/client/toast/SystemToast.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-07-08 21:04:10 +01:00
modmuss50 c8192e4d36 20w28a 2020-07-08 18:49:17 +01:00
liach bdbb68371c
Sneak 100 (#1553)
* Sneak 100

Fixes for #1551

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

* Update mappings/net/minecraft/entity/Entity.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
2020-07-08 10:40:52 +01:00
i509VCB 03f8f184b6
Consoldiate all realms classes to net.minecraft.client.realms (#1549)
The client package was choosen since realms is only present in the client jar, hence all of it's classes are client only.
2020-07-07 22:52:35 +01:00
Yanis48 4b5dadbafa
Quick fixes (#1534)
* Quick fixes

* Update EntryListWidget.mapping
2020-07-05 13:45:54 +01:00
Shnupbups 8af9ff5509
Piglin Brutes and stuff (#1537)
* Piglin Brutes and stuff

* Delete RenameSwapHandsFix.mapping

* stuff

* Update mappings/net/minecraft/entity/mob/PiglinEntity.mapping

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

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-07-05 13:45:14 +01:00
Yanis48 e9a00990e5
Map two methods in GeneratorType (#1535)
* Map two methods in GeneratorType

* Update BiomeSource.mapping
2020-07-03 13:20:46 +01:00
shartte 760883751e
Mappend rendering flashing TNT blocks (#1532)
Co-authored-by: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-07-02 11:52:31 +01:00
modmuss50 b446f6047d 20w27a 2020-07-01 17:44:38 +01:00
i509VCB ec7bed90ba
Some command source docs, remove a few old Registry tracker names and some world data stuff (#1522) 2020-06-30 20:08:39 +01:00
LambdAurora 2ed6de5c48
Add mappings for client (options and some screens/widgets). (#1519)
* Add mappings for client (options and some screens/widgets).

* Apply suggestion and add two javadoc comments.

* Update mappings/net/minecraft/client/options/Option.mapping

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

* Fix bad doc format.

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-06-29 15:44:29 +01:00
XjCyan1de b28ccd1be1
ButtonWidget constructor arguments (#1526) 2020-06-28 12:41:28 +01:00
i509VCB 8a6a1db2ce
Map chunk and chunk statuses (Reattached) (#1511)
* Map chunk and chunk statuses

* Update mappings/net/minecraft/world/chunk/ProtoChunk.mapping

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

* So we don't have #1493 here

* chunks is fine

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

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

* Update ChunkStatus.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-06-26 12:34:45 +01:00
Yanis48 c13c0fccf5
Some Realms mappings (#1505) 2020-06-26 12:33:58 +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
haykam821 2b8c225dab
Swap the names of the bubble and bubble column up particle classes (#1488)
Fixes #1487
2020-06-20 19:51:07 +01:00
­Sollace 0562ae2984
NativeImage#Format.ABGR not NativeImage#Format.AGBR (#1485) 2020-06-19 18:11:42 +01:00
Shnupbups 987aa1a483
1.16 pre3 things (#1459)
* stuff

mapped every class except 5395 because i dont understand codecs lol

* dont mind me

* there we go

* Apply suggestions from code review

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

* Update mappings/net/minecraft/entity/ai/goal/UniversalAngerGoal.mapping

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

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

Co-authored-by: jadon <jadonflower@gmail.com>

* Update EditGameRulesScreen.mapping

* Apply suggestions from code review

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: jadon <jadonflower@gmail.com>
2020-06-18 20:17:05 +01:00
Reece Dunham f42672dd97
Port GLDebug mappings (#1478)
Signed-off-by: Reece Dunham <me@rdil.rocks>
2020-06-18 17:22:25 +01:00
modmuss50 a4305ccae9 1.16-pre8 2020-06-17 17:11:43 +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
Lars van der Zande 298e9b23fa
add Tripwire RenderLayer PhaseParameters getter (#1471)
```java
private static RenderLayer.MultiPhaseParameters method_29996() {
        return RenderLayer.MultiPhaseParameters.builder().shadeModel(SMOOTH_SHADE_MODEL).lightmap(ENABLE_LIGHTMAP).texture(MIPMAP_BLOCK_ATLAS_TEXTURE).transparency(TRANSLUCENT_TRANSPARENCY).target(WEATHER_TARGET).build(true);
    }
```
```java
private static RenderLayer.MultiPhaseParameters getTripwirePhaseData() {
        return RenderLayer.MultiPhaseParameters.builder().shadeModel(SMOOTH_SHADE_MODEL).lightmap(ENABLE_LIGHTMAP).texture(MIPMAP_BLOCK_ATLAS_TEXTURE).transparency(TRANSLUCENT_TRANSPARENCY).target(WEATHER_TARGET).build(true);
    }
```
2020-06-15 22:08:17 +01:00
Lars van der Zande 118a3fb671
add tickRainSplashing Mapping (#1473)
* add updateRainSplashing Mapping

GameRenderer calls method_22713 every tick()

method_22713
creates rain particles hitting the ground and plays rain sound

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-06-15 22:08:07 +01:00
modmuss50 3974dc0927 1.16-pre6 2020-06-15 19:17:37 +01:00
Sturmlilie 92425cfbab
Map various, mostly private parts of client.texture classes (#1461)
* Map various, mostly private parts of client.texture classes

* Fixup: Use MathHelper#lerp terminology

* Fixup: Document Sprite.Interpolation#lerp
2020-06-15 17:39:58 +01:00
Alexander 584cc58d8c
Map UUID in GameMessageS2CPacket (#1466) 2020-06-15 17:39:46 +01:00
Lars van der Zande 8b19485c8a
Added mapping TRIPWIRE RenderLayer getter (#1470)
```java
public static RenderLayer method_29997() {
        return TRIPWIRE;
    }
```
```java
public static RenderLayer getTripwire() {
        return TRIPWIRE;
    }
```
2020-06-15 17:39:37 +01:00
Lars van der Zande 6e54e173d4
add ITEM_TARGET field mapping (#1472) 2020-06-15 17:39:30 +01:00
modmuss50 64b704d914 1.16-pre5 2020-06-12 16:18:26 +01:00
modmuss50 d11cca29cf 1.16-pre4 2020-06-11 18:22:45 +01:00
i509VCB e2526d88ae
Document drawBox methods (#1455) 2020-06-11 11:35:50 +01:00
modmuss50 49710ba86a 1.16-pre3 2020-06-10 18:05:28 +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
liach 80cd54c7a9
String renderable (or visitable?) (#1431)
* String visitable

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

* Fix leftover jd errors

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

* visitable -> renderable, some language stuff

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-06-08 18:24:56 +01:00
liach fb19c79e06
Resource pack organizer (#1440)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-06-08 13:25:44 +01:00
i509VCB 50de34711b
Data and Server startup mappings (#1423)
* Data and Server startup mappings

* Actually, lets fix that param name and do another method

* Update MinecraftClient.mapping

* Update MinecraftClient.mapping

* Update mappings/net/minecraft/server/Main.mapping

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

* Update mappings/net/minecraft/client/MinecraftClient.mapping

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

* Update mappings/net/minecraft/client/MinecraftClient.mapping

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

* Update mappings/net/minecraft/client/MinecraftClient.mapping

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

* DataPackSettings

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-06-07 17:29:18 +01:00
i509VCB f80e52b1a1
Fix wrong NativeImage method names (#1279)
* Fix wrong NativeImage method names

* Specify color in getter and setter, along with format requirement
2020-06-07 16:13:44 +01:00
Shnupbups 49284a0f45
pre1 stuff (#1420)
* pre1 stuff

idk

* more stuff

* remove things already mapped

removes things already mapped by newly merged prs
2020-06-07 16:02:50 +01:00
i509VCB 428928b420
A bunch of param names (#1436) 2020-06-07 16:01:40 +01:00
Juuxel 3eb088abba
Various misc changes (#1372)
* Fix #1369

* CriteriaMerger -> CriterionMerger

* ItemRenderer.renderGuiItem + related names

Closes #1361.

* WololoGoal.purpleSheepPredicate -> convertibleSheepPredicate

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

Closes #1344.

* Improve GUI item rendering names

* MinecraftClient.(block/item)ColorMap -> (block/item)Colors

* Change wording a little

* Model overrides
2020-06-07 15:26:33 +01:00
haykam821 f02f57cf81
Map graphics modes (#1418)
* Map graphics modes

* Change languageKey to translationKey

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

* Simplify GraphicsMode method names

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

* Map graphics mode methods in MinecraftClient

* Change fancyGraphics field in RenderLayers to fancyGraphicsOrBetter

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-06-07 15:21:41 +01:00
Yanis48 bcdd72dcbc
Data pack screen (#1419)
* Data pack screen

* Update DataPackScreen.mapping
2020-06-07 15:21:23 +01:00
Sturmlilie 0ebbc7b3a1
Map TextureUtil (#1426)
* Map TextureUtil

* Fixup: Remove unused mappings not picked up by Enigma

* Fixup: Properly overload 'allocate'

As it turns out, now that the bogus mappings are gone,
Enigma will actually let me properly overload
This was a learning experience :tiny-potato:
2020-06-07 15:21:15 +01:00
TheBrokenRail 2a67772669
Add Some Missing Mappings (#1433)
* Add Some Missing Mappings

* Add ClientWorld.tickTime
2020-06-07 15:20:57 +01:00
Juuxel 8278778f58
Map HandledScreen label coordinates (#1428) 2020-06-07 15:20:34 +01:00
modmuss50 0295b1e8d5 1.16-pre1 2020-06-04 20:08:31 +01:00
haykam821 e8f419f2c4
Finish mapping campfires (#1416)
* Finish mapping CampfireBlock

* Map lastsLonger parameter in CampfireSmokeParticle

* Change lastsLonger argument to signalFire

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-06-04 18:47:22 +01:00
Yanis48 8b0ccf32d2
Datapack failure screen (#1406)
* Datapack failure screen

* Update mappings/net/minecraft/util/Util.mapping

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

* shouldHideMessage -> shouldBlockMessages

* add docs

* oups

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-06-01 22:36:23 +01:00
Pyrofab 563be43174
Map transparency shader fields and methods (#1412)
* Entity#isAlive(0) -> isValid

* Framebuffer#method_29329(1) -> copyFrom

* GlStateManager#method_29330(0) -> supportsGl30

* GlStateManager#method_29332(10) -> blitFramebuffer

* GlStateManager#method_29333(0) -> getFramebufferAttachmentParameter

* GlStateManager#method_29334(0) -> getActiveBoundTexture

* GlStateManager#method_29331(8) -> copyTexSubImage2D

* GlStateManager#getFramebufferAttachmentParameter(0) -> getFramebufferDepthAttachment

* Framebuffer#copyFrom(1) -> copyDepthFrom

* WorldRenderer%field_25275 -> entityFramebuffer

* WorldRenderer%field_25276 -> particleFramebuffer

* WorldRenderer%field_25274 -> translucentFramebuffer

* RenderPhase%field_25281 -> PARTICLES_TARGET

* RenderPhase%field_25280 -> TRANSLUCENT_TARGET

* RenderPhase%field_25282 -> WEATHER_TARGET

* RenderPhase%field_25283 -> CLOUDS_TARGET

* RenderPhase%field_25284 -> ITEM_TRANSPARENCY

* RenderPhase$DepthTest%field_22242 -> depthFunction

* +133 doc in RenderPhase$DepthTest%depthFunction

* WorldRenderer#method_29362(0) -> getParticlesFramebuffer

* WorldRenderer%particleFramebuffer -> particlesFramebuffer

* WorldRenderer%field_25278 -> cloudsFramebuffer

* WorldRenderer%field_25277 -> weatherFramebuffer

* WorldRenderer%field_25279 -> transparencyShader

* WorldRenderer#method_29365(0) -> loadTransparencyShader

* Lowercase 2d

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

* Revert "Entity#isAlive(0) -> isValid"

This reverts commit 0199e61e68.

* Remove whitespace

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-05-31 18:21:17 +01:00
Deximus-Maximus 2fbbb01395
Misc. Issue Resolution (#1401)
* PlayerAbilitiesS2CPacket.fovModifier -> walkSpeed (#1392)

* GameJoinS2CPacket seed -> sha256Seed (#1360)

* checkBlockRerender -> scheduleBlockRerenderIfNecessary (#1332)

* StatusEffectType -> StatusEffectCategory (#1036)
StatusEffect -> StatusEffectType
StatusEfectInstance -> StatusEffect
(and related names)

* SettingsScreen -> OptionsScreen (#787)
AccessibilityScreen -> AccessibilityOptionsScreen
Moved OptionsScreen to options package with all the other options screens

* Finishes making maximum/minimum -> max/min (#672)
(the ones in TreeDecoratorConfig as they have no postfix)

DefaultBiomeFeatures moved to world/gen/feature from world/biome (#667)

* fix missing file

* Revert "StatusEffectType -> StatusEffectCategory (#1036)"

This reverts commit 07f887a3d2.

* fix capitalization

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

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

Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>

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

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

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

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

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
2020-05-30 19:31:17 +01:00
modmuss50 e9c5c02d50 20w22a 2020-05-29 14:31:34 +01:00
i509VCB 21793c91ba
Document scrolling parameters. (#1399)
* Document scrolling parameters.

Sideways scrolling is actually tracked!

* Update mappings/net/minecraft/client/Mouse.mapping

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

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-05-28 21:41:32 +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
liach 599f1dcc91
Dimension tracker (#1382)
* Dimension tracker

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

* Good ol tabs

Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-22 12:38:49 +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
haykam821 c22c154642
Map disable multiplayer and chat command line options (#1376) 2020-05-20 21:05:13 +01:00
modmuss50 4f89f2fdba 20w21a 2020-05-20 17:12:58 +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
shedaniel b24611fe8e
Some refactor and clean up with KeyBinding and EntryListWidget$Entry (#1348)
* Some clean up with KeyBinding and EntryListWidget$Entry

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Apply suggestions from code review

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

* Rename to InputUtil$Key

Signed-off-by: shedaniel <daniel@shedaniel.me>

* 20w20a

Signed-off-by: shedaniel <daniel@shedaniel.me>

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

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

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-05-15 16:36:40 +01:00
Joseph Burton b48dcfcbc9
Packet mappings (#1358) 2020-05-15 16:35:03 +01:00
i509VCB 7df3e4d656
TickableRealmsButton -> TickableElement (#1349)
This is because it isn't for realms anymore, and Screen implements this
2020-05-13 21:02:22 +01:00
modmuss50 015995dd3f 20w20a 2020-05-13 18:06:00 +01:00
Shnupbups 2cf6919014
stuff (#1334)
yep
2020-05-11 12:50:12 +01:00
Juuxel 5819592fda
TextRenderer.getStringWidth(Text) -> getWidth() (#1341) 2020-05-09 23:53:16 +01:00
Juuxel 47b6960be2 Screen fixes and drawTexture docs (#1324)
* Screen fixes and drawTexture docs

* renderDirtBackground -> renderBackgroundTexture

* Add docs

* Remove empty comments

* Clarify renderBackgroundTexture comment
2020-05-06 21:52:31 +01:00
Joseph Burton 7725dcb827
Lots of entity mappings (#1322)
* Lots of entity mappings

* Apply review suggestions

* Apply more review suggestions

* Tweak drowned and enderman mappings

* Properly rename EndermanEntity.chasing -> provoked

* capChange -> stepTowards
2020-05-06 21:49:35 +01:00
modmuss50 ef74eec9c1 20w19a 2020-05-06 18:28:56 +01:00
Joseph Burton d31805d0b7
Block Action -> Synced Block Event. Level Event -> Synced World Event (#1323)
* block action -> synced block event, level event -> synced world event

* Missed a couple, made parameters consistent
2020-05-02 21:29:07 +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 3dff7b8529
Restore missing BeeDebugRenderer$Bee (#1314)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-02 00:40:51 +01:00
liach c1df20bd04
item property getter (#1305)
* item property getter

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

* rename this to model predicate provider as it provides values for model predicates

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-30 12:20:29 +01:00
i509VCB 1ecd1031fa
Map some blocks, fluids and block entities (#1309)
* Map some block, fluid and block entities

* Flowing -> Flowable

* oops

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

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-04-30 12:20:20 +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
liach 104490a2e2
Entity type missing stuff, new server properties (#1312)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-30 11:32:20 +01:00
SuperCoder79 aab2c54e5c
multiplayer enigma boogaloo (#1298)
* a lot of very random mappings

* fix mappings

* typo

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-04-29 20:28:00 +01:00
modmuss50 9a617e4707 20w18a 2020-04-29 17:24:56 +01:00
liach fcd86fa77a
Text mappings (#1297)
* Text mappings

still a bit more to go

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

* Stage

* Broken jd

* I'm pleased

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

* Few problems spotted before

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

* Moar jd

* call it id overrides

* Update mappings/net/minecraft/text/TextColor.mapping

* Nice fixes

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/text/MutableText.mapping

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

* Update TextHandler.mapping

due to an enigma shortcoming

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-04-26 01:29:03 +01:00
i509VCB d4063b9643
Map new GameRule methods and EditGameRulesScreen (#1299)
* Map new GameRule methods and EditGameRulesScreen

* Update mappings/net/minecraft/client/gui/screen/world/EditGameRulesScreen.mapping

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

* Update mappings/net/minecraft/client/gui/screen/world/EditGameRulesScreen.mapping

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

* confusing names fixed

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-04-24 23:11:41 +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
modmuss50 863b0e905c 20w16a 2020-04-15 16:34:32 +01:00
Shnupbups 558487a1c0
i mapped things: HD remaster (#1271)
* some stuff HD remaster

* Update mappings/net/minecraft/world/biome/BasaltDeltaBiome.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Delta -> Deltas

* Apply suggestions from code review

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

* Update mappings/net/minecraft/world/gen/feature/DeltaFeatureConfig.mapping

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-04-14 15:01:16 +01:00
liach 159546e8cd
Map some 20w15a new classes (entities, enchantments) (#1269)
* Map some 20w15a new classes (entities, enchantments)

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

* Some javadocs

* Just refer by id

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

* Fix bad class name

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-08 21:48:41 +01:00
modmuss50 cf0ef0a6bd 20w15a 2020-04-08 15:44:19 +01:00
Shnupbups 5ef7ccfb9b
some 14a stuff (#1251)
* some 14a stuff

* Apply suggestions from code review

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

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-04-03 20:11:08 +01:00
modmuss50 0c14fa6444 20w14a 2020-04-02 18:40:17 +01:00
liach c785526e75
block bad names and glstatemanager bad stuff, rotation3 -> affine transformation (#1244)
* block bad names and glstatemanager bad stuff, rotation3 -> affine transformation

close #1224, close #1233, close #1234, close #1241

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

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-04-01 17:32:46 +01:00
Yanis48 d154cce219
block entity mappings (#1237) 2020-04-01 02:02:51 +01:00
i509VCB 4b817e7c68
2 Rename fixes (#1242) 2020-03-30 18:35:14 +01:00
liach 80aa993105
Move direction transformation and matrix3f to util math (need same package) (#1235)
move two matrices to non-client;
move two transformations to util math;
move globalpos to dynamic;
move propagator to world;
a few other util additions

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-27 15:08:10 +00:00
­Sollace 3d228282e6
Renderer mappings (#988)
* part.render(matrix, vertices, light, overlay, red, green, blue, alpha)

* Fixed bad names

* Determined by the call to part.render(matrix, vertices, light, overlay)
  which delegates to part.render(matrix, vertices, light, overlay, 1, 1, 1, 1)

* Now we extrapolate to everything that calls part.render(matrix, vertices, light, overlay)
  Meanhile VertexConsumerProvider is

* Now we extrapolate to everything that cals pars.render(matrix, vertices, light, overlay, red, green, blue, alpha)

* This is not a render method! It sets the yaw and pitch on the skull

* Now we extrapolate to things that call mode.render(matrix, vertices, light, overlay, red, green, blue, alpha)
  Not much to change there though

* These are known from EntityRenderDispatcher

* render calls renderLabelIfPresent

* Now we're looking at things which call EntityRenderDispatcher.render(entity, x, y, z, yaw, matrix, provider, light)

* In ClientPlayNetworkHandler.onItemPickupAnimation the second entity is gotten from packet.getCollectorEntityId and defaulted to the player if null. The first entity is an item entity or an experience orb entity

* Going back to EntityRenderDispatcher, we can see the code for rendering shadows was moved here from the renderer itself

if (this.gameOptions.entityShadows && this.renderShadows && entityRenderer14.shadowRadius > 0.0f && !entity.isInvisible()) {
    double double22 = this.getSquaredDistanceToCamera(entity.getX(), entity.getY(), entity.getZ());
    float float24 = (float)((1.0 - double22 / 256.0) * entityRenderer14.field_4672);
    if (float24 > 0.0f) {
       renderShadow(matrix, provider, entity, float24, tickDelta, this.world, entityRenderer14.shadowRadius);
    }
}

* The last parameter is shadow radius, but to be sure we check, nd indeed it is reduced when the rendered entity is a baby

    private static void renderShadow(MatrixStack matrix, VertexConsumerProvider provider, Entity entity, float float4, float tickDelta, WorldView world, float radius) {
        float float8 = radius;
        if (entity instanceof MobEntity) {
            if (((MobEntity)entity).isBaby()) {
                float8 *= 0.5f;
            }
        }

* float4 was a myster, but it's just passed down as-is and used to determine the opacity of the shadow!

float float16 = (float)((opacity - (y - pos.getY()) / 2.0) * 0.5 * world.getBrightness(pos));
if (float16 >= 0.0f) {

* Forgot this one

* This is all low-hanging fruit.

* EntityRenderDispatcher.shouldRender(entity, frustrum, x, y, z)
-> EntityRenderer.isVisible(entity, frustrum, x, y, z)
-> Entity.shouldRenderFrom(x, y, z)

    @Environment(EnvType.CLIENT)
    public boolean shouldRenderFrom(double x, double y, double z) {
        double double8 = this.getX() - x;
        double double10 = this.getY() - y;
        double double12 = this.getZ() - z;
        double double14 = double8 * double8 + double10 * double10 + double12 * double12;
        return this.shouldRenderAtDistance(double14);
    }

* More things we know

* This is set by calling entity.getLeaningPitch

* This is only overriden by CreeperEntityRenderer and returns a float computed from the fuse time.
The value is then passed to getOverlay where it's passed to OverlayTexture.getU(animationCounter).

This causes the creeper to flash white when active. The same method,
interestingly, will use the V to create the hurt/death overlay

OverlayTexture.packUv(
	OverlayTexture.getU(animationCounter),
	OverlayTexture.getV(entity.hurtTime > 0 || entity.deathTime > 0)
)

* The final patches

* xrayEnabled -> isGlowing

* Commit suggestions/name changes I missed during rebase

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

* Fix typos

* yaw -> tickDelta

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

* provider -> vertexConsumers

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

* matrix -> matrices

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

* Fixed some encorrect names

* entry -> matrices

* textureU/V -> u/v

* isBanner -> isBannerBlock

* frustrum -> frustum

Co-Authored-By: Gegy <gegy1000@gmail.com>

* Fix broken/changed mappings for 20w10a

* grammar

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

* Update mappings/net/minecraft/client/particle/ItemPickupParticle.mapping

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Gegy <gegy1000@gmail.com>
2020-03-27 11:06:32 +00: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
Yanis48 f3692142b6
Strider entity mappings (#1225)
* strider entity mappings

* some additions

* changes

* changes

* Update ItemSteerable.mapping

* class_4988
2020-03-26 14:09:47 +00:00
i509VCB 7b32b5f874
Javadoc for some client, datafixer and other miscellaneous areas. (#1219)
* Javadoc for some client, datafixer and misc.

* Update ServerPlayNetworkHandler.mapping

* Update MinecraftClient.mapping

* Update ClientPlayerEntity.mapping

* Update PlayerListEntry.mapping

* Update TypeReferences.mapping

* Update Entity.mapping

* Update LivingEntity.mapping

* Update NbtHelper.mapping

* Update CommandOutput.mapping

* Update mappings/net/minecraft/client/MinecraftClient.mapping

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

* Update mappings/net/minecraft/command/arguments/TestClassArgumentType.mapping

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

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

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

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

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

* Update mappings/net/minecraft/server/command/CommandOutput.mapping

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

* Update mappings/net/minecraft/command/arguments/ArgumentTypes.mapping

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

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

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

* Update mappings/net/minecraft/nbt/NbtHelper.mapping

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

* Update PlayerListEntry.mapping

* Update ClientPlayPacketListener.mapping

* Update ServerPlayPacketListener.mapping

* Update ClientPlayPacketListener.mapping

* Fix possible build error

* try 2

* Update LivingEntity.mapping

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/entity/Entity.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/nbt/NbtHelper.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/nbt/NbtHelper.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-25 23:14:55 +00:00
modmuss50 a068df5d3d 20w13a 2020-03-25 17:49:03 +00:00
liach 0a63e67d08
Clarify Minecart sounds, fixes #918 (#1211)
* Clarify Minecart sounds, fixes #918

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

* Update mappings/net/minecraft/client/sound/MinecartInsideSoundInstance.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-24 22:53:56 +00:00
joaoh1 52012b1aa6
Fix PositionedSoundInstance's swapped param. names (#1220) 2020-03-24 22:53:30 +00:00
­Sollace 0f9c44a541
Mappings relating to code that uses CsvWriter (#1186)
* Mappings relating to code that uses CsvWriter

* ok

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

* 👌

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

* Update mappings/net/minecraft/server/world/ChunkTicketManager.mapping

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

* directionalLighting -> shade

* Revise param names for createArea

* @Sollace misreads the code again

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-03-20 18:16:55 +00:00
liach 9446cccca5
Map reverse portal particle (#1206)
* Map reverse portal particle

and many other missing fields in particle/factories

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

* Update mappings/net/minecraft/client/particle/CurrentDownParticle.mapping

Co-Authored-By: Joseph Burton <burtonjae@hotmail.co.uk>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
2020-03-19 16:24:35 +00:00
liach e34b5a891e
New sound stuff, fish hook predicate, missed persistent state uuid fix (#1202)
Signed-off-by: liach <liach@users.noreply.github.com>

Add jd to note this is the mood percentage for biome sound

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-19 14:50: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
Yanis48 a36211bd7c
Quick entity fixes (#1200) 2020-03-19 14:07:30 +00:00
modmuss50 ab907504e7 20w12a 2020-03-18 18:59:27 +00:00
shedaniel bc23219e17
remove blit and javadoc i need comments (#1168)
* remove blit i need comments

* some javadoc?

* revert parameters names

* fix interchangeable
2020-03-16 21:41:30 +00:00
liach a1b8da33a9
Enchantments, vines, particles 11a (#1174)
* Enchantments, vines, particles 11a
Fixes #1084 as well

* Detail on what the ench method does

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

* Now this thing has a builder ye

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

* Update mappings/net/minecraft/world/gen/feature/TwistingVinesFeature.mapping

* Update mappings/net/minecraft/world/gen/feature/TwistingVinesFeature.mapping

* Rename method sin weeping vine feature as requested by @supercoder7979

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

* Vines -> VineLogic

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-13 13:55:19 +00:00
Mikhail Oleynikov 2cd906df4e
Map LevelGeneratorOptions (#1175)
* Map LevelGeneratorOptions

* Delete build.gradle

* FIX MESS

This reverts commit 1401dd2a73.

* FIX MESS 2

* 20w11a falseresync/levelgen (#1)

* Stuff around this level gen stuff

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

* Another missed

* one more field

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-13 13:55:03 +00:00
Yanis48 666890b9d8
Made some entity renderer and model fields and parameters consistent (#1176)
* Entity renderers' SKIN -> TEXTURE & made some parameters consistent

* some fields and constructor parameters in model classes

* shulker colored textures

* Update mappings/net/minecraft/client/render/entity/WitherEntityRenderer.mapping

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

* Update mappings/net/minecraft/client/render/entity/WitherSkullEntityRenderer.mapping

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-03-13 13:54:42 +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
modmuss50 9497721136 20w11a 2020-03-11 17:25:56 +00:00
Juuxel 08f62761fc
EnderCrystal -> EndCrystal, #1163 improvements (#1173)
The end crystal entity is registered as minecraft:end_crystal.
2020-03-11 16:17:29 +00: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
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
Yanis48 168d6b23ec
Random fixes (#1162) 2020-03-08 22:14:25 +00:00
modmuss50 f339c99217
some piglin stuff + misc (#1144)
* some piglin stuff + misc

* Update mappings/net/minecraft/entity/mob/ZombifiedPiglinEntity.mapping

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

* more stuff

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-03-05 21:40:35 +00:00
modmuss50 6bf062b174
some gui changes (#1152)
* some gui changes

* draw line changes

* text typo

* z offset
2020-03-05 21:38:51 +00:00
modmuss50 72fa1d7581
Restore GUI names from 20w09a (#1149)
* (WIP) Restore names from 20w09a

* Add more names

* Add a field name
2020-03-04 23:18:13 +00:00
modmuss50 1b7aa91a4d 20w10a
bit of a big one
2020-03-04 20:22:46 +00:00
liach 627465501e
20w09a all classes mapped (#1143)
* 20w09a all classes mapped

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

* call it Repeating Audio Stream

Signed-off-by: liach <liach@users.noreply.github.com>
2020-03-03 15:10:30 +00:00
liach d924b03325
Eliminate all unmapped classes from yarn (#1135)
Signed-off-by: liach <liach@users.noreply.github.com>
2020-02-28 18:28:02 +00:00
modmuss50 8e7f7a8d35 20w09a 2020-02-26 17:56:39 +00:00
liach b00c92199f
Map new classes, staging (#1122)
Map new classes, staging
2020-02-24 20:14:56 +00:00
qouteall b9aaf4b959
small things (#1130)
* ServerPlayNetworkHandler#method_20630(1) -> isPlayerCollidingWithBlocks

* GameRenderer#method_22973(3) -> getBasicProjectionMatrix

* GameRenderer#method_22709(1) -> loadProjectionMatrix

* Update ServerPlayNetworkHandler.mapping
2020-02-22 23:05:53 +00:00
LambdAurora f20fc8f630
Rename every view argument to world and random additions. (#1114)
* WIP on view argument nuking.

* More mappings.

* Nuke remaining view arguments.

* FeatureRendererContext#getTexture() ARG 1 wolf -> entity
2020-02-17 13:48:43 +00:00
modmuss50 d2afdda25f 20w07a 2020-02-14 14:54:37 +00:00
Joseph Burton 19b1318608 Motive -> Painting Motive (#1100)
* Motive -> Motif

* Update mappings/net/minecraft/entity/decoration/AbstractDecorationEntity.mapping

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

* motif -> painting_motive

* Nuke last remaining motif

Co-authored-by: ­Sollace <Sollace@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-02-09 19:05:38 +00:00
liach 9b56dd3eec Networking stuff (#1096)
Signed-off-by: liach <liach@users.noreply.github.com>
2020-02-09 14:31:14 +00:00
liach c52a1b78a6 dfu and particles (#1092)
* dfu and particles

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

* Add missing particle, fix #1093

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

* Missing stuff

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

* Fix another misplaced fixer class

Signed-off-by: liach <liach@users.noreply.github.com>
2020-02-08 10:02:51 +00:00
liach fe63d5e738
Biome internal mappings (not new biome types) (#1087)
* Biome internal mappings (not new biome types)

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

* SpecialEffects -> Effects
unpackRgb

* Better names, I guess

This time mojang teaches us 4-D cartesian plane and hyperbola

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

* Bit more stuff

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

* penalty -> distance

Signed-off-by: liach <liach@users.noreply.github.com>
2020-02-06 20:02:39 +00:00
Shnupbups 18a0bd11f1
A few 1.16 mappings (#1091)
* A few 1.16 mappings

* Update and rename WeepingVInesPlantBlock.mapping to WeepingVinesPlantBlock.mapping

* more stuff

* Wall mappings

ioly partially done, but eh

* Update and rename WallType.mapping to WallShape.mapping

* Update Properties.mapping

* Update WallBlock.mapping

* Update mappings/net/minecraft/entity/ItemEntity.mapping

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-02-06 20:02:23 +00:00
liach 50f42d6f2e
20w06a profiler mappings (#1085)
Signed-off-by: liach <liach@users.noreply.github.com>
2020-02-05 18:50:55 +00:00
modmuss50 9b88b3c3e8 20w06a 2020-02-05 17:27:03 +00:00
Yanis48 5b3dea511f
block fixes (#1083) 2020-02-05 16:27:59 +00:00
­Sollace 1e96d04898
1.15.2 EntityRenderer changes (#1079)
* 1.15.2 EntityRenderer changes

* wtf Enigma

* Added the P

* "Swap the usage of the value first"

* See my new dog color mah!?

* "S" that ws meant to be an "S"
2020-02-02 17:23:04 +00:00
Yanis48 a39dea0083
Moved all S2C/C2S packets (#1074)
* s2c/c2s packet renamings

* splitted into subpackages
2020-02-02 17:22:46 +00:00
Pyrofab 32e934eac7
LivingEntity rendering fix (#1080)
* Entity#canSeePlayer(1) -> isInvisibleTo

* LivingEntityRenderer#method_4056(2) -> shouldRender

* LivingEntityRenderer#method_4056(2) -> isVisible

* EntityRenderer#render(3)[2 = ] -> yaw

* EntityRenderer#render(3)[3 = ] -> tickDelta

* EntityRenderer#render(3)[5 = ] -> vertexConsumers

* EntityRenderer#render(3)[6 = ] -> light

* Pick better names

* Remove overlaps

* Fix merge conflicts

* Actually remove overlap
2020-01-31 10:14:57 +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
liach 586c5b7522 Map multiplayer warning screen (#1067)
"may not be suitable for all ages"

Signed-off-by: liach <liach@users.noreply.github.com>
2020-01-19 18:40:41 +00:00
liach ae6ab2e6e3 2 df classes and some render layer stuff (#1065)
render layer fields can be inferred
outlinevertexconsumer: better decompiled code (see ff genSources result); package level, doesn't affect mods
render layer outline: map one new package enum and change stuff to refer to outline etc.

Signed-off-by: liach <liach@users.noreply.github.com>
2020-01-19 18:01:29 +00:00
modmuss50 e1303e0dc2
Map the 1.15.2 changes (#1063)
* Map the 1.15.2 changes

* Update mappings/net/minecraft/client/render/model/BakedModel.mapping

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-01-18 17:25:15 +00:00
modmuss50 ea08e25f4f 1.15.2-pre1 2020-01-14 20:22:47 +00:00
LambdAurora 74918f55a7 Map method_22120 to hasMovementInput (#1056)
* ClientPlayerEntity#method_22120(0) -> hasMovementInput

* +106 doc in ClientPlayerEntity#hasMovementInput(0)
2020-01-13 12:43:54 +00:00
comp500 d628b9539d Improved Window names (#1054)
* Improved Window names

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

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-01-11 20:10:03 +00:00
haykam821 8baf7357a2 Map GameMenuScreen field and parameter to showMenu (#1044) 2020-01-11 20:01:04 +00:00
Yanis48 245ba5c444 Fixed #838, #860 and unnamed deserializers (#1040)
* fixed things

* deserialize2 -> deserialize
2020-01-08 14:35:10 +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
Erlend Åmdal 59dfbead00 Vector3f.reciprocal->normalize (#1027) 2019-12-30 22:04:36 +00:00
Erlend Åmdal 8bca281a33 Fix VertexConsumerProvider parameters (#1029) 2019-12-27 10:48:54 +00:00
Chocohead c7bdfa7558 Fix dodgy parameter names (#1028) 2019-12-27 10:48:15 +00:00
Tae Lim Kook d8a1bd3ec6 Quick Matrix{3,4}f and Rotation3 fixes (#1025)
* Rename Gson fields in some classes to GSON

* Quick Matrix{3,4}f and Rotation3 fixes
2019-12-26 12:36:42 +00:00
Erlend Åmdal 10fe82a496 Tiny Vector3f fixes (#1023)
* Vector3f.multiplyComponentWise -> lerp

* Vector3f.piecewiseMultiply -> multiplyComponentwise
2019-12-26 12:34:24 +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
Erlend Åmdal 9402c417ee Tiny quaternion fixes (#1022)
* Re-add missing quaternion mappings

* Vector4f.rotate
2019-12-26 12:27:36 +00:00
­Sollace a312994297 Model transformation mode (#1008)
* ModelTransformation.Type -> ModelTransformation.Mode

* Transformation.NONE -> Transformation.IDENTITY
2019-12-19 18:44:07 +00:00
Fudge 59a98ca5b0 BlockBreakParticle mapping (test) (#1005)
* net/minecraft/client/particle/BlockCrackParticle -> net/minecraft/client/particle/BlockBreakParticle

* Update BlockBreakParticle.mapping

* Rename BlockBreakParticle.mapping to BlockDustParticle.mapping
2019-12-19 18:43:36 +00:00
­Sollace 3671127f16 field_21807 -> MAP_BACKGROUND (#1007)
field_21808 -> MAP_BACKGROUND_CHECKERBOARD
2019-12-17 21:23:28 +00:00
Joseph Burton 4a2fe5bd1b Make packet names consistent (#1016)
* Make packet names consistent

* Rename OpenContainerPacket -> OpenContainerS2CPacket
2019-12-17 21:22:35 +00:00
modmuss50 a389d8528f 1.15-pre7 2019-12-09 12:54:41 +00:00
­Sollace 0192eb0e67 FirstPersonRenderer -> HeldItemRenderer (#991)
* Update all the mappings for ItemRenderer and FirstPersonItemRenderer

* FirstPersonRenderer -> HeldItemRenderer

* Apply suggestions from code review

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

* Revert `vertexConsumers` -> `provider

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

* Typo

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

* matrix -> matrices (part 2)

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

* vertices -> vertexConsumers (part 2)

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

* transformation -> transformationType

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

* Item -> item

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
2019-12-08 18:08:24 +00:00
Shnupbups 7321f6c54f Last minute bee stuff (#999)
* bee stuff

* Rename BeeHiveBlock.mapping to BeehiveBlock.mapping

* Rename BeeHiveBlockEntity.mapping to BeehiveBlockEntity.mapping

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

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

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

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>
2019-12-08 18:08:08 +00:00
modmuss50 946346c722 1.15-pre6 - 1 lost inner class 2019-12-06 13:08:36 +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
liach 805396c016 1.15 pre4 1 (#994)
* Some missing fields

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

* Few more stuff

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

* Remove problematic jd info
2019-12-04 23:00:17 +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
­Sollace 018b4f2cda Quarternion mappings (#972)
* Mapped some missing names in Vector3f and Quaternion

* Mapped WorldRenderer and most of RenderLayer
2019-12-02 13:49:14 +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 5bebf85492 pre3 new classes (#989)
Signed-off-by: liach <liach@users.noreply.github.com>
2019-11-29 20:40:18 +00:00
modmuss50 cdad304f12 1.15-pre3 2019-11-28 19:19:28 +00:00
Runemoro bf81b47a6b Rendering mappings (#985)
* Rendering mappings

* Undo ColorResolver -> ColorProvider, it's an unobfuscated class!

* Update mappings/net/minecraft/client/render/debug/BeeDebugRenderer.mapping

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

* Update mappings/net/minecraft/client/render/debug/BeeDebugRenderer.mapping

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

* Fixes by liach

* Fix
2019-11-26 23:53:20 +00:00
liach d0f836da8e Some stuff for 1.15 pre 1 and pre2 (#980)
* Some stuff for 1.15 pre 1

wood type or sign type? it is only used by signs.

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

* A few more stuff

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

* bits of stuff

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

* Call it a sign type

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

* More stuff and refactors per suggestion

* More bits

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

* Missed the one i need to map

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

* You like dual better

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

* Update mappings/net/minecraft/client/texture/SpriteAtlasTexture.mapping

* 😓

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

* Some pre2 stuff as well
2019-11-25 20:12:08 +00:00
modmuss50 85d87033da 1.15-pre2 2019-11-25 19:17:49 +00:00
Runemoro 35d803542c Model part mappings (#982)
* Model part mappings

* Fix

* Suggestions by liach

* Fix
2019-11-25 13:58:59 +00:00
modmuss50 a2adfae9eb Remove a conflicting method
This time on the right branch
2019-11-21 19:43:37 +00:00
modmuss50 dd646e04ca Fix mappings 2019-11-21 19:33:39 +00:00
modmuss50 9fb64b9b26 1.15-pre1 2019-11-21 19:13:18 +00:00
­Sollace abe91b29fa Mapped several things across all the modelling classes and renderers (#799)
* WeightedBakedModel.ModelEntry -> WeightedBakedModel.Entry

* Json ModelElement

* Mapped CubeFace
field_3958 -> DIRECTION_LOOKUP
method_3163 -> getFace

* Vector4f

* Vector4f.method_4929 -> Vector4f.viewboxMatrix

* Mapped BakedQuadFactory

* Resource reload listener

* ModelLoader
ModelLoader.class_4455 -> ModelLoader.ModelDefinition (as hinted by Mojang)

* field_20848 -> BLOCK_DESTRUCTION_STAGES
BLOCK_BREAKING_STAGES -> BLOCK_DESTRUCTION_STAGE_TEXTURES

* BakedModel
deserialize -> deserialize (where's the synthetic?)

* Back to this I guess.

* These mappings were lost in the rebase. :/

* getLightBrightness -> getRelativeDirectionalBrightness
getBrightnessInteger -> getLightmapCoordinate

* Mapped some incidental names relating to Sprite
2019-11-19 15:19:05 +00:00
liach ec47b4448e 45b new stuff and a few fixed entity methods from 45a (#959)
Signed-off-by: liach <liach@users.noreply.github.com>
2019-11-19 14:28:00 +00:00
­Sollace e1ee50dbb4 Corrected the TextRenderer parameter names (#967)
* Mapped TextRenderer

* Fix typo

AAAAAAAAAAAAAAAAHHHHHHHHHOOOOOMMMMMMYYYYGOOOOOOOOOOOOOO

* str -> text

* More parameter mappings
2019-11-19 14:23:01 +00:00
Juuxel d9a890e5dc Fix various issues (#966)
* Fix various issues

Fixed TextRenderer.draw parameter names. Closes #965.
RabbitEntity.method_20669 -> canSpawn. Closes #956.
Block/Fluid.stateFactory + getters -> stateManager. Closes #957.
MinecraftServer.advancementManager + getter -> advancementLoader.
ServerPlayerEntity.advancementManager + getter -> advancementTracker.
Closes #960.
PlayerManager.getAdvancementManager -> getAdvancementTracker.
PlayerManager.advancementManagerMap -> advancementTrackers.
Fixed typo in StatePredicate.test param name (sate -> state).

* PlayerManager.advancementManagerMap -> advancementTrackers

* liach's suggestion
2019-11-19 14:22:22 +00:00
­Sollace 9b09c7929c Rename the body parts to be more descriptive (#950)
* Rename the body parts to be more descriptive

* unmap "accept" method

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

* Mapped the quadrupedal model fields

* StrayEntityModel -> SkeletonEntityModel

* Map parameters
2019-11-18 13:11:10 +00:00
­Sollace a57b0d7cba New vector and direction methods (#961) 2019-11-18 11:36:11 +00:00
­Sollace 6b125213ce Mapped PlayerSkinTexture (#962)
* Mapped PlayerSkinTexture

* Update mappings/net/minecraft/client/texture/PlayerSkinTexture.mapping

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

* resManager -> manager
2019-11-18 11:35:41 +00:00
modmuss50 2956fad80d 19w46b 2019-11-14 14:49:10 +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
­Sollace cc2479fee6 Player-suggested changes (#949) 2019-11-12 18:55:47 +00:00
liach 14997e8ae6 Map biome color cache stuff and matrixstack pop (#945) 2019-11-09 19:08:42 +00:00
­Sollace 15334f0522 Shape mappings (#839) 2019-11-09 19:07:05 +00:00
modmuss50 3bf4ded164 19w45a 2019-11-07 19:37:31 +00:00
Runemoro 630bd1451b Refactor rendering (#930)
* Refactor rendering

* Revert #929 and map more things

* Fixes by liach

* Revert bufferBuilder -> buffer in fields too

* Fixes

* Update mappings/net/minecraft/util/MessageQueue.mapping

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

* Update mappings/net/minecraft/util/MessageQueue.mapping

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

* Suggestions by Player

* Fix some debug renderer names

* More mappings

* Fix

* Fixes by Player

* Improve BufferBuilderStorage names
2019-11-07 18:03:04 +00:00
Mikhail Oleynikov c37fc0ee16 Fill names in AdvancementTabType with existing names in the context 2019-11-03 21:14:00 +00:00
liach 02908445ab Mapped all top-level classes (#934)
* Mapped all top-level classes

No more obfuscated top-level class

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

* Mapping inner classes (Still some left)

These to go:
net/minecraft/datafixers/fixes/LeavesFix$class_1192
net/minecraft/structure/NetherFortressGenerator$class_3404
net/minecraft/structure/OceanMonumentGenerator$class_3367
net/minecraft/structure/OceanMonumentGenerator$class_3368
net/minecraft/structure/OceanMonumentGenerator$class_3369
net/minecraft/structure/OceanMonumentGenerator$class_3370
net/minecraft/structure/OceanMonumentGenerator$class_3371
net/minecraft/structure/OceanMonumentGenerator$class_3372
net/minecraft/structure/OceanMonumentGenerator$class_3373
net/minecraft/structure/OceanMonumentGenerator$class_3375
net/minecraft/structure/OceanMonumentGenerator$class_3388
net/minecraft/structure/StrongholdGenerator$class_3427
net/minecraft/structure/StrongholdGenerator$class_3466
net/minecraft/structure/Structure$class_3500
net/minecraft/structure/WoodlandMansionGenerator$class_3478

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

* Update StructurePoolBasedGenerator.mapping

* Fixes as suggested by @Runemoro

Signed-off-by: liach <liach@users.noreply.github.com>
2019-11-02 21:51:27 +00:00
Mikhail Oleynikov d912077df8 Bring back BER.render (#933) 2019-10-30 18:58:20 +00:00
modmuss50 ab5cfb2bf9 Fix 2019-10-30 16:56:29 +00:00
modmuss50 bf6fdd7195 19w44a 2019-10-30 16:28:24 +00:00
liach 6fa1e34c83 19w42a rendering and layers etc (#917)
* 19w42a rendering and layers etc

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

* Stage changes

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

* stuff stuff stuff

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

* fixed color

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

* Banner Pattern "Patterns"

Patterns name see https://minecraft.gamepedia.com/Banner#Block_entity

* Some more changes

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

* Add 2 mappings

Signed-off-by: liach <liach@users.noreply.github.com>
2019-10-30 16:15:03 +00:00
biom4st3r 11d3a5cf6e StatusEffect mapping and Cuboid Method rename (#906)
* Mappings for statusEffects
Changed Cuboid.copyRotation -> Cuboid.copyRotationAndPoint because of the misleading name

* Apply suggestions from code review

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

* Update mappings/net/minecraft/entity/effect/StatusEffect.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
2019-10-30 15:50:18 +00:00
Laura F. D d5b9f96390 Some entity mappings (#888)
* Some entity mappings

* Mixed set/getShowsDeathScreen up

* AbstractMinecartEntity mappings

* Bee mapping

* No boolean getters

* Reorder words

* rebase and fix
2019-10-30 15:42:22 +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
modmuss50 b8403e7661 19w42a 2019-10-16 18:09:47 +01:00
Juuxel 92727cae99 Fix MobSpawnS2CPacket velocity and rotation being swapped 2019-10-13 21:27:01 +00:00
Modmuss50 ef9864b2b8 A few easy mappings for 41a (#904) 2019-10-10 06:36:35 +02:00
Shnupbups 68328eddc5 Some new stuff (#903) 2019-10-09 20:35:45 +01:00
modmuss50 841e352c61 19w41a 2019-10-09 18:17:26 +01:00
liach 8de7fde3c9 Remap resource pack profile stuff as I revisit it during api writing (#879)
* Remap resource pack profile stuff as I revisit it during api writing

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

* ResourcePackCreator -> ResourcePackProvider
ResourcePackProfileManager -> ResourcePackManager

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

* Minor

Signed-off-by: liach <liach@users.noreply.github.com>
2019-10-09 17:44:35 +01:00
Runemoro 04ad11fed6 Rendering mappings (#897)
* Rendering mappings

* Remove duplicate class

* Suggestions by liach and juuxel

* Unmap inferred field and move to better package
2019-10-09 17:43:46 +01:00
biom4st3r f8dec9497e Iron Golem Model Mappings (#900) 2019-10-09 07:36:31 +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
Danielshe 4bd3848cfb isMinceraft (#893) 2019-10-03 13:19:07 +01:00
modmuss50 a642ad93e7 19w40a 2019-10-02 15:28:28 +01:00
liach 02540173b1 19w39a tag mappings, nbt storage text, and a funny villager namer (#881)
Also fix commandexception method name clash

Signed-off-by: liach <liach@users.noreply.github.com>
2019-09-30 21:27:11 +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
Danielshe 255b94fe0d 19w39a: Some simple methods (#884) 2019-09-29 18:41:14 +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