Jump to content

Recommended Posts

Posted

I'm trying to make a mod using FML 1.13.2 but whenever I try running my mod, I get an error saying 

Quote

Project Lime (projectlime) encountered an error during the load_registries event phase

 

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.

  • MsaterSgnt changed the title to [1.13.2] I cant find my error
Posted
29 minutes ago, MsaterSgnt said:

at istvan.projectLime.ProjectLime$RegistryEvents.registerItems(ProjectLime.java:81)

What's on line 81? Also

 

29 minutes ago, MsaterSgnt said:

FML 1.13.2

Update to 1.14.4

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted
8 minutes ago, CAS_ual_TY said:

Does the block registry fire before the item registry in 1.13?

The Block Registry has always fired before the Item registry. Because you need the block to create the ItemBlocks.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • In this article, we’ll dive into the “Temu Coupon Code [acs670886],” highlighting incredible savings opportunities designed just for you. Whether you're a seasoned bargain hunter searching for exclusive deals or a first-time shopper aiming for the best discounts, we’ve got you covered. Let’s transform every shopping experience into a budget-friendly journey! Use the exclusive code “acs670886” to unlock maximum savings in the USA, Canada, and European countries. Whether you're treating yourself or shopping for gifts, this code ensures unbeatable discounts. Don’t miss out on the Temu 70% off coupon and the Temu 70% off coupon code today. It’s time to embrace incredible deals and make your shopping spree both enjoyable and affordable! What Is The Coupon Code For Temu 70% Off? Both new and existing customers can reap incredible benefits with our Temu coupon 70% off on the Temu app and website. Use the 70% off Temu coupon and enjoy unparalleled savings. acs670886: Flat 70% off your total purchase. acs670886: Access a 70% coupon pack for multiple uses. acs670886: Enjoy 70% off as a new customer. acs670886: Extra 70% promo code benefits for existing customers. acs670886: Exclusive 70% coupon for users in the USA/Canada. Temu Coupon Code 70% Off For New Users In 2025 New users can get unmatched savings with the Temu coupon 70% off and Temu coupon code 70% off. Use our exclusive code to unlock these amazing benefits: acs670886: Flat 70% discount for first-time shoppers. acs670886: A 70% coupon bundle for new customers. acs670886: Up to 70% off for multiple uses. acs670886: Free shipping to 68 countries worldwide. acs670886: An additional 70% off on your first purchase. acs670886: Also Flat 70% off on selected items. How To Redeem The Temu Coupon 70% Off For New Customers? Follow these steps to use the Temu 70% coupon and Temu 70% off coupon code for new users: Visit the Temu website or download the app. Add items to your cart and proceed to checkout. Enter the coupon code “acs670886” in the promo field. Click “Apply” to see the discount. Complete the payment and enjoy your savings. Temu Coupon 70% Off For Existing Customers Existing users can also benefit from our Temu 70% coupon codes for existing users and Temu coupon 70% off for existing customers free shipping. Use “acs670886” to unlock these perks: acs670886: Extra 70% discount for loyal Temu users. acs670886: A 70% coupon bundle for multiple purchases. acs670886: Free gift with express shipping across the USA/Canada. acs670886: Additional 70% off on top of existing discounts. acs670886: Free shipping to 68 countries. acs670886: Flat 70% off on select purchases. How To Use The Temu Coupon Code 70% Off For Existing Customers? Follow these steps to use the Temu coupon code 70% off and Temu coupon 70% off code: Log in to your Temu account. Select items and add them to your cart. Enter the coupon code “acs670886” at checkout. Apply the code and confirm the discount. Proceed with payment and enjoy exclusive offers. Latest Temu Coupon 70% Off First Order First-time shoppers can enjoy maximum benefits with the Temu coupon code 70% off first order, Temu coupon code first order, and Temu coupon code 70% off first time user. Use the “acs670886” code to unlock these offers: acs670886: Flat 70% off on your first order. acs670886: A 70% Temu coupon pack for first-time buyers. acs670886: Up to 70% off for multiple uses. acs670886: Free shipping to 68 countries. acs670886: Additional 70% discount for first-time purchases. acs670886: Flat 70% off on selected items. How To Find The Temu Coupon Code 70% Off? Discover verified Temu coupon 70% off and Temu coupon 70% off Reddit deals by subscribing to the Temu newsletter. Check Temu’s social media pages for the latest promos or visit trusted coupon websites for regularly updated offers. Is Temu 70% Off Coupon Legit? Yes, the Temu 70% Off Coupon Legit and Temu 70% off coupon legit. Our code “acs670886” is tested, verified, and works globally. Use it confidently for discounts on both first and recurring orders. How Does Temu 70% Off Coupon Work? The Temu coupon code 70% off first-time user and Temu coupon codes 70% off offer instant savings. Enter the code at checkout to reduce your bill by 70% or more, ensuring great value on every purchase. How To Earn Temu 70% Coupons As A New Customer? Unlock the Temu coupon code 70% off and 70% off Temu coupon code by signing up for Temu’s rewards program. Earn additional discounts through referrals and promotional activities. What Are The Advantages Of Using The Temu Coupon 70% Off? Save 70% on your first order. Access a 70% bundle for multiple uses. Flat 70% off for selected items. Up to 70% off on trending items. Additional 70% off for existing customers. Up to 70% off on selected items. Free gift for new users. Free shipping to 68 countries. Temu 70% Discount Code And Free Gift For New And Existing Customers Take advantage of the Temu 70% off coupon code and 70% off Temu coupon code. Use “acs670886” to unlock: acs670886: 70% off on the first order. acs670886: Extra 70% discount on any item. acs670886: Flat 70% off on select purchases. acs670886: Free gift for new users. acs670886: Up to 70% off on select items. acs670886: Free shipping to 68 countries. Pros And Cons Of Using The Temu Coupon Code 70% Off This Month Pros: Flat 70% discount for new and existing users. Additional 70% off on top of discounts. Flat 70% off for specific items. Free shipping to 68 countries. No minimum purchase required. Valid globally. Cons: Limited to specific regions for maximum benefits. Some items may be excluded from the offer. Terms And Conditions Of Using The Temu Coupon 70% Off In 2025 Temu coupon code 70% off free shipping: No minimum purchase required. Latest Temu coupon code 70% off: Valid worldwide. Use “acs670886” anytime, as it has no expiration date. Applicable to both new and existing customers. Free shipping to 68 countries. Use The Latest Temu Coupon Code 70% Off Don’t miss out on incredible savings with the Temu coupon code 70% off. Shop smart and make every dollar count. With the Temu coupon 70% off, you’re guaranteed a rewarding shopping experience. Start saving today!
    • Hello everyone new here how are you all?
    • I haven't tested it but under https://minecraft.wiki/w/Items_model_definition it says now:   So I guess the resource location must have changed with 1.24.4, which means you need to move your models/item/ to the new source. But as I said I haven't tested this so it also may be that this wont work. Nevertheless give it a try      EDIT (important) So now I tested it and found out how it works   Let the model files (e.g. the .json from blockbench) within "assets/<your_mod_id>/models/item" In addition to that do the following: Every model you added will need a new file under "assets/<your_mod_id>/items" That file is also a JSON and looks like this: { "model": { "type": "minecraft:model", "model": "your_mod_id:item/custom_item" } } - "type" can be minecraft:model, minecraft:composite, minecraft:condition, minecraft:select, minecraft:range_dispatch, minecraft:empty, minecraft:bundle/selected_item or minecraft:special. (In most cases you would need minecraft:model) - "model" is the path to your actual model for this item. For example the value above would point to "assets/your_mod_id/models/item/custom_item"
    • On version 1.20.1 there is a build with the AE2 mod, and when opening the reference book for this mod inside Minecraft, it just freezes and closes
    • public ExampleMod(FMLJavaModLoadingContext context) { var modEventBus = context.getModEventBus(); } Refer to the javadocs and MDK for more pointers and examples.
  • Topics

×
×
  • Create New...

Important Information

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