your current location:首页 > news>Config js minecraft

Config js minecraft

2024-12-15 03:11:07|Myriagame |source:minecraft skins

The functions of creating a custom Forge Toml configuration file with the use of Kubejs scripts are added. For detailed information and usage, please refer to Wiki.Here are an example of creating configuration files:

 configsevent.com ((event) => {event.setname ("my very cool config file"); event.push ("debug"); event.comment ( "Determines HowMany PARTICLES Should be spawned around the player in debug mode "); Global.debugparticleCount = Event.Intvalue (" Numberofparticles "", 0, 0, 20) T.Comment ("Determines if debug mode is enabled"); global.debugenabled= Event.Booleanvalue ("enabled", false); event.pop (); event.comment ("be will!"); Global.Selector = Event.enumValue ("Selectortype", "BASIC" , ["Basic","Advanced", "Supreme",];});