Commit Graph

19 Commits

Author SHA1 Message Date
b2abce966a
Add a tabulation character to loggin in the Element.display() method 2021-04-22 20:52:54 +02:00
b0e9747fcf
Improve error catching in Element.kt 2021-04-22 20:32:17 +02:00
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
5df5199098
Add a try and catch in the Element.display() method, and add an element to render a background in the config screen 2021-04-13 10:48:33 +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
029382c9b5
Name the companion object of Element and rename BaseColor to TransparentColor. 2021-04-10 15:34:30 +02:00
bf5c276178
Add a companion object to Element.kt and remove the rendering package 2021-04-10 15:17:05 +02:00
c50ce0696f
Remove an useless part of the Util object, and add a poseStack argument to the render function of the Renderable interface. 2021-04-10 15:03:23 +02:00
03f2963486
Add GUI utils. 2021-04-10 14:41:42 +02:00