Started by
strykerz_2_0
on
Topic category: Feature requests and ideas for MCreator
add the fact that we can modify things in minecraft or that we do with the language we call (CSS3)
For example with this code we can modify:
-The colors of the gui
- gui
- button
- and many others
If you need a exemple I give you a mod that use css3 (paladium mod)
https://www.dropbox.com/s/gjecy4mq26el33w/palamod-deobf9.jar?dl=0
all css3 files are located in "assets/palamod/css"
You can see all files with "open with winrar"
Thank you for read my idea and see you next time
Edited by strykerz_2_0 on Fri, 04/02/2021 - 08:58
Minecraft doesn't support CSS, hence why no one has done it. And that is also why we have JSON, JSON is pretty much like XML but more modular. If minecraft is gonna support CSS it might as well support HTML and Javascript, and even Typescript too if your gonna have Javascript. But then minecraft would be a glorified website.
strykerz_2_0: As The Windows Experience said, Minecraft does not support CSS by default, so the people who made the mod you sent has created their own system to support CSS.
The Windows Experience: Java supports by default HTML, MCreator uses a lot of HTML for the texts, and if you use JavaFX, you can use CSS for the UI. However, nor MCreator nor Minecraft uses it. MCreator is developed in Java Swing and Minecraft uses OpenGL (LWJGL).
Ok but why the mod in the link have css ?
Are you certain Strykerz? If it does it's because like Goldorion litterally said, it's because they made their own system specifically for their mod.
yes, this is a real mod and there is css files in the interior