Jump to content

MsaterSgnt

Members
  • Posts

    1
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

MsaterSgnt's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Last time I tried my files corrupted. I haven’t gotten to it again yet
  2. I'm trying to make a mod using FML 1.13.2 but whenever I try running my mod, I get an error saying here is my log [24Aug2019 15:49:12.600] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20190213.203750, --fml.mcVersion, 1.13.2, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 25.0.219, --version, MOD_DEV, --assetIndex, 1.13.1, --assetsDir, C:\Users\Istvan\.gradle\caches\forge_gradle\assets, --username, Dev, --accessToken, ????????, --userProperties, {}] [24Aug2019 15:49:12.604] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher starting: java version 1.8.0_162 [24Aug2019 15:49:12.896] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust [24Aug2019 15:49:14.424] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmluserdevclient' with arguments [--version, MOD_DEV, --gameDir, ., --assetsDir, C:\Users\Istvan\.gradle\caches\forge_gradle\assets, --assetIndex, 1.13.1, --username, Dev, --accessToken, ????????, --userProperties, {}] [24Aug2019 15:49:16.638] [Client thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: Dev [24Aug2019 15:49:24.868] [Client thread/INFO] [net.minecraft.client.Minecraft/]: LWJGL Version: 3.1.6 build 14 [24Aug2019 15:49:25.892] [Client thread/INFO] [net.minecraftforge.fml.ModLoader/CORE]: Loading Network data for FML net version: FML2 [24Aug2019 15:49:26.107] [modloading-worker-2/INFO] [net.minecraftforge.common.ForgeMod/FORGEMOD]: Forge mod loading, version 25.0.219, for MC 1.13.2 with MCP 20190213.203750 [24Aug2019 15:49:26.108] [modloading-worker-2/INFO] [net.minecraftforge.common.MinecraftForge/FORGE]: MinecraftForge v25.0.219 Initialized [24Aug2019 15:49:26.358] [Client thread/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/]: Exception caught during firing event: null Index: 1 Listeners: 0: NORMAL 1: ASM: class istvan.projectLime.ProjectLime$RegistryEvents registerItems(Lnet/minecraftforge/event/RegistryEvent$Register;)V java.lang.NullPointerException at istvan.projectLime.ProjectLime$RegistryEvents.registerItems(ProjectLime.java:81) at net.minecraftforge.eventbus.ASMEventHandler_0_RegistryEvents_registerItems_Register.invoke(.dynamic) at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80) at net.minecraftforge.eventbus.EventBus.post(EventBus.java:254) at net.minecraftforge.fml.javafmlmod.FMLModContainer.fireEvent(FMLModContainer.java:105) at java.util.function.Consumer.lambda$andThen$0(Consumer.java:65) at java.util.function.Consumer.lambda$andThen$0(Consumer.java:65) at net.minecraftforge.fml.ModContainer.transitionState(ModContainer.java:111) at net.minecraftforge.fml.ModList.lambda$dispatchSynchronousEvent$4(ModList.java:111) at java.util.ArrayList.forEach(ArrayList.java:1257) at net.minecraftforge.fml.ModList.dispatchSynchronousEvent(ModList.java:111) at net.minecraftforge.fml.ModList.lambda$static$0(ModList.java:82) at net.minecraftforge.fml.LifecycleEventProvider.dispatch(LifecycleEventProvider.java:70) at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:153) at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:896) at net.minecraftforge.fml.ModLoader.loadMods(ModLoader.java:141) at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:63) at net.minecraft.client.Minecraft.init(Minecraft.java:455) at net.minecraft.client.Minecraft.run(Minecraft.java:385) at net.minecraft.client.main.Main.main(Main.java:117) 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:498) at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:19) at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:32) at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50) at cpw.mods.modlauncher.Launcher.run(Launcher.java:59) at cpw.mods.modlauncher.Launcher.main(Launcher.java:44) at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:98) [24Aug2019 15:49:26.362] [Client thread/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Caught exception during event RegistryEvent.Register<minecraft:items> dispatch for modid projectlime java.lang.NullPointerException: null at istvan.projectLime.ProjectLime$RegistryEvents.registerItems(ProjectLime.java:81) ~[main/:?] at net.minecraftforge.eventbus.ASMEventHandler_0_RegistryEvents_registerItems_Register.invoke(.dynamic) ~[?:?] at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80) ~[eventbus-0.9.2-service.jar:?] at net.minecraftforge.eventbus.EventBus.post(EventBus.java:254) ~[eventbus-0.9.2-service.jar:?] at net.minecraftforge.fml.javafmlmod.FMLModContainer.fireEvent(FMLModContainer.java:105) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:25.0] at java.util.function.Consumer.lambda$andThen$0(Consumer.java:65) ~[?:1.8.0_162] at java.util.function.Consumer.lambda$andThen$0(Consumer.java:65) ~[?:1.8.0_162] at net.minecraftforge.fml.ModContainer.transitionState(ModContainer.java:111) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at net.minecraftforge.fml.ModList.lambda$dispatchSynchronousEvent$4(ModList.java:111) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at java.util.ArrayList.forEach(ArrayList.java:1257) ~[?:1.8.0_162] at net.minecraftforge.fml.ModList.dispatchSynchronousEvent(ModList.java:111) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at net.minecraftforge.fml.ModList.lambda$static$0(ModList.java:82) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at net.minecraftforge.fml.LifecycleEventProvider.dispatch(LifecycleEventProvider.java:70) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:153) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:896) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at net.minecraftforge.fml.ModLoader.loadMods(ModLoader.java:141) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:63) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at net.minecraft.client.Minecraft.init(Minecraft.java:455) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at net.minecraft.client.Minecraft.run(Minecraft.java:385) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at net.minecraft.client.main.Main.main(Main.java:117) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_162] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_162] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_162] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_162] at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:19) [modlauncher-2.1.1.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:32) [modlauncher-2.1.1.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50) [modlauncher-2.1.1.jar:?] at cpw.mods.modlauncher.Launcher.run(Launcher.java:59) [modlauncher-2.1.1.jar:?] at cpw.mods.modlauncher.Launcher.main(Launcher.java:44) [modlauncher-2.1.1.jar:?] at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:98) [forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] [24Aug2019 15:49:26.404] [Client thread/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: Failed to complete lifecycle event LOAD_REGISTRIES, 1 errors found [24Aug2019 15:49:26.404] [Client thread/FATAL] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: EventBus 0 shutting down - future events will not be posted. java.lang.Exception: stacktrace at net.minecraftforge.eventbus.EventBus.shutdown(EventBus.java:274) ~[eventbus-0.9.2-service.jar:?] at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:65) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at net.minecraft.client.Minecraft.init(Minecraft.java:455) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at net.minecraft.client.Minecraft.run(Minecraft.java:385) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at net.minecraft.client.main.Main.main(Main.java:117) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_162] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_162] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_162] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_162] at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:19) [modlauncher-2.1.1.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:32) [modlauncher-2.1.1.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50) [modlauncher-2.1.1.jar:?] at cpw.mods.modlauncher.Launcher.run(Launcher.java:59) [modlauncher-2.1.1.jar:?] at cpw.mods.modlauncher.Launcher.main(Launcher.java:44) [modlauncher-2.1.1.jar:?] at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:98) [forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] [24Aug2019 15:49:26.424] [Client thread/INFO] [net.minecraft.resources.SimpleReloadableResourceManager/]: Reloading ResourceManager: forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar, main, Default [24Aug2019 15:49:27.767] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager/]: Starting up SoundSystem version 201809301515... [24Aug2019 15:49:27.991] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager/]: Initializing No Sound [24Aug2019 15:49:27.991] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager/]: (Silent Mode) [24Aug2019 15:49:28.129] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager/]: OpenAL initialized. [24Aug2019 15:49:28.385] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager/SOUNDS]: Preloading sound minecraft:sounds/ambient/underwater/underwater_ambience.ogg [24Aug2019 15:49:28.389] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager/SOUNDS]: Sound engine started [24Aug2019 15:49:31.971] [Client thread/INFO] [net.minecraft.client.renderer.texture.TextureMap/]: Max texture size: 8192 [24Aug2019 15:49:33.184] [Client thread/INFO] [net.minecraft.client.renderer.texture.TextureMap/]: Created: 512x512 textures-atlas [24Aug2019 15:49:35.851] [Client thread/ERROR] [net.minecraftforge.fml.ModLoader/LOADING]: Skipping lifecycle event ENQUEUE_IMC, 1 errors found. [24Aug2019 15:49:35.851] [Client thread/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: Failed to complete lifecycle event ENQUEUE_IMC, 1 errors found [24Aug2019 15:49:35.851] [Client thread/FATAL] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: EventBus 0 shutting down - future events will not be posted. java.lang.Exception: stacktrace at net.minecraftforge.eventbus.EventBus.shutdown(EventBus.java:274) ~[eventbus-0.9.2-service.jar:?] at net.minecraftforge.fml.client.ClientModLoader.end(ClientModLoader.java:76) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at net.minecraft.client.Minecraft.init(Minecraft.java:522) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at net.minecraft.client.Minecraft.run(Minecraft.java:385) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at net.minecraft.client.main.Main.main(Main.java:117) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_162] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_162] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_162] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_162] at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:19) [modlauncher-2.1.1.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:32) [modlauncher-2.1.1.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50) [modlauncher-2.1.1.jar:?] at cpw.mods.modlauncher.Launcher.run(Launcher.java:59) [modlauncher-2.1.1.jar:?] at cpw.mods.modlauncher.Launcher.main(Launcher.java:44) [modlauncher-2.1.1.jar:?] at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:98) [forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] [24Aug2019 15:49:35.899] [Client thread/INFO] [com.mojang.text2speech.NarratorWindows/]: Narrator library for x64 successfully loaded [24Aug2019 15:49:36.314] [Realms Notification Availability checker #1/INFO] [com.mojang.realmsclient.client.RealmsClient/]: Could not authorize you against Realms server: Invalid session id and here is my main class package istvan.projectLime; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import istvan.projectLime.items.ItemCustomAxe; import istvan.projectLime.items.ItemCustomPickaxe; import istvan.projectLime.lists.ArmorMaterialList; import istvan.projectLime.lists.BlockList; import istvan.projectLime.lists.ItemList; import istvan.projectLime.lists.ToolMaterialList; import istvan.projectLime.world.OreGeneration; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.inventory.EntityEquipmentSlot; import net.minecraft.item.Item; import net.minecraft.item.ItemArmor; import net.minecraft.item.ItemBlock; import net.minecraft.item.ItemGroup; import net.minecraft.item.ItemHoe; import net.minecraft.item.ItemSpade; import net.minecraft.item.ItemSword; import net.minecraft.util.ResourceLocation; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.RegistryEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent; import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent; import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; @Mod("projectlime") public class ProjectLime { public static ProjectLime instance; public static final String modid = "projectlime"; private static final Logger Logger = LogManager.getLogger(modid); public static final ItemGroup lime = new LimeItemGroup(); public ProjectLime() { instance = this; FMLJavaModLoadingContext.get().getModEventBus().addListener(this::setup); FMLJavaModLoadingContext.get().getModEventBus().addListener(this::clientRegistries); MinecraftForge.EVENT_BUS.register(this); } private void setup(final FMLCommonSetupEvent event) { OreGeneration.setupOreGeneration(); Logger.info("Setup method registered"); } private void clientRegistries(final FMLClientSetupEvent event) { Logger.info("clientRegistries method registered"); } @Mod.EventBusSubscriber(bus=Mod.EventBusSubscriber.Bus.MOD) public static class RegistryEvents { @SubscribeEvent public static void registerItems(final RegistryEvent.Register<Item> event) { event.getRegistry().registerAll ( ItemList.lime_ingot = new Item(new Item.Properties().group(lime)).setRegistryName(location("lime_ingot")), ItemList.ruby = new Item(new Item.Properties().group(lime)).setRegistryName(location("ruby")), ItemList.lime_sword = new ItemSword(ToolMaterialList.lime, 0, 6.0f, new Item.Properties().group(lime)).setRegistryName(location("lime_sword")), ItemList.lime_axe = new ItemCustomAxe(ToolMaterialList.lime, -1.0f, 6.0f, new Item.Properties().group(lime)).setRegistryName(location("lime_axe")), ItemList.lime_hoe = new ItemHoe(ToolMaterialList.lime, 6.0f, new Item.Properties().group(lime)).setRegistryName(location("lime_hoe")), ItemList.lime_pickaxe = new ItemCustomPickaxe(ToolMaterialList.lime, -2, 6.0f, new Item.Properties().group(lime)).setRegistryName(location("lime_pickaxe")), ItemList.lime_shovel = new ItemSpade(ToolMaterialList.lime, -3.0f, 6.0f, new Item.Properties().group(lime)).setRegistryName(location("lime_shovel")), ItemList.lime_helmet = new ItemArmor(ArmorMaterialList.lime, EntityEquipmentSlot.HEAD, new Item.Properties().group(lime)).setRegistryName(location("lime_helmet")), ItemList.lime_chestplate = new ItemArmor(ArmorMaterialList.lime, EntityEquipmentSlot.CHEST, new Item.Properties().group(lime)).setRegistryName(location("lime_chestplate")), ItemList.lime_leggings = new ItemArmor(ArmorMaterialList.lime, EntityEquipmentSlot.LEGS, new Item.Properties().group(lime)).setRegistryName(location("lime_leggings")), ItemList.lime_boots = new ItemArmor(ArmorMaterialList.lime, EntityEquipmentSlot.FEET, new Item.Properties().group(lime)).setRegistryName(location("lime_boots")), ItemList.ruby_block = new ItemBlock(BlockList.ruby_block, new Item.Properties().group(lime)).setRegistryName(BlockList.ruby_block.getRegistryName()), ItemList.lime_block = new ItemBlock(BlockList.lime_block, new Item.Properties().group(lime)).setRegistryName(BlockList.lime_block.getRegistryName()) ); Logger.info("Items Registered"); } } @SubscribeEvent public static void registerBlocks(final RegistryEvent.Register<Block> event) { event.getRegistry().registerAll ( BlockList.ruby_block = new Block(Block.Properties.create(Material.IRON)).setRegistryName(location("ruby_block")), BlockList.lime_block = new Block(Block.Properties.create(Material.IRON)).setRegistryName(location("lime_block")), BlockList.lime_ore = new Block(Block.Properties.create(Material.GROUND)).setRegistryName(location("lime_ore")), BlockList.ruby_ore = new Block(Block.Properties.create(Material.GROUND)).setRegistryName(location("ruby_ore")) ); Logger.info("Blocks Registered"); } private static ResourceLocation location(String name) { return new ResourceLocation(modid, name); } } any help is appreciated.
×
×
  • Create New...

Important Information

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