Commit Graph

67 Commits

Author SHA1 Message Date
Player 8fc50a424d 21w19a 2021-05-12 17:50:44 +02:00
enbrain a30bafcec5
Map math classes (#2364)
* Map math classes

* Fix typo: rotateZCoutnerclockwise -> rotateZCounterclockwise

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

* Move Rect2i to client/util/math

* Document the range of the return value

* Use @code for range

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

* Revert multiplyModel

* cumulativeProportions -> getCumulativeDistribution

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-05-04 18:25:42 +01: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
kb1000 98e634fe95
Map some parts of the OpenGL state managing mechanisms (#2144) 2021-03-16 19:53:20 +00:00
liach 0605b9d9ae
Move dilation to be with modelcuboid data that accesses its package (#2073)
radiusXYZ fields

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-17 18:16:18 +00:00
liach 896d6340d5
Move affine transformation and vector 4f to regular util math (#2074)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-15 22:40:39 +00:00
YanisBft ce0c5cae51
client.util.math.Vector3f -> util.math.Vec3f (#1879)
* client.util.math.Vector3f -> util.math.Vec3f

* Vec to Vector

* Revert "Vec to Vector"

This reverts commit 844d3cb107.

* simple class docs

* better word
2020-11-28 13:44:50 +00:00
Thalia Nero e0df01cad6
Entity rendering (#1861)
* Map entity model classes.

* Map new stuff in entity renderers.

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

* Apply suggestions from code review

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

* Apply other suggestions

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

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

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

* Update crobbed mapping.

Co-authored-by: Gegy <gegy1000@gmail.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-11-12 08:57:40 +00:00
enbrain 0b512f737d
Add mappings for matrix classes (#1854) 2020-11-06 14:25:09 +00:00
modmuss50 c91f482141 20w45a 2020-11-04 20:44:22 +00:00
modmuss50 8bc6276f19 20w29a 2020-07-15 17:04:53 +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
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
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
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
Erlend Åmdal 59dfbead00 Vector3f.reciprocal->normalize (#1027) 2019-12-30 22:04:36 +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
Erlend Åmdal 9402c417ee Tiny quaternion fixes (#1022)
* Re-add missing quaternion mappings

* Vector4f.rotate
2019-12-26 12:27:36 +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
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 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
­Sollace a57b0d7cba New vector and direction methods (#961) 2019-11-18 11:36:11 +00:00
liach 14997e8ae6 Map biome color cache stuff and matrixstack pop (#945) 2019-11-09 19:08:42 +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 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
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 b8403e7661 19w42a 2019-10-16 18:09:47 +01:00
modmuss50 841e352c61 19w41a 2019-10-09 18:17:26 +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
modmuss50 052e77acc0 19w39a 2019-09-27 17:23:24 +01:00
modmuss50 bf500b5591 Fix 19w38b 2019-09-18 17:39:49 +01: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
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 b9bc85df67 Mapped Quarternion (#776) 2019-07-16 20:18:09 +02:00
­Sollace 685cdf51e1 Fix #789 (#790) 2019-07-08 21:15:28 +02:00
Adrian Siekierka 1a6f261a2e The Great Intermediary Update, Part 1 2019-06-28 23:55:20 +02: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
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
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
modmuss50 e3d24ae102 19w11b 2019-03-14 15:39:51 +00:00
Adrian Siekierka 333e59da73 19w11a 2019-03-14 13:57:09 +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
modmuss50 8a2af8044e 19w07a 2019-02-13 17:35:08 +00:00
grondag ee69e55c98 normalize -> reciprocal (#452) 2019-02-10 01:49:22 +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
modmuss50 347fd572c2 19w03a 2019-01-16 18:24:40 +00:00
Adrian Siekierka bf62f29ddf update to 19w02a 2019-01-09 18:20:38 +01:00
covers1624 fc35940548 Move some client only Vecmath classes to better location. (#328)
Moves Vector3f, Vector4f and Matrix4f from minecraft/sortme to minecraft/client/util/math, as well as Quaternion from minecraft/client/util
2018-12-17 18:49:58 +01:00