Commit Graph

12 Commits

Author SHA1 Message Date
de833629ec
Add a parameter to the colorEnd method in Element.kt and make Configuration.obtained a jvm field 2021-04-22 12:42:42 +02:00
70b0772517
Revert "Replace VertexConsumer.colorEnd() with a new ColoredElement.setColor() method."
This reverts commit a9825ac5ccdbdd5c17d7937e87d15c288fa562e3.
2021-04-15 22:08:25 +02:00
09168d1c23
Replace VertexConsumer.colorEnd() with a new ColoredElement.setColor() method. 2021-04-15 14:00:02 +02:00
6f5ef9dace
Revert "Add a try and catch in the render function of ClickBox.kt."
This reverts commit 56896651a3622194660d57c733ab55be841b56b8.
2021-04-13 10:48:37 +02:00
ad3fb8be7a
Add a try and catch in the render function of ClickBox.kt. 2021-04-12 23:44:15 +02:00
c06535047c
Don't multiply the full height in ClickBox.kt 2021-04-11 20:12:32 +02:00
31bb7be602
Add a colorEnd() method to the companion object of ColoredElement, render more things in the ClickBox class and edit en_us.json 2021-04-11 12:23:53 +02:00
f3d291e180
Test if the poseStack argument in the render method of ClickBox.kt is null. 2021-04-11 09:39:38 +02:00
1ce635dbcf
Add a new ClickBox and don't add 10 to the x and y coordinates. 2021-04-10 21:22:19 +02:00
0bbf7a00ff
Woops, use a value of 1.5 instead. 2021-04-10 19:36:55 +02:00
37376fdc6a
Fix the Y axis of the rendered strings. 2021-04-10 19:35:59 +02:00
3636c74851
Rename Box to ClickBox, make a ColoredElement class, draw strings and add more translations 2021-04-10 19:17:46 +02:00