{"repo":"SparkUniverse/Elementa","free":true,"listed":false,"github":"https://github.com/SparkUniverse/Elementa","clone":"git clone https://github.com/SparkUniverse/Elementa.git","description":"A simple, declarative GUI library for Minecraft","language":"Kotlin","stars":435,"topics":["minecraft","minecraft-forge","graphics","animation","drawing"],"license":"LGPL-3.0","category":"game-templates","readme_excerpt":"Elementa Elementa (from the name of the first book published on Geometry by Euclid) is a library that aims to make GUI creation extremely simple. It's based on a couple key concepts, some of which may already be familiar to those who have worked with a browser's DOM. The library is based around the idea of being declarative. This is a shift from how one would normally do graphics programming in Minecraft, or most other coding in general. In Elementa, you do not have to write code to calculate how to place a component at a certain point on the screen, instead you simply have to describe what you want. Dependency IMPORTANT! If you are using Forge, you must also relocate Elementa to avoid incompatibility with other mods. To do this, you may use the Shadow Gradle plugin: Groovy Version You can do this by either putting it in your plugins block: or by including it in your buildscript's classpath and applying it: You'll then want to relocate Elementa to your own package to avoid breaking other mods Kotlin Script Version You can do this by either putting it in your plugins block: or by including it in your buildscript's classpath and applying it: You'll then want to relocate Elementa to your own package to avoid breaking other mods Legacy Builds In your dependencies block, add: If you were previously using v1.7.1 of Elementa and are now on the v2.0.0 builds, please refer to the migration document to know what has changed. To learn about all the new features in v2.0.0, please read th","default_branch":null,"files":null,"tree":[],"storefront":"/r/SparkUniverse","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SparkUniverse/Elementa/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}