Jump to content

Recommended Posts

Posted

WHAT?S THE PROBLEM?

 

 

[19:51:34] [main/ERROR] [LaunchWrapper]: Unable to launch

1213java.lang.reflect.InvocationTargetException: null

1214at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_292]

1215at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_292]

1216at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_292]

1217at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_292]

1218at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]

1219at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]

1220at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_292]

1221at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_292]

1222at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_292]

1223at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_292]

1224at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:118) [server.jar:48ec0a1]

1225at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:67) [server.jar:48ec0a1]

1226Caused by: java.lang.NoClassDefFoundError: net/minecraft/world/gen/feature/WorldGenBigTree

1227at net.minecraft.block.Block.func_149671_p(Block.java:2371) ~[aow.class:?]

1228at net.minecraft.init.Bootstrap.func_151354_b(Bootstrap.java:772) ~[ni.class:?]

1229at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1661) ~[MinecraftServer.class:?]

1230... 12 more

1231Caused by: java.lang.ClassNotFoundException: net.minecraft.world.gen.feature.WorldGenBigTree

1232at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]

1233at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_292]

1234at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_292]

1235at net.minecraft.block.Block.func_149671_p(Block.java:2371) ~[aow.class:?]

1236at net.minecraft.init.Bootstrap.func_151354_b(Bootstrap.java:772) ~[ni.class:?]

1237at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1661) ~[MinecraftServer.class:?]

1238... 12 more

1239Caused by: net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer thedarkcolour.futuremc.asm.CoreTransformer@2ca54da9 from coremod FutureMC

1240at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:260) ~[server.jar:48ec0a1]

1241at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?]

1242at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?]

1243at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_292]

1244at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_292]

1245at net.minecraft.block.Block.func_149671_p(Block.java:2371) ~[aow.class:?]

1246at net.minecraft.init.Bootstrap.func_151354_b(Bootstrap.java:772) ~[ni.class:?]

1247at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1661) ~[MinecraftServer.class:?]

1248... 12 more

1249Caused by: java.lang.RuntimeException: Could not find matching instruction in bytecode

1250at thedarkcolour.futuremc.asm.CoreTransformer.findInsn(CoreTransformer.java:294) ~[future-mc-1.12.2-0.2.4.0.jar:?]

1251at thedarkcolour.futuremc.asm.CoreTransformer.patchBeforeInsn(CoreTransformer.java:249) ~[future-mc-1.12.2-0.2.4.0.jar:?]

1252at thedarkcolour.futuremc.asm.CoreTransformer.patchBeforeReturnTrue(CoreTransformer.java:200) ~[future-mc-1.12.2-0.2.4.0.jar:?]

1253at thedarkcolour.futuremc.asm.CoreTransformer.patchWorldGenBigTree(CoreTransformer.java:114) ~[future-mc-1.12.2-0.2.4.0.jar:?]

1254at thedarkcolour.futuremc.asm.CoreTransformer.transform(CoreTransformer.java:36) ~[future-mc-1.12.2-0.2.4.0.jar:?]

1255at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:256) ~[server.jar:48ec0a1]

1256at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?]

1257at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?]

1258at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_292]

1259at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_292]

1260at net.minecraft.block.Block.func_149671_p(Block.java:2371) ~[aow.class:?]

1261at net.minecraft.init.Bootstrap.func_151354_b(Bootstrap.java:772) ~[ni.class:?]

1262at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1661) ~[MinecraftServer.class:?]

1263... 12 more

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • logs too big for one pastebin https://pastebin.com/ZjUGHu3u  https://pastebin.com/RqCUZf3X  https://pastebin.com/6ZPS99nD
    • You probably used jd-gui to open it, didn't you? Nothing wrong with that, I also made that mistake, except that Notch was a smart guy and he obfuscated the code. That's why you only see files called "a", "b", "c" and then a file that combines them all. As I said, use RetroMCP to deobfuscate the code so that you will 100% understand it and be able to navigate it.
    • Decompiling minecraft indev, infdev, alpha, beta or whichever legacy version is really easy. I'm not a plug, I just also got interested in modding legacy versions (Infdev to be specific). Use https://github.com/MCPHackers/RetroMCP-Java Once you install their client and the Zulu Architecture that they say they recommend (or use your own Java). I encountered some problems, so I run it with: "java -jar RetroMCP-Java-CLI.jar". You should run it in a seperate folder (not in downloads), otherwise the files and folders will go all over the place. How to use RetroMCP: Type setup (every time you want change version), copy-paste the version number from their list (they support indev), write "decompile" and done! The code will now be deobfuscated and filenames will be normal, instead of "a", "b" and "c"! Hope I helped you, but I don't expect you to reply, as this discussion is 9 years old! What a piece of history!  
    • I know that this may be a basic question, but I am very new to modding. I am trying to have it so that I can create modified Vanilla loot tables that use a custom enchantment as a condition (i.e. enchantment present = item). However, I am having trouble trying to implement this; the LootItemRandomChanceWithEnchantedBonusCondition constructor needs a Holder<Enchantment> and I am unable to use the getOrThrow() method on the custom enchantment declared in my mod's enchantments class. Here is what I have so far in the GLM:   protected void start(HolderLookup.Provider registries) { HolderLookup.RegistryLookup<Enchantment> registrylookup = registries.lookupOrThrow(Registries.ENCHANTMENT); LootItemRandomChanceWithEnchantedBonusCondition lootItemRandomChanceWithEnchantedBonusCondition = new LootItemRandomChanceWithEnchantedBonusCondition(0.0f, LevelBasedValue.perLevel(0.07f), registrylookup.getOrThrow(*enchantment here*)); this.add("nebu_from_deepslate", new AddItemModifier(new LootItemCondition[]{ LootItemBlockStatePropertyCondition.hasBlockStateProperties(Blocks.DEEPSLATE).build(), LootItemRandomChanceCondition.randomChance(0.25f).build(), lootItemRandomChanceWithEnchantedBonusCondition }, OrichalcumItems.NEBU.get())); }   Inserting Enchantments.[vanilla enchantment here] actually works but trying to declare an enchantment from my custom enchantments class as [mod enchantment class].[custom enchantment] does not work even though they are both a ResourceKey and are registered in Registries.ENCHANTMENT. Basically, how would I go about making it so that a custom enchantment declared as a ResourceKey<Enchantment> of value ResourceKey.create(Registries.ENCHANTMENT, ResourceLocation.fromNamespaceAndPath([modid], [name])), declared in a seperate enchantments class, can be used in the LootItemRandomChanceWithEnchantedBonusCondition constructor as a Holder? I can't use getOrThrow() because there is no level or block entity/entity in the start() method and it is running as datagen. It's driving me nuts.
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.