Describe the bug
The bug is that when registering a machine using the example script on the wiki. it causes a crafttweaker error everytime I load the game. the machine doesn't get register and just spits an error to crafttweakers log.
Steps To Reproduce
If this is a bug for everyone trying to add a machine using the example script on will cause this and not actually add a machine.
Expected behavior
Should spit an error to the crafttweaker.log file and not add a new machine
Screenshots
Additional context
This is the error in crafttweaker from the log file
[INITIALIZATION][CLIENT][ERROR] [crafttweaker]: Error executing {[0:crafttweaker]: devtechMachine.zs}: gregtech.api.util.GTControlledRegistry.register(ILjava/lang/Object;Ljava/lang/Object;)V
java.lang.NoSuchMethodError: gregtech.api.util.GTControlledRegistry.register(ILjava/lang/Object;Ljava/lang/Object;)V
at com.zook.devtech.common.machines.CTMachineBuilder.registerMachine(CTMachineBuilder.java:263)
at com.zook.devtech.common.machines.CTMachineBuilder.buildAndRegister(CTMachineBuilder.java:249)
at DevtechMachine.script(devtechMachine.zs:6)
at ZenMain.run(DevtechMachine)
at crafttweaker.runtime.CrTTweaker.loadScript(CrTTweaker.java:240)
at crafttweaker.runtime.CrTTweaker.loadScript(CrTTweaker.java:105)
at crafttweaker.mc1120.events.CommonEventHandler.registerRecipes(CommonEventHandler.java:71)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_247_CommonEventHandler_registerRecipes_Register.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:857)
at net.minecraftforge.common.crafting.CraftingHelper.loadRecipes(CraftingHelper.java:636)
at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:747)
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:336)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:535)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
I hope you find this useful and can shed some light on why it errors :)
Describe the bug The bug is that when registering a machine using the example script on the wiki. it causes a crafttweaker error everytime I load the game. the machine doesn't get register and just spits an error to crafttweakers log.
Versions Forge: 14.23.5.2860 GTCE: 2.7.3-beta Modpack: N/A
Setup Playing Solo
Steps To Reproduce If this is a bug for everyone trying to add a machine using the example script on will cause this and not actually add a machine.
Expected behavior Should spit an error to the crafttweaker.log file and not add a new machine
Screenshots![Bug thing](https://github.com/brachy84/DevTech/assets/104434396/2c3484cf-cd41-400c-ae0e-c67f357fa812)
Additional context This is the error in crafttweaker from the log file [INITIALIZATION][CLIENT][ERROR] [crafttweaker]: Error executing {[0:crafttweaker]: devtechMachine.zs}: gregtech.api.util.GTControlledRegistry.register(ILjava/lang/Object;Ljava/lang/Object;)V java.lang.NoSuchMethodError: gregtech.api.util.GTControlledRegistry.register(ILjava/lang/Object;Ljava/lang/Object;)V at com.zook.devtech.common.machines.CTMachineBuilder.registerMachine(CTMachineBuilder.java:263) at com.zook.devtech.common.machines.CTMachineBuilder.buildAndRegister(CTMachineBuilder.java:249) at DevtechMachine.script(devtechMachine.zs:6) at ZenMain.run(DevtechMachine) at crafttweaker.runtime.CrTTweaker.loadScript(CrTTweaker.java:240) at crafttweaker.runtime.CrTTweaker.loadScript(CrTTweaker.java:105) at crafttweaker.mc1120.events.CommonEventHandler.registerRecipes(CommonEventHandler.java:71) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_247_CommonEventHandler_registerRecipes_Register.invoke(.dynamic) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144) at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:857) at net.minecraftforge.common.crafting.CraftingHelper.loadRecipes(CraftingHelper.java:636) at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:747) at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:336) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:535) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378) at net.minecraft.client.main.Main.main(SourceFile:123) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
I hope you find this useful and can shed some light on why it errors :)