Cloth Config API [Forge, NeoForge]

Published by BaR1BoD on
Supported MCreator versions
2023.1
2023.2
2023.3
2023.4
2024.1
Tags / plugin type
API support
Java plugin
Procedures
Variables
MCreator plugin
Downloads:
976
Upvotes: 9
About the plugin

Cloth Config API is a plugin adding a new mod element allowing you to create config screen and file.

 

The java plugins feature needs to be enabled as this is a java plugin.

Make sure you have enabled the Cloth Config API in External APIs.

 

There are two config templates where the description of each block is commented.

 

External APIs

Supported Versions:

Forge 1.19.2

Forge 1.19.4

Forge 1.20.1 -> MCreator 2023 and 2024

NeoForge 1.20.4

 

Example

Config screenConfig Mod Elementusage

 

Changelog

v1.3

 -Added "sync config screen values" block to procedure

 -Changed the config loading event

 -Fixed entries being null

 

v1.3

 -Added "call procedure" and "get return value of procedure"  to config element

 -Fixed "set value" block doesn't change the value immediately

 

v1.2

 -Added set config value in procedure

 -Changed the color of some blocks

 -Fixed some bugs

 

v1.1

 -Support for MCreator 2024.1

 -Support for NeoForge 1.20.4

 

v1.0

 -Initial release

License
MIT License

Plugin downloads
Cloth Config API-1.0 | MCreator 2023.1 2023.2 2023.3 2023.4 - Cloth-Config-API_3.zipUploaded on: 04/15/2024 - 19:49   File size: 99.71 KB
Cloth Config API-1.4 | MCreator 2024.1 - Cloth-Config-API-v1.4_0.zipUploaded on: 05/02/2024 - 17:03   File size: 83.98 KB

Comments

In the category block, there is a field in the first line, which is the name of the category variable, for example, in the above photos, in the second photo, general is the category variable.

to be clear, I created a global variable for general and without knowing exactly what type of variable, it won't work. I went thru the obvious ones, bu no luck. If you created variables for your two examples, could you please post them so we know what they are? :-)