Commit Graph

4 Commits

Author SHA1 Message Date
bluebear94 46503b6892
1.20 client mappings (#3582)
* Map LogoDrawer constants

* Map constants in PlayerSkinDrawer

Since we can’t consult mojmap, the precise meanings of the various
‘8’ constants will remain elusive. The mappings in this commit
are inferred from the position of the ‘40’ (FACE_OVERLAY_X).

* Map more GUI constants

* Add parameter mapping for SpectatorHud.cycleSlot

* Map two Particle fields

* Map the rest of the Frustum class

* Map WorldRenderer

* Add mappings for debug renderers and entity models

* SinglePartEntityModel.ZERO → TEMP

This is not always zero; rather, it is used for temporary storage.

* Add more mappings for SplashTextRenderer

* Fix javadocs for SplashText.render’s alpha parameter

* Map screen handler constants

* Map interactivity parameters for structure blocks

* Add mappings for various fixes

* Implement suggested changes

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Shnupbups <shnupbups@gmail.com>
2023-06-29 11:48:21 +01:00
Shnupbups 501bf0ef6a
DrawableHelper -> DrawContext (#3548)
* DrawableHelper stuff

This class needs a new name!

* Rename to DrawContext
2023-04-22 00:15:10 +09:00
modmuss50 3d7de5d857 23w16a 2023-04-20 15:15:32 +01:00
apple502j 4caccd00ea
22w24a abuse report (#3214)
* Map abuse report class

* Start mapping methods etc

* Map more methods

* Map even more methods

* Map remaining methods

* Document EditBox, etc

* Document more stuff

* Fix typo

* Remove outdated javadoc

* Fix javadoc

* Apply suggestions from code review

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

* Rename to renderOverlay

* value -> text

* emptyText -> placeholder

* javadoc

* setTextConsumer -> setChangeCallback

* Fix javadoc

* Rename callback to listener

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2022-06-21 19:07:56 +01:00