[IDEAS] add css3 in mcreator

Started by strykerz_2_0 on

Topic category: Feature requests and ideas for MCreator

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[IDEAS] add css3 in mcreator
Fri, 04/02/2021 - 08:58 (edited)

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
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Minecraft doesn't support…
Thu, 04/01/2021 - 13:35

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.

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
strykerz_2_0: As The Windows…
Thu, 04/01/2021 - 14:32

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).

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok but why the mod in the…
Thu, 04/01/2021 - 14:39

Ok but why the mod in the link have css ?

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Are you certain Strykerz? If…
Thu, 04/01/2021 - 15:04

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.

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yes, this is a real mod and…
Thu, 04/01/2021 - 20:59

yes, this is a real mod and there is css files in the interior