Commit Graph

899 Commits

Author SHA1 Message Date
Thalia Nero 8a30358ef2 Merge branch '20w45a' of github.com:FabricMC/yarn into world-entity 2020-11-06 18:10:03 -05: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
Thalia Nero 6d0aa8cff7 Map a lot of entity world interaction shenanigans. Feeling tired might remap later. 2020-11-06 03:43:11 -05: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