Commit Graph

32 Commits

Author SHA1 Message Date
enbrain 34860676d5
Refactor the program and shader classes (#3384)
* Refactor the program and shader classes

* Rename ShaderProgramParseException to InvalidHierarchicalFileException

Co-authored-by: modmuss50 <modmuss50@gmail.com>
2022-11-16 23:53:09 +11:00
enbrain 432b59d8dc
Document some rendering stuff (#3283)
* Document some rendering stuff

* empty commit to re-run actions
2022-09-03 18:01:33 +01:00
apple502j f9bbd6124b
Map rendering stuff (#3114)
* Map rendering stuff

* Apply suggestions from code review

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

* Map a GLFW const in Clipboard

* GlBlendState: use names from OpenGL

* Fix mappings for BufferRenderer

* Add unpick definitions for GL and GLFW

* Fix unpick

* Apply suggestions from code review

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2022-04-27 16:40:20 +00:00
Shnupbups 77aef71b0a
22w12a stuff (#3059)
* 22w12a stuff

* fixes from @apple502j and a bit more

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

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>
2022-03-30 09:10:15 +00:00
YanisBft 4e2c6d333a
41 client constants (#2497)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-28 15:22:36 +01:00
apple502j 23e05df05b
1.17-pre4 client stuff (#2466)
* 1.17-pre4 client stuff

* Apply suggestions from code review

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

* Rename TextHandler methods

* 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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-07 14:42:29 +01:00
Player 8fc50a424d 21w19a 2021-05-12 17:50:44 +02:00
­Sollace e1aec798d8
Map various render buffer / buffer builder internals (#2324)
* Map various render buffer / buffer builder internals

* Further mappings + added some names from #2312 (@liach)

* 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-18 13:03:07 +00:00
­Sollace f170a90509
RenderPhase and RenderLayer Mappings (#2196)
* Mapped the new shader-related changes in RenderPhase and RenderLayer

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

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

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

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

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

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

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

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

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

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-27 20:10:14 +00:00
modmuss50 696ae0e310 21w11a 2021-03-17 18:44:18 +00:00
modmuss50 252ad11d0a 21w10a 2021-03-10 18:34:17 +00:00
modmuss50 c91f482141 20w45a 2020-11-04 20:44:22 +00: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
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 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
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
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 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
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 ea08e25f4f 1.15.2-pre1 2020-01-14 20:22:47 +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
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 9fb64b9b26 1.15-pre1 2019-11-21 19:13:18 +00:00
modmuss50 3bf4ded164 19w45a 2019-11-07 19:37:31 +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 ef9864b2b8 A few easy mappings for 41a (#904) 2019-10-10 06:36:35 +02: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