Hey, so I am trying to build a modpack and need new Tinkers materials. I know mod called JSONables which adds tinkers materials with .json file. I got into source code to see what I needed to build the .json file with and I built it. Here is the code and I also have .lang file with materia.accioinfused = Accio Infused:
Thank you so much. You are the only one who helped me with this :D.
Still not working but I think its something to do with materials :/ okay thanks anyways
Can you figure something out of this? It is something to do with Material.class. I checked it out but what I did perfectly registers there :/ weird ok this something to do with resource i am using?
[Client thread/WARN] [JSON-Ables]: Configuration error!
java.lang.NullPointerException
at jsonAbles.api.MaterialSet.<init>(MaterialSet.java:24) ~[MaterialSet.class:?]
at jsonAbles.config.json.MaterialType.register(MaterialType.java:35) ~[MaterialType.class:?]
at jsonAbles.config.ConfigHandler.registerAll(ConfigHandler.java:138) ~[ConfigHandler.class:?]
at jsonAbles.config.ConfigHandler.init(ConfigHandler.java:85) [ConfigHandler.class:?]
at jsonAbles.JsonAbles.preInit(JsonAbles.java:53) [JsonAbles.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532) [FMLModContainer.class:?]
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) [guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) [guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) [guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) [guava-17.0.jar:?]
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) [LoadController.class:?]
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) [LoadController.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) [guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) [guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) [guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) [guava-17.0.jar:?]
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?]
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556) [Loader.class:?]
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480) [bao.class:?]
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878) [bao.class:?]
at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:310) [NewLaunch.jar:?]
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:394) [NewLaunch.jar:?]
at org.multimc.EntryPoint.listen(EntryPoint.java:170) [NewLaunch.jar:?]
at org.multimc.EntryPoint.main(EntryPoint.java:54) [NewLaunch.jar:?]
Hey, so I am trying to build a modpack and need new Tinkers materials. I know mod called JSONables which adds tinkers materials with .json file. I got into source code to see what I needed to build the .json file with and I built it. Here is the code and I also have .lang file with materia.accioinfused = Accio Infused:
Please tell me what am I doing wrong
I am getting Configuration Error! in logs
Thank you so much. You are the only one who helped me with this :D.
Still not working but I think its something to do with materials :/ okay thanks anyways
Can you figure something out of this? It is something to do with Material.class. I checked it out but what I did perfectly registers there :/ weird ok this something to do with resource i am using?
Now new code if you need it
"materials": [
{
"key": "accioinfused",
"name": "Accio Infused",
"style": "Orange",
"resource": "mineraft:diamond",
"materialID": 49,
"harvestLevel": 3,
"durability": 1000,
"miningSpeed": 10,
"attack": 1.5,
"reinforced": 1,
"primaryColor": 16744448,
"value": 1,
"handleModifier": 1.25,
"stonebound": 0,
"buildParts": true,
"modifiers": 2,
"lore": "From Magical Crops to Blacksmith and you.",
"arrowMass": 0.15,
"arrowBreakChance": 0.5,
"bowDrawSpeed": 2.5,
"bowSpeedMax": 0.25,
"nativeModifiers": [],
"nativeEnchantments": []
}
],
"fluids": [],
"aspects": [],
"oreBerries": [],
"smelteryFuels": [],
"brews": []
}