Commit Graph

149 Commits

Author SHA1 Message Date
Alexander 1763ecc994
Some NativeImage methods (#2522)
* Some NativeImage methods

* getColorOrLuminance -> getColor
2021-06-28 15:21:44 +01:00
ByMartrixX 8ef1ad747e
1.17-rc2 stuff (#2480) 2021-06-07 14:41:08 +01:00
liach e8461bf968
return inlining, up to enchantment package (#2461)
* return inlining, up to enchantment package

see #2454

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

* Apply suggestions from code review

Typos

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-07 14:40:13 +01:00
apple502j 189122a550
21w19a network stuff (#2394)
* 21w19a network stuff

* Address some problems
(pun intended)

* Fix some names
2021-05-13 16:59:27 +00:00
Player 8fc50a424d 21w19a 2021-05-12 17:50:44 +02:00
enbrain 17fead3d2e
Refactor coordinate names to follow conventions (#2366) 2021-05-04 08:46:46 +00:00
Shnupbups 19c661296a
more 21w14a stuff (#2300)
* stuff

mostly client stuff

* Apply suggestions from code review

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

* 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>
2021-04-10 18:09:14 +01:00
modmuss50 c98e6786a5 21w13a fixes 2021-03-31 19:56:17 +01:00
modmuss50 414cedb22f 21w13a 2021-03-31 19:47:17 +01:00
modmuss50 252ad11d0a 21w10a 2021-03-10 18:34:17 +00:00
Yao Chung Hu 0120469e03
Map Sprite sub classes (#2058) 2021-02-13 21:43:16 +00:00
Shnupbups 090c779741
Client package stuff (#1976)
* misc client stuff

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

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-01-23 09:48:35 +00:00
modmuss50 a6ba184207 21w03a 2021-01-20 19:22:41 +00:00
modmuss50 c91f482141 20w45a 2020-11-04 20:44:22 +00: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
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
haykam821 89c7c0d8b7
Replace the remaining TEX suffixes for fields (#1761) 2020-09-18 13:01:32 +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
modmuss50 b446f6047d 20w27a 2020-07-01 17:44:38 +01:00
Joseph Burton d3e8fd1935
Fix lots of spelling errors throughout yarn (#1506)
* Fix lots of spelling errors throughout yarn

* Delete empty comment
2020-06-24 17:34:48 +01:00
­Sollace 0562ae2984
NativeImage#Format.ABGR not NativeImage#Format.AGBR (#1485) 2020-06-19 18:11:42 +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
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
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
modmuss50 cf0ef0a6bd 20w15a 2020-04-08 15:44:19 +01: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
modmuss50 ea08e25f4f 1.15.2-pre1 2020-01-14 20:22:47 +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
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
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
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
­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 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
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
modmuss50 a642ad93e7 19w40a 2019-10-02 15:28:28 +01:00
modmuss50 052e77acc0 19w39a 2019-09-27 17:23:24 +01:00
grondag c65ee2bb41 Map bindTexture() to public method (#870)
In the latest snapshot the old bindTexture method was made private and is now wrapped by a public method that ensures thread safety.  Mods calling `bindTexture()` will fail due to an access violate.  This PR maps `bindTexture` to the new publicMethod and renames the private method.
2019-09-21 23:27:52 +02:00
modmuss50 2565f0b45b 19w38a 2019-09-18 16:17:05 +01:00
Runemoro 22d643e113 A few client mappings (#833)
* A few client mappings

* More client mappings

* Update TitleScreen.mapping

* Drop things that are gone
2019-09-01 16:22:10 +01:00
Runemoro 35891f155e Map some new 19w34a classes (#831)
* Map some new 19w23a classes

* Fixes

* Fix typo

* Drop methods that are gone
2019-09-01 16:21:31 +01:00
modmuss50 5695254f64 19w34a 2019-08-22 14:39:40 +01:00
Shnupbups 4243e9813b Mapped lots of random things (#794)
* Stuff

* more stuff

* even more stuff

* removed an accidental thing

* stuff 4: electric boogaloo

* Update BlockState.mapping

* Stuff VI: The Search for Stuff V

* Update NativeImage.mapping

* removed things already mapped by Rune's PR

Namely `net/minecraft/realms/YesNoScreen' (`com/mojang/realmsclient/gui/screens/RealmsConfirmScreen` in Rune's PR), `net/minecraft/realms/RealmsError' (`com/mojang/realmsclient/client/RealmsError` in Rune's PR), and `net/minecraft/realms/InvalidClientScreen' (`com/mojang/realmsclient/gui/screens/RealmsClientOutdatedScreen` in Rune's PR).

* Stuff: The Final Stuffening

* Stuff: Revengeance

* Stuff Episode IX: Endgame
2019-07-31 15:20:12 +01:00
­Sollace f54c0ed8ef Mapped NativeImage (#772) 2019-07-16 20:27:01 +02:00
Runemoro 618083791c Fix some methods not using intermediaries (#788) 2019-07-08 18:09:22 +02:00
modmuss50 e20cfe9b0e 1.14.4-pre3 2019-07-08 13:27:46 +01:00
modmuss50 618de57dfb 1.14.4-pre2 2019-07-04 16:29:01 +01:00
Adrian Siekierka ab32dae2fa 1.14.4-pre1 2019-07-03 20:50:19 +02:00
Adrian Siekierka 1a6f261a2e The Great Intermediary Update, Part 1 2019-06-28 23:55:20 +02:00
modmuss50 b6ed693b8d 1.14.3-pre4 2019-06-19 20:24:08 +01:00
modmuss50 b27778997a 1.14.3-pre3 2019-06-19 18:48:53 +01:00
modmuss50 8554a5ae8c 1.14.3-pre2 2019-06-07 12:45:25 +01:00
Adrian Siekierka bdbf125b33 1.14.3-pre1 2019-06-03 18:48:18 +02:00
modmuss50 fa072139bf 1.14.1 Pre-Release 1 2019-05-07 17:05:49 +01:00
liach 000b032f15 Map resources (pack, reload) stuff (#674)
* Map resources (pack, reload) stuff

some tag stuff
command suggestion window in both chat and command block ui
(mojang should just unify those instead of copy pasta)

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

* Unify the names to complete for completion of one suggestion

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

* Initial feedback from runemoro

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

* Missed a few things. Thanks rune for pointing out

Simplified name for abstract file resource pack

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

* fileNameFilter -> pathFilter (id path filter)

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

* creator -> factory

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

* main thread and caching tags

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

* TagManager -> RegistryTagManager (only manages registry tags)

Also named prepared data for application "Intermediate"

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

* Save some stuff

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

* Fix inferred name missing in named jar

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

* Revert auto mapping addition

Signed-off-by: liach <liach@users.noreply.github.com>
2019-05-07 16:56:34 +01:00
Runemoro 892d4afb41 FIx issues (#680)
* FIx misnamed things

* Game options and mysterious setblockstate boolean

* a

* Remove duplicate class, remove enum constant from Unit
2019-05-07 15:21:22 +01:00
modmuss50 de13dda07c 1.14 Pre-Release 5 2019-04-18 22:01:39 +01:00
modmuss50 782b07c692 1.14 Pre-Release 4 2019-04-17 17:41:25 +01:00
Adrian Siekierka 13943c582b update to 1.14 Pre-Release 3 2019-04-16 17:51:03 +02:00
Runemoro 4b82d7412a Misc mappings (#621) 2019-04-16 16:16:45 +02:00
modmuss50 2fd19127ea 1.14 Pre-Release 2 2019-04-12 15:38:24 +01:00
Runemoro ffdab84e79 Client mappings (#609)
* Client mappings

* Update BlockLeakParticle.mapping

* Update NativeImage.mapping
2019-04-12 15:15:55 +01:00
modmuss50 b13686aed0 1.14 Pre-Release 1 2019-04-10 16:36:17 +01:00
modmuss50 0e8b18ad3f 19w14b 2019-04-05 17:03:47 +01:00
modmuss50 845be1d2ec 19w14a 2019-04-03 17:16:41 +01:00
thecodewarrior 37f54592dc Add more GL and GUI mappings (#578)
* Add more GL and GUI mappings

* Make playPageTurnSound more concise
2019-03-31 15:11:22 +01:00
modmuss50 53620837bf 19w13a 2019-03-27 18:35:10 +00:00
modmuss50 b9285540bc 19w12a 2019-03-20 17:56:26 +00:00
Runemoro 936397a574 Client class mappings (#534)
* Client class mappings

* A few more classes

* 3 more

* A few more classes

* a

* Suggestions

* ErrorScreen
2019-03-18 19:53:22 +00:00
modmuss50 a7eee8f064 Fix inner class names 2019-03-14 19:41:19 +00:00
modmuss50 eef3d973f2 Save in enigma, removes some propagated method names 2019-03-14 16:26:35 +00:00
modmuss50 e3d24ae102 19w11b 2019-03-14 15:39:51 +00:00
Adrian Siekierka 333e59da73 19w11a 2019-03-14 13:57:09 +01:00
asie 4b91cfbcf5 19w09a 2019-02-27 19:17:22 +01:00
gegy1000 9c2a779f00 (#507) Arbitrary Mapping 2019-02-27 19:09:49 +01:00
Adrian Siekierka 436cf33f9f
improve resource mappings (#508) 2019-02-27 19:06:10 +01:00
Adrian Siekierka c25fcbb177 19w08b 2019-02-21 19:19:18 +01:00
Adrian Siekierka 66156a5471 update to 19w08a 2019-02-20 21:49:23 +01:00
Runemoro b09e907146 Class mappings (#460) 2019-02-16 22:01:42 +01:00
Adrian Siekierka 4f390a9306
map 19w07a resource reloading (#462) 2019-02-14 20:54:51 +01:00
modmuss50 8a2af8044e 19w07a 2019-02-13 17:35:08 +00:00
Blake Redenius 901311e1e5 Mapping for SynchronousResourceReloadListener#a -> reloadResources. Also fix up some LootTables names, and a few other misc mappings. (#455) 2019-02-10 23:43:24 +01:00
Adrian Siekierka 88671d22d7 map basic resource stuff 2019-02-06 21:33:19 +01:00
Adrian Siekierka e2a1bba0b6 19w06a 2019-02-06 21:22:24 +01:00
Adrian Siekierka 1bfe80a06a update to 19w05a 2019-01-30 18:48:39 +01:00
Adrian Siekierka 995df6291a update to 19w04a/Enigma 0.13.x 2019-01-24 20:10:22 +01:00
Runemoro 20ffe31834 Block entities and blocks (#417) 2019-01-24 17:08:22 +01:00
modmuss50 347fd572c2 19w03a 2019-01-16 18:24:40 +00:00
Runemoro 37756970dc A few rendering mappings (#401)
* A few rendering mappings

* Fix something

* Fix something
2019-01-16 15:48:01 +00:00
Adrian Siekierka bf62f29ddf update to 19w02a 2019-01-09 18:20:38 +01:00
Adrian Siekierka 67ec22954b
cleanup options classes, map more of KeyBinding, Sprite, MonitorTracker (#377) 2019-01-05 11:03:46 +01:00
Adrian Siekierka 9b8eb87afa seriously, use Enigma... 2018-12-31 01:15:37 +01:00
Runemoro 82817e9fce Font rendering and game window (#349) 2018-12-31 22:37:56 +01:00
Erlend Åmdal 60a2f5b80e LightmapTextureManager and various ambient light things (#312)
* Map LightmapTextureManager and various ambient light things
2018-12-20 20:51:03 +01:00
Adrian Siekierka c8152014af rebuild method names 2018-12-12 18:22:18 +01:00
Adrian Siekierka e9ccf701a7 port to 18w50a 2018-12-12 18:12:26 +01:00
Adrian Siekierka c79869974f
fix ParticleManager, map LookupManager and related (#254) 2018-12-10 18:33:47 +01:00
Adrian Siekierka 245ce1dd92 update to 18w49a 2018-12-05 15:13:16 +01:00