- Mod loading order [1.18]
-
Mod loading order [1.18]
i don't know whats the problem here.. just comment it out and test is with the other dependency
- Mod loading order [1.18]
-
Mod loading order [1.18]
https://github.com/XxRexRaptorxX/AllTheCompatibility/blob/main/src/main/resources/META-INF/mods.toml can this problem arise if the other mod's version does not match?
-
Mod loading order [1.18]
Hey guys, I try to make a mod thats overrides recipes from other mods. My problem is how to change the loading order that my recipes are loaded last. I tried to change 'ordering' to "AFTER" or "BEFORE" in the dependencies of the mods.toml file but it doesn't seem to work.. Can anyone help me? [[dependencies.allthecompatibility]] modId="assemblylinemachines" mandatory=false versionRange="[1.18-1.3.5,)" ordering="BEFORE" side="BOTH"
-
Crafting recipes enable/disable with config file [1.16]
Thanks for your hint, but i don't quite understand this Serializer inner class
-
Crafting recipes enable/disable with config file [1.16]
Hey guys, i try to make recipes based of config options, but i can`t find the problem here, all recipes linked to an config options are always disabled and theres no error in the console, maybe a problem in the factories? ConditionsFactory public class ConditionFactory implements IConditionBuilder { //@Override public BooleanSupplier parse(JsonSerializationContext context, JsonObject json) { boolean value = JSONUtils.getBoolean(json , "value", true); String key = JSONUtils.getString(json, "type"); if (key.equals(Uncrafted.MODID + ":spawneggs_enabled")) { return () -> Config.ACTIVATE_SPAWNEGG_RECIPES.get().booleanValue() == value; } else if (key.equals(Uncrafted.MODID + ":spawner_enabled")) { return () -> Config.ACTIVATE_SPAWNER_RECIPES.get().booleanValue() == value; } else if (key.equals(Uncrafted.MODID + ":skulls_enabled")) { return () -> Config.ACTIVATE_SKULL_RECIPES.get().booleanValue() == value; } return null; } } _factories.json { "conditions": { "spawneggs_enabled": "xxrexraptorxx.util.ConditionFactory", "spawner_enabled": "xxrexraptorxx.util.ConditionFactory", "skulls_enabled": "xxrexraptorxx.util.ConditionFactory" } } example recipe: spawner.json { "conditions" : [ { "type" : "uncrafted:spawner_enabled", "value" : true } ], "type": "minecraft:crafting_shaped", "pattern": [ "XXX", "X#X", "XXX" ], "key": { "X": { "item": "minecraft:iron_bars" }, "#": { "item": "minecraft:nether_star" } }, "result": { "item": "minecraft:spawner" } } i hope anyone can help me
-
Remove crafting recipes [Forge 1.16]
But i want to delete these recipes based on settings in the config file
-
Remove crafting recipes [Forge 1.16]
How can i delete specific crafting recipes on game/server start? i tried different things with ForgeRegistry<IRecipe> and IForgeRegistryModifiable but i don`t get it to work.. Has anyone done that yet?
-
[1.12.x] Crafting result with enchantments
Add forge or minecraft this feature in the next versions? I mean, in the json files
-
[1.12.x] Crafting result with enchantments
Hey, has anyone an idea how to give the crafting result enchantments?
-
[1.12] Specific Player
Hey How can i test for a player with a specific user name?
-
[1.12] How to disable some mod recipe files via config file
good to know
-
[1.12] How to disable some mod recipe files via config file
Okay, i found a easier way to deactivate recipes! Here is my code:
-
[1.12] How to disable some mod recipe files via config file
Okay i tried is, but now is the recipe deactivated regardless of whether the config option is true or false, whats wrong? heres my condition class: the _factories.json: and a recipe json file:
IPS spam blocked by CleanTalk.