Jump to content

Recommended Posts

Posted

M'kay... So, I tried registering an entity, it went fine. Except for when I logged off, and back on, it got cloned twice, and immediately started fighting it's clones. xD

 

So, I went and thought "Hey, maybe I registered it wrong!" So Instead of registering it with a global ID, I registered it with a register mod entity. And that gives me this error:

 

 

 

---- Minecraft Crash Report ----

// Daisy, daisy...

 

Time: 1/3/14 5:58 PM

Description: Initializing game

 

java.lang.NullPointerException

at cpw.mods.fml.common.registry.EntityRegistry.doModEntityRegistration(EntityRegistry.java:164)

at cpw.mods.fml.common.registry.EntityRegistry.registerModEntity(EntityRegistry.java:151)

at net.CJCutrone.LegendofZelda.common.LegendofZelda.<init>(LegendofZelda.java:520)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:174)

at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:518)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:201)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:112)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:511)

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:473)

at net.minecraft.client.Minecraft.run(Minecraft.java:808)

at net.minecraft.client.main.Main.main(Main.java:93)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)

at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

---------------------------------------------------------------------------------------

 

-- Head --

Stacktrace:

at cpw.mods.fml.common.registry.EntityRegistry.doModEntityRegistration(EntityRegistry.java:164)

at cpw.mods.fml.common.registry.EntityRegistry.registerModEntity(EntityRegistry.java:151)

at net.CJCutrone.LegendofZelda.common.LegendofZelda.<init>(LegendofZelda.java:520)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:174)

at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:518)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:201)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:112)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:511)

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:473)

 

-- Initialization --

Details:

Stacktrace:

at net.minecraft.client.Minecraft.run(Minecraft.java:808)

at net.minecraft.client.main.Main.main(Main.java:93)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)

at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

 

-- System Details --

Details:

Minecraft Version: 1.6.4

Operating System: Windows 7 (x86) version 6.1

Java Version: 1.7.0_25, Oracle Corporation

Java VM Version: Java HotSpot Client VM (mixed mode), Oracle Corporation

Memory: 964187048 bytes (919 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)

JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Suspicious classes: FML and Forge are installed

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP v8.11 FML v6.4.38.942 Minecraft Forge 9.11.1.942 5 mods loaded, 5 mods active

mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed

FML{6.4.38.942} [Forge Mod Loader] (bin) Unloaded->Constructed

Forge{9.11.1.942} [Minecraft Forge] (bin) Unloaded->Constructed

LegendofZelda{1.0 Alpha} [The Legend] (bin) Unloaded->Errored

TheGrid{0.1 Alpha} [TheGrid] (bin) Unloaded->Constructed

Launched Version: 1.6

LWJGL: 2.9.0

OpenGL: GeForce GT 630/PCIe/SSE2 GL version 4.2.0, NVIDIA Corporation

Is Modded: Definitely; Client brand changed to 'fml,forge'

Type: Client (map_client.txt)

Resource Pack: Default

Current Language: English (US)

Profiler Position: N/A (disabled)

Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

 

 

 

This is the area I changed:

 

 

 

EntityRegistry.registerModEntity(EntityStoneGolem.class,"Stone Golem", 3,this , 80, 1, true);

EntityRegistry.addSpawn(EntityStoneGolem.class, 10, 2, 4, EnumCreatureType.creature);

EntityRegistry.findGlobalUniqueEntityId();

registerEntityEgg(EntityStoneGolem.class, 0x4ffffff, 0x0033FF);

 

RenderingRegistry.registerEntityRenderingHandler(EntityStoneGolem.class, new RenderEntityStoneGolem(new StoneGolem(), 0.5F));

 

EntityRegistry.registerModEntity(EntityTamedSG.class,"Tamed Stone Golem", 4, this, 80, 3, true);

EntityRegistry.addSpawn(EntityTamedSG.class, 10, 2, 4, EnumCreatureType.creature);

EntityRegistry.findGlobalUniqueEntityId();

registerEntityEgg(EntityTamedSG.class, 0x469ffff, 0x0033FF);

 

RenderingRegistry.registerEntityRenderingHandler(EntityTamedSG.class, new RenderEntityTamedGolem(new TStoneGolem(), 0.5F));

 

EntityRegistry.registerModEntity(EntityBF.class,"BF", 5, this, 80, 3, true);

EntityRegistry.addSpawn(EntityBF.class, 10, 2, 4, EnumCreatureType.ambient);

EntityRegistry.findGlobalUniqueEntityId();

registerEntityEgg(EntityBF.class, 0x469ffff, 0x9993FF);

 

RenderingRegistry.registerEntityRenderingHandler(EntityBF.class, new RenderEntityButterfly());

 

 

 

This is the whole class:

 

 

 

package net.CJCutrone.LegendofZelda.common;

 

import java.sql.Array;

 

import net.CJCutrone.LegendofZelda.Dimension.*;

import net.CJCutrone.LegendofZelda.blocks.*;

import net.CJCutrone.LegendofZelda.blocks.Barrel;

import net.CJCutrone.LegendofZelda.entity.Entity.EntityBF;

import net.CJCutrone.LegendofZelda.entity.Entity.EntityStoneGolem;

import net.CJCutrone.LegendofZelda.entity.Entity.EntityTamedSG;

import net.CJCutrone.LegendofZelda.entity.Entity.ModelBF;

import net.CJCutrone.LegendofZelda.entity.Entity.RenderEntityButterfly;

import net.CJCutrone.LegendofZelda.entity.Entity.RenderEntityStoneGolem;

import net.CJCutrone.LegendofZelda.entity.Entity.RenderEntityTamedGolem;

import net.CJCutrone.LegendofZelda.entity.Entity.StoneGolem;

import net.CJCutrone.LegendofZelda.entity.Entity.TStoneGolem;

 

 

import net.CJCutrone.LegendofZelda.items.*;

import net.CJCutrone.LegendofZelda.render.Items.*;

import net.CJCutrone.LegendofZelda.render.blocks.*;

import net.CJCutrone.LegendofZelda.tabs.*;

 

import net.minecraft.block.Block;

import net.minecraft.block.material.Material;

import net.minecraft.client.model.ModelIronGolem;

import net.minecraft.creativetab.CreativeTabs;

import net.minecraft.enchantment.Enchantment;

import net.minecraft.entity.Entity;

import net.minecraft.entity.EntityEggInfo;

import net.minecraft.entity.EntityList;

import net.minecraft.entity.EnumCreatureType;

import net.minecraft.item.EnumArmorMaterial;

import net.minecraft.item.EnumToolMaterial;

import net.minecraft.item.Item;

import net.minecraft.item.ItemStack;

import net.minecraft.src.ModLoader;

import net.minecraft.world.biome.BiomeGenBase;

import net.minecraftforge.client.MinecraftForgeClient;

import net.minecraftforge.common.DimensionManager;

import net.minecraftforge.common.EnumHelper;

import net.minecraftforge.common.MinecraftForge;

import net.minecraftforge.oredict.OreDictionary;

import cpw.mods.fml.client.registry.ClientRegistry;

import cpw.mods.fml.client.registry.RenderingRegistry;

import cpw.mods.fml.common.Mod;

import cpw.mods.fml.common.SidedProxy;

import cpw.mods.fml.common.event.FMLServerStartingEvent;

import cpw.mods.fml.common.registry.EntityRegistry;

import cpw.mods.fml.common.registry.GameRegistry;

import cpw.mods.fml.common.registry.LanguageRegistry;

import cpw.mods.fml.common.registry.TickRegistry;

import cpw.mods.fml.relauncher.Side;

 

@Mod(modid = "LegendofZelda", name = "The Legend", version = "1.0 Alpha")

 

public class LegendofZelda {

 

@SidedProxy(clientSide="net.CJCutrone.LegendofZelda.common.ClientProxy", serverSide="net.CJCutrone.LegendofZelda.common.CommonProxy")

public static CommonProxy proxy;

 

 

public static LegendofZelda modInstance;

//Adds in my things

 

public static int DimID = 4;

 

public static String modid = "legendofzelda";

 

public static final BiomeGenBase LoZBiome = new LegendofZeldaDimensionBiome(31).setTemperatureRainfall(1.2F, 0.9F).setMinMaxHeight(1F, 3f);

public static final BiomeGenBase LoZBDB2 = new LoZDB2(32).setMinMaxHeight(.1F, .2f).setTemperatureRainfall(1.2F, 0.9F);

 

//Adds in Tool Material

public static EnumToolMaterial toolCopper = EnumHelper.addToolMaterial("COPPER", 2, 1000, 5.0F, 1.0F, 10);

public static EnumToolMaterial toolRugite = EnumHelper.addToolMaterial("RUGITE", 3, 5000, 6.0F, 3.0F, 20);

public static EnumToolMaterial toolLegend = EnumHelper.addToolMaterial("LEGENDARY", 3, 5000, 6.0F, 4.0F, 0);

 

 

//Adds in Armor Material

public static EnumArmorMaterial armorLegendary = EnumHelper.addArmorMaterial("LEGEND", 5000, new int[]{3, 7, 6, 3}, 0);

 

//Adds in Creative Tabs

 

public static CreativeTabs LoZBlocks = new LoZBlocksTab(CreativeTabs.getNextID(), "Blocks:The Legend");

public static CreativeTabs LoZItems = new LoZItemsTab(CreativeTabs.getNextID(), "Items:The Legend");

 

//Adds in the Blocks

public static Block LoZSand = new LoZS(249, Material.sand).setUnlocalizedName("LoZSand").setCreativeTab(LoZBlocks);

public static Block LoZRock = new LoZR(253, Material.rock).setUnlocalizedName("LoZRock").setCreativeTab(LoZBlocks);

public static Block LoZGrass = new LoZGrass(LoZRock.blockID - 1, Material.grass).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("LoZGrass").setCreativeTab(LoZBlocks);

public static Block LoZDirt = new LozDirt(LoZGrass.blockID - 1, Material.ground).setUnlocalizedName("LoZDirt").setCreativeTab(LoZBlocks);

public static Block ZeldaGrass = new ZeldaTGrass(250, Material.grass).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("ZeldaTGrass").setCreativeTab(LoZBlocks);

public static Block ZeldaShroomFlip = new ZeldaShroomF(2046, Material.grass).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("ZeldaShroomF").setCreativeTab(LoZBlocks);

public static Block ZeldaShroom = new ZeldaShroom(2047, Material.grass).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("ZeldaShroomF").setCreativeTab(LoZBlocks);

public static Block ZeldaFlower = new ZeldaFlower(2048, Material.grass).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("ZeldaFlower").setCreativeTab(LoZBlocks);

public static Block ZeldaFlowerP = new ZeldaFlowerP(2049, Material.grass).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("ZeldaFlowerP").setCreativeTab(LoZBlocks);

public static Block ZeldaLeavesP = new LoZLeavesPine(2096, Material.leaves).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("Zelda Leaves Pine").setCreativeTab(LoZBlocks);

public static Block LoZPortal = new LoZPortal(2050).setCreativeTab(LoZBlocks);

public static Block LoZSpruceSapling = new LoZSpruceSapling(2051).setUnlocalizedName("LoZSS").setCreativeTab(LoZBlocks);

public static Block LoZPot = new LegendaryPot(2052, Material.rock).setStepSound(Block.soundGlassFootstep).setUnlocalizedName("LoZPot").setCreativeTab(LoZBlocks);

public static Block LoZCopperOre = new LoZCopperOre(2053, Material.rock).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("LoZCopperOre").setCreativeTab(LoZBlocks);

public static Block LoZGoldOre = new LoZGoldOre(2054, Material.rock).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("LoZGoldOre").setCreativeTab(LoZBlocks);

public static Block LoZDiamondOre = new LoZDiamondOre(2055, Material.rock).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("LoZDiamondOre").setCreativeTab(LoZBlocks);

public static Block LoZIronOre = new LoZIronOre(2056, Material.rock).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("LoZIronOre").setCreativeTab(LoZBlocks);

public static Block LoZCoalOre = new LoZCoalOre(2057, Material.rock).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("LoZCoalOre").setCreativeTab(LoZBlocks);

public static Block LoZRedstoneOre = new LoZRedstoneOre(2058, Material.rock).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("LoZRedstoneOre").setCreativeTab(LoZBlocks);

public static Block LoZLapisOre = new LoZLapisOre(2059, Material.rock).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("LoZLapisOre").setCreativeTab(LoZBlocks);

public static Block LoZRugiteOre = new LoZRugite(2060, Material.rock).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("LoZRugite").setCreativeTab(LoZBlocks);

public static Block LoZCobble = new LoZCobble(2061, Material.rock).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("LoZCobble").setCreativeTab(LoZBlocks);

public static Block LoZBricks = new LoZBricks(2062, Material.rock).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("LoZBricks").setCreativeTab(LoZBlocks);

public static Block LoZChisledB = new LoZCB(2063, Material.rock).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("LoZCB").setCreativeTab(LoZBlocks);

public static Block LoZGlass = new LoZGlass(2064, Material.glass).setStepSound(Block.soundGlassFootstep).setUnlocalizedName("LoZGlass").setCreativeTab(LoZBlocks);

public static Block DarkWoodPlanks = new DWP(2065, Material.wood).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("DWP").setCreativeTab(LoZBlocks);

public static Block Crafter = new Crafter(2066, Material.iron).setStepSound(Block.soundAnvilFootstep).setUnlocalizedName("Crafter").setCreativeTab(LoZBlocks);

public static Block LoZMCobble = new LoZMCobble(2067, Material.rock).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("LoZMCobble").setCreativeTab(LoZBlocks);

public static Block LoZRockG = new LoZRG(2068, Material.rock).setUnlocalizedName("LoZRock").setCreativeTab(LoZBlocks);

 

 

public static Block LoZDungeon = new LoZDungeon(2069, Material.rock).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("LoZDungeon").setCreativeTab(LoZBlocks);

public static Block LoZDungeonG = new LoZDungeonG(2070, Material.rock).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("LoZDungeon").setCreativeTab(LoZBlocks);

public static Block LoZCobbleG = new LoZCobbleG(2071, Material.rock).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("LoZCobble").setCreativeTab(LoZBlocks);

public static Block LoZPillar = new LoZPillar(2072, Material.rock).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("LoZPillar").setCreativeTab(LoZBlocks);

 

public static Block LoZDungeonC = new LoZDungeon(2073, Material.rock).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("LoZDungeonC").setCreativeTab(LoZBlocks).setHardness(2F);

public static Block LoZDungeonGC = new LoZDungeonG(2074, Material.rock).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("LoZDungeonC").setCreativeTab(LoZBlocks).setHardness(2F);

public static Block LoZStoneGolemSpawner = new LoZStoneGS(2075, Material.rock).setUnlocalizedName("LoZSGS").setCreativeTab(LoZBlocks);

 

public static Block LoZCloud = new LoZCloud(2076, Material.rock).setUnlocalizedName("LoZCloud").setCreativeTab(LoZBlocks);

 

public static Block LoZDarkWood = new LoZDarkWood(2097, Material.wood).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("LoZDarkWood").setCreativeTab(LoZBlocks);

public static Block LoZDarkLeaves = new LoZDarkLeaves(2098, Material.grass).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("Zelda Leaves DarkWood").setCreativeTab(LoZBlocks);

public static Block LoZDWSapling = new LoZDWSapling(2099).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("LoZDWS").setCreativeTab(LoZBlocks);

public static Block GlowShroomStalk= new LoZShroomStalk(2100, Material.wood).setStepSound(Block.soundPowderFootstep).setUnlocalizedName("LoZDWS").setCreativeTab(LoZBlocks);

public static Block GlowShroomCap = new LoZShroomCap(2101, Material.wood).setStepSound(Block.soundPowderFootstep).setUnlocalizedName("LoZDWS").setCreativeTab(LoZBlocks);

 

public static Block Barrel = new Barrel(2102, Material.wood).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("LoZBarrel").setCreativeTab(LoZBlocks);

 

//Adds in the Items

 

public static Item emeraldShard = new EmeraldShard(3049).setUnlocalizedName("EmeraldShard").setCreativeTab(LoZItems);

public static Item copperIngot = new copperIngot(3050).setUnlocalizedName("CopperIngot").setCreativeTab(LoZItems);

public static Item RugiteGem = new RugiteGem(3051).setUnlocalizedName("RugiteGem").setCreativeTab(LoZItems);

 

 

//Adds in "Parchments"

 

public static Item TeleportParchment = new TP(3052).setUnlocalizedName("TP").setCreativeTab(LoZItems);

public static Item AP = new AP(3053).setUnlocalizedName("AP").setCreativeTab(LoZItems);

public static Item LP = new LP(3054).setUnlocalizedName("LP").setCreativeTab(LoZItems);

public static Item HP = new HP(3055).setUnlocalizedName("HP").setCreativeTab(LoZItems);

public static Item FP = new FP(3056).setUnlocalizedName("FP").setCreativeTab(LoZItems);

//Registers Tools

 

public static Item copperPick = new copperPick(3100, toolCopper).setUnlocalizedName("CopperPick").setCreativeTab(LoZItems);

public static Item copperSword = new copperSword(3101, toolCopper).setUnlocalizedName("CopperSword").setCreativeTab(LoZItems);

public static Item copperShovel = new copperShovel(3102, toolCopper).setUnlocalizedName("CopperShovel").setCreativeTab(LoZItems);

public static Item copperAxe = new copperAxe(3103, toolCopper).setUnlocalizedName("CopperAxe").setCreativeTab(LoZItems);

 

public static Item rugitePick = new rugitePick(3104, toolRugite).setUnlocalizedName("rugitePick").setCreativeTab(LoZItems);

public static Item rugiteSword = new rugiteSword(3105, toolRugite).setUnlocalizedName("rugiteSword").setCreativeTab(LoZItems);

public static Item rugiteShovel = new rugiteShovel(3106, toolRugite).setUnlocalizedName("rugiteShovel").setCreativeTab(LoZItems);

public static Item rugiteAxe = new rugiteAxe(3107, toolRugite).setUnlocalizedName("rugiteAxe").setCreativeTab(LoZItems);

 

public static Item TestSword = new TestSword(3108, toolLegend).setUnlocalizedName("swordL").setCreativeTab(LoZItems);

public static Item TestKnife = new TestKnife(3109, toolLegend).setUnlocalizedName("knifeL").setCreativeTab(LoZItems);

 

 

public LegendofZelda() {

 

LanguageRegistry.addName(Barrel, "Barrel");

GameRegistry.registerBlock(Barrel, "Barrel");

MinecraftForge.setBlockHarvestLevel(Barrel, "axe", 1);

GameRegistry.addRecipe(new ItemStack(Barrel, 4), new Object[]{

"wpw", "p p", "wpw", 'w', Block.planks, 'p', Block.wood

});

 

LanguageRegistry.addName(DarkWoodPlanks, "DarkWood Planks");

GameRegistry.registerBlock(DarkWoodPlanks, "DarkWood Planks");

MinecraftForge.setBlockHarvestLevel(DarkWoodPlanks, "axe", 1);

 

LanguageRegistry.addName(LoZCloud, "White Rock");

GameRegistry.registerBlock(LoZCloud, "White Rock");

MinecraftForge.setBlockHarvestLevel(LoZCloud, "pickaxe", 1);

 

LanguageRegistry.addName(LoZGlass, "Glass");

GameRegistry.registerBlock(LoZGlass, "Glass");

MinecraftForge.setBlockHarvestLevel(LoZGlass, "", 1);

    GameRegistry.addShapedRecipe(new ItemStack(LoZGlass, 2), new Object[]{

" r ", "rgr", " r ", 'g', Block.glass, 'r' ,Item.stick});

   

    LanguageRegistry.addName(Crafter, "Crafter");

GameRegistry.registerBlock(Crafter, "Crafter");

MinecraftForge.setBlockHarvestLevel(Crafter, "pickaxe", 2);

    GameRegistry.addShapedRecipe(new ItemStack(Crafter, 1), new Object[]{

" r ", "rgr", " r ", 'g', Block.blockIron, 'r' , Block.workbench});

   

    LanguageRegistry.addName(LoZPillar, "Pillar");

GameRegistry.registerBlock(LoZPillar, "Pillar");

MinecraftForge.setBlockHarvestLevel(LoZPillar, "pickaxe", 1);

 

LanguageRegistry.addName(LoZStoneGolemSpawner, "Stone Golem Spawner");

GameRegistry.registerBlock(LoZStoneGolemSpawner, "Stone Golem Spawner");

MinecraftForge.setBlockHarvestLevel(LoZStoneGolemSpawner, "pickaxe", 1);

 

    LanguageRegistry.addName(LoZCobbleG, "CobbleStone");

GameRegistry.registerBlock(LoZCobbleG, "CobbleStone");

MinecraftForge.setBlockHarvestLevel(LoZDungeonG, "pickaxe", 1);

   

LanguageRegistry.addName(LoZDungeonGC, "DungeonC");

GameRegistry.registerBlock(LoZDungeonGC, "DungeonC");

MinecraftForge.setBlockHarvestLevel(LoZDungeonGC, "pickaxe", 1);

 

LanguageRegistry.addName(LoZDungeonC, "Crafted Dungeon Stone");

GameRegistry.registerBlock(LoZDungeonC, "Crafted Dungeon Stone");

MinecraftForge.setBlockHarvestLevel(LoZDungeonC, "pickaxe", 1);

 

    LanguageRegistry.addName(LoZDungeonG, "Dungeon");

GameRegistry.registerBlock(LoZDungeonG, "Dungeon");

MinecraftForge.setBlockHarvestLevel(LoZDungeonG, "pickaxe", -1);

 

LanguageRegistry.addName(LoZDungeon, "Dungeon Stone");

GameRegistry.registerBlock(LoZDungeon, "Dungeon Stone");

MinecraftForge.setBlockHarvestLevel(LoZDungeon, "pickaxe", 1);

 

    LanguageRegistry.addName(LoZRockG, "Roc");

GameRegistry.registerBlock(LoZRockG, "Roc");

MinecraftForge.setBlockHarvestLevel(LoZRockG, "pickaxe", 1);

 

LanguageRegistry.addName(LoZRock, "Rock");

GameRegistry.registerBlock(LoZRock, "Rock");

MinecraftForge.setBlockHarvestLevel(LoZRock, "pickaxe", 1);

GameRegistry.addSmelting(LegendofZelda.LoZCobble.blockID, new ItemStack(LegendofZelda.LoZRock, 1), 1F);

 

LanguageRegistry.addName(LoZMCobble, "Mossy Cobble Stone");

GameRegistry.registerBlock(LoZMCobble, "Mossy Cobble Stone");

MinecraftForge.setBlockHarvestLevel(LoZMCobble, "pickaxe", 1);

 

LanguageRegistry.addName(LoZCobble, "Cobble Stone");

GameRegistry.registerBlock(LoZCobble, "Cobble Stone");

MinecraftForge.setBlockHarvestLevel(LoZCobble, "pickaxe", 1);

GameRegistry.addRecipe(new ItemStack(Block.furnaceIdle, 1), new Object[]{

"rrr", "r r", "rrr", 'r', LegendofZelda.LoZCobble});

 

LanguageRegistry.addName(LoZBricks, "Bricks");

GameRegistry.registerBlock(LoZBricks, "Bricks");

MinecraftForge.setBlockHarvestLevel(LoZBricks, "pickaxe", 1);

GameRegistry.addRecipe(new ItemStack(LoZBricks, 4), new Object[]{

"rr ", "rr ", 'r', LoZRock});

 

LanguageRegistry.addName(LoZChisledB, "Chisled Bricks");

GameRegistry.registerBlock(LoZChisledB, "Chisled Bricks");

MinecraftForge.setBlockHarvestLevel(LoZChisledB, "pickaxe", 1);

GameRegistry.addRecipe(new ItemStack(LoZChisledB, 4), new Object[]{

"rr ", "rr ", 'r', LoZBricks});

 

LanguageRegistry.addName(LoZCopperOre, "Copper Ore");

GameRegistry.registerBlock(LoZCopperOre, "Copper Ore");

MinecraftForge.setBlockHarvestLevel(LoZCopperOre, "pickaxe", 1);

 

LanguageRegistry.addName(LoZGoldOre, "Gold Ore");

GameRegistry.registerBlock(LoZGoldOre, "Gold Ore");

MinecraftForge.setBlockHarvestLevel(LoZGoldOre, "pickaxe", 2);

 

LanguageRegistry.addName(LoZIronOre, "Iron Ore");

GameRegistry.registerBlock(LoZIronOre, "Iron Ore");

MinecraftForge.setBlockHarvestLevel(LoZIronOre, "pickaxe", 1);

 

LanguageRegistry.addName(LoZCoalOre, "Coal Ore");

GameRegistry.registerBlock(LoZCoalOre, "Coal Ore");

MinecraftForge.setBlockHarvestLevel(LoZCoalOre, "pickaxe", 0);

 

LanguageRegistry.addName(LoZRedstoneOre, "Redstone Ore");

GameRegistry.registerBlock(LoZRedstoneOre, "Redstone Ore");

MinecraftForge.setBlockHarvestLevel(LoZRedstoneOre, "pickaxe", 2);

 

LanguageRegistry.addName(LoZLapisOre, "Lapis Ore");

GameRegistry.registerBlock(LoZLapisOre, "Lapis Ore");

MinecraftForge.setBlockHarvestLevel(LoZLapisOre, "pickaxe", 2);

 

LanguageRegistry.addName(LoZDiamondOre, "Diamond Ore");

GameRegistry.registerBlock(LoZDiamondOre, "Diamond Ore");

MinecraftForge.setBlockHarvestLevel(LoZDiamondOre, "pickaxe", 2);

 

LanguageRegistry.addName(LoZRugiteOre, "Rugite Ore");

GameRegistry.registerBlock(LoZRugiteOre, "Rugite Ore");

MinecraftForge.setBlockHarvestLevel(LoZRugiteOre, "pickaxe", 3);

 

LanguageRegistry.addName(LoZSand, "Sand");

GameRegistry.registerBlock(LoZSand, "Sand");

MinecraftForge.setBlockHarvestLevel(LoZSand, "shovel", 1);

 

LanguageRegistry.addName(LoZGrass, "Grass");

GameRegistry.registerBlock(LoZGrass, "Grass");

MinecraftForge.setBlockHarvestLevel(LoZGrass, "shovel", 1);

 

LanguageRegistry.addName(LoZDarkWood, "Dark Wood");

GameRegistry.registerBlock(LoZDarkWood, "Dark Wood");

MinecraftForge.setBlockHarvestLevel(LoZDarkWood, "axe", 1);

 

LanguageRegistry.addName(ZeldaGrass, "Grass Blades");

GameRegistry.registerBlock(ZeldaGrass, "Grass Blades");

MinecraftForge.setBlockHarvestLevel(ZeldaGrass, "", 0);

 

LanguageRegistry.addName(ZeldaFlower, "Blue Hybiscus");

GameRegistry.registerBlock(ZeldaFlower, "Blue Hybiscus");

MinecraftForge.setBlockHarvestLevel(ZeldaFlower, "", 0);

 

LanguageRegistry.addName(ZeldaFlowerP, "Rojanus");

GameRegistry.registerBlock(ZeldaFlowerP, "Rojanus");

MinecraftForge.setBlockHarvestLevel(ZeldaFlowerP, "", 0);

 

LanguageRegistry.addName(ZeldaShroom, "Glow Shroo");

GameRegistry.registerBlock(ZeldaShroom, "Glow Shroo");

MinecraftForge.setBlockHarvestLevel(ZeldaShroom, "", 0);

 

LanguageRegistry.addName(ZeldaShroomFlip, "Glow Shroom");

GameRegistry.registerBlock(ZeldaShroomFlip, "Glow Shroom");

MinecraftForge.setBlockHarvestLevel(ZeldaShroomFlip, "", 0);

 

LanguageRegistry.addName(LoZSpruceSapling, "Spruce Sapling");

GameRegistry.registerBlock(LoZSpruceSapling, "Spruce Sapling");

MinecraftForge.setBlockHarvestLevel(LoZSpruceSapling, "", 0);

 

LanguageRegistry.addName(LoZDWSapling, "DarkWood Sapling");

GameRegistry.registerBlock(LoZDWSapling, "DarkWood Sapling");

MinecraftForge.setBlockHarvestLevel(LoZDWSapling, "", 0);

 

LanguageRegistry.addName(LoZDirt, "Dirt");

GameRegistry.registerBlock(LoZDirt, "Dirt");

MinecraftForge.setBlockHarvestLevel(LoZDirt, "shovel", 0);

 

LanguageRegistry.addName(ZeldaLeavesP, "Pine Leaves");

GameRegistry.registerBlock(ZeldaLeavesP, "Pine Leaves");

MinecraftForge.setBlockHarvestLevel(ZeldaLeavesP, "", 0);

 

LanguageRegistry.addName(LoZDarkLeaves, "Dark Wood Leaves");

GameRegistry.registerBlock(LoZDarkLeaves, "Dark Wood Leaves");

MinecraftForge.setBlockHarvestLevel(LoZDarkLeaves, "", 0);

 

LanguageRegistry.addName(GlowShroomStalk, "Glow Shroom Stalk");

GameRegistry.registerBlock(GlowShroomStalk, "Glow Shroom Stalk");

MinecraftForge.setBlockHarvestLevel(GlowShroomStalk, "axe", 1);

 

LanguageRegistry.addName(GlowShroomCap, "Glow Shroom Cap");

GameRegistry.registerBlock(GlowShroomCap, "Glow Shroom Cap");

MinecraftForge.setBlockHarvestLevel(GlowShroomCap, "axe", 1);

 

LanguageRegistry.addName(LoZPortal, "Portal");

GameRegistry.registerBlock(LoZPortal, "Portal");

GameRegistry.addRecipe(new ItemStack(LoZPortal, 1), new Object[]{

"ccc", "cdc", "ccc", 'd', Item.diamond, 'c', Block.cobblestoneMossy

});

 

LanguageRegistry.addName(LoZPot, "Pot");

GameRegistry.registerBlock(LoZPot, "Pot");

MinecraftForge.setBlockHarvestLevel(LoZPot, "pickaxe", 1);

GameRegistry.addRecipe(new ItemStack(LoZPot, 1), new Object[]{

"rrr", "rer", "rrr", 'r', LegendofZelda.LoZRock, 'e', LegendofZelda.emeraldShard

});

 

LanguageRegistry.addName(RugiteGem, "Rugite Gem");

GameRegistry.registerItem(RugiteGem, "Rugite Gem");

 

LanguageRegistry.addName(rugitePick, "Rugite Pick");

GameRegistry.registerItem(rugitePick, "Rugite Pick");

ItemStack rp = new ItemStack(rugitePick);

rp.addEnchantment(Enchantment.fortune, 2);

rp.addEnchantment(Enchantment.efficiency, 2);

rp.addEnchantment(Enchantment.unbreaking, 2);

GameRegistry.addRecipe(rp, new Object[]{

"cdc", " s ", " s ", 's', Item.stick, 'c', LegendofZelda.RugiteGem, 'd', Item.diamond});

GameRegistry.addRecipe(new ItemStack(rugitePick, 1), new Object[]{

"ccc", " s ", " s ", 's', Item.stick, 'c', LegendofZelda.RugiteGem});

 

LanguageRegistry.addName(rugiteSword, "Rugite Sword");

GameRegistry.registerItem(rugiteSword, "Rugite Sword");

ItemStack rs = new ItemStack(rugiteSword);

rs.addEnchantment(Enchantment.looting, 2);

rs.addEnchantment(Enchantment.unbreaking, 2);

rs.addEnchantment(Enchantment.sharpness, 2);

GameRegistry.addRecipe(rs, new Object[]{

" c ", " d ", " s ", 's', Item.stick, 'c', LegendofZelda.RugiteGem,'d', Item.diamond});

GameRegistry.addRecipe(new ItemStack(rugiteSword, 1), new Object[]{

" c ", " c ", " s ", 's', Item.stick, 'c', LegendofZelda.RugiteGem});

 

LanguageRegistry.addName(rugiteShovel, "Rugite Shovel");

GameRegistry.registerItem(rugiteShovel, "Rugite Shovel");

ItemStack rsh = new ItemStack(rugiteShovel);

rsh.addEnchantment(Enchantment.silkTouch, 1);

rsh.addEnchantment(Enchantment.unbreaking, 2);

rsh.addEnchantment(Enchantment.efficiency, 2);

GameRegistry.addRecipe(rsh, new Object[]{

" c ", " s ", " d ", 's', Item.stick, 'c', LegendofZelda.RugiteGem, 'd', Item.diamond});

GameRegistry.addRecipe(new ItemStack(rugiteShovel, 1), new Object[]{

" c ", " s ", " s ", 's', Item.stick, 'c', LegendofZelda.RugiteGem});

 

LanguageRegistry.addName(rugiteAxe, "Rugite Axe");

GameRegistry.registerItem(rugiteAxe, "Rugite Axe");

ItemStack rz = new ItemStack(rugiteAxe);

rz.addEnchantment(Enchantment.silkTouch, 2);

rz.addEnchantment(Enchantment.unbreaking, 2);

rz.addEnchantment(Enchantment.efficiency, 2);

GameRegistry.addRecipe(rz, new Object[]{

"cd ", "cs ", " s ", 's', Item.stick, 'c', LegendofZelda.RugiteGem, 'd', Item.diamond});

GameRegistry.addRecipe(new ItemStack(rugiteAxe, 1), new Object[]{

"cc ", "cs ", " s ", 's', Item.stick, 'c', LegendofZelda.RugiteGem});

 

LanguageRegistry.addName(emeraldShard, "Emerald Shard");

GameRegistry.registerItem(emeraldShard, "Emerald Shard");

GameRegistry.addShapelessRecipe(new ItemStack(Item.emerald, 1), emeraldShard, emeraldShard, emeraldShard, emeraldShard, emeraldShard, emeraldShard, emeraldShard, emeraldShard, emeraldShard);

 

LanguageRegistry.addName(copperIngot, "Copper Ingot");

GameRegistry.registerItem(copperIngot, "Copper Ingot");

GameRegistry.addSmelting(LegendofZelda.LoZCopperOre.blockID, new ItemStack(LegendofZelda.copperIngot, 1), 1F);

 

LanguageRegistry.addName(copperPick, "Copper Pick");

GameRegistry.registerItem(copperPick, "Copper Pick");

GameRegistry.addRecipe(new ItemStack(copperPick, 1), new Object[]{

"ccc", " s ", " s ", 's', Item.stick, 'c', LegendofZelda.copperIngot

});

 

LanguageRegistry.addName(copperSword, "Copper Sword");

GameRegistry.registerItem(copperSword, "Copper Sword");

GameRegistry.addRecipe(new ItemStack(copperSword, 1), new Object[]{

" c ", " c ", " s ", 's', Item.stick, 'c', LegendofZelda.copperIngot

});

 

LanguageRegistry.addName(copperShovel, "Copper Shovel");

GameRegistry.registerItem(copperShovel, "Copper Shovel");

GameRegistry.addRecipe(new ItemStack(copperSword, 1), new Object[]{

" c ", " s ", " s ", 's', Item.stick, 'c', LegendofZelda.copperIngot

});

 

LanguageRegistry.addName(copperAxe, "Copper Axe");

GameRegistry.registerItem(copperAxe, "Copper Axe");

GameRegistry.addRecipe(new ItemStack(copperAxe, 1), new Object[]{

"cc ", "cs ", " s ", 's', Item.stick, 'c', LegendofZelda.copperIngot

});

 

LanguageRegistry.addName(TestSword, "Legendary Staff");

GameRegistry.registerItem(TestSword, "Legendary Staff");

 

LanguageRegistry.addName(TestKnife, "Legendary Knife");

GameRegistry.registerItem(TestKnife, "Legendary Knife");

 

LanguageRegistry.addName(TeleportParchment, "Teleport Parchment");

GameRegistry.registerItem(TeleportParchment, "Teleport Parchment");

 

LanguageRegistry.addName(AP, "Arrow Parchment");

GameRegistry.registerItem(AP, "Arrow Parchment");

 

LanguageRegistry.addName(LP, "Lightning Parchment");

GameRegistry.registerItem(LP, "Lightning Parchment");

 

LanguageRegistry.addName(HP, "Healing Parchment");

GameRegistry.registerItem(HP, "Healing Parchment");

 

LanguageRegistry.addName(FP, "Flight Parchment");

GameRegistry.registerItem(FP, "Flight Parchment");

 

/*LanguageRegistry.addName(LegendaryTunic, "Legendary Tunic");

GameRegistry.registerItem(LegendaryTunic, "Legendary Tunic");

 

LanguageRegistry.addName(LegendaryLeggings, "Legendary Leggings");

GameRegistry.registerItem(LegendaryLeggings, "Legendary Leggings");

 

LanguageRegistry.addName(LegendaryBoots, "Legendary Boots");

GameRegistry.registerItem(LegendaryBoots, "Legendary Boots");*/

 

DimensionManager.registerProviderType(DimID, LegendofZeldaWorldProvider.class, true);

DimensionManager.registerDimension(DimID, DimID);

 

MinecraftForge.EVENT_BUS.register(new LoZEventClass());

 

 

GameRegistry.registerTileEntity(TileEntityPot.class, "Pot");

 

GameRegistry.registerWorldGenerator(new WorldGeneratorLoZ());

 

//Registers recipes for vanilla items

 

GameRegistry.addSmelting(LegendofZelda.LoZGoldOre.blockID, new ItemStack(Item.ingotGold, 1), 1F);

GameRegistry.addSmelting(LegendofZelda.LoZIronOre.blockID, new ItemStack(Item.ingotIron, 1), 1F);

GameRegistry.addShapelessRecipe(new ItemStack(DarkWoodPlanks, 4, 1), LoZDarkWood);

 

//Registers renderers

ModLoader.registerTileEntity(TileEntityPot.class, "LoZPot");

ModLoader.registerTileEntity(TileEntityPortal.class, "Portal");

ModLoader.registerTileEntity(TileEntityBarrel.class, "Barrel");

 

 

ClientRegistry.bindTileEntitySpecialRenderer(TileEntityPot.class, new RendererPot());

 

ClientRegistry.bindTileEntitySpecialRenderer(TileEntityPortal.class, new RendererFloatingthing());

 

ClientRegistry.bindTileEntitySpecialRenderer(TileEntityBarrel.class, new RenderBarrel());

 

 

 

MinecraftForgeClient.registerItemRenderer(LegendofZelda.TeleportParchment.itemID, new RenderScroll());

MinecraftForgeClient.registerItemRenderer(LegendofZelda.AP.itemID, new RenderScroll());

MinecraftForgeClient.registerItemRenderer(LegendofZelda.LP.itemID, new RenderScroll());

MinecraftForgeClient.registerItemRenderer(LegendofZelda.HP.itemID, new RenderScroll());

 

MinecraftForgeClient.registerItemRenderer(LegendofZelda.TestSword.itemID, new RenderStaff());

 

MinecraftForgeClient.registerItemRenderer(LegendofZelda.TestKnife.itemID, new RenderKnife());

 

//EntityRegistry.registerGlobalEntityID(EntityStoneGolem.class, "Stone Golem", 3);

 

EntityRegistry.registerModEntity(EntityStoneGolem.class,"Stone Golem", 3,this , 80, 1, true);

EntityRegistry.addSpawn(EntityStoneGolem.class, 10, 2, 4, EnumCreatureType.creature);

EntityRegistry.findGlobalUniqueEntityId();

registerEntityEgg(EntityStoneGolem.class, 0x4ffffff, 0x0033FF);

 

RenderingRegistry.registerEntityRenderingHandler(EntityStoneGolem.class, new RenderEntityStoneGolem(new StoneGolem(), 0.5F));

 

EntityRegistry.registerModEntity(EntityTamedSG.class,"Tamed Stone Golem", 4, this, 80, 3, true);

EntityRegistry.addSpawn(EntityTamedSG.class, 10, 2, 4, EnumCreatureType.creature);

EntityRegistry.findGlobalUniqueEntityId();

registerEntityEgg(EntityTamedSG.class, 0x469ffff, 0x0033FF);

 

RenderingRegistry.registerEntityRenderingHandler(EntityTamedSG.class, new RenderEntityTamedGolem(new TStoneGolem(), 0.5F));

 

EntityRegistry.registerModEntity(EntityBF.class,"BF", 5, this, 80, 3, true);

EntityRegistry.addSpawn(EntityBF.class, 10, 2, 4, EnumCreatureType.ambient);

EntityRegistry.findGlobalUniqueEntityId();

registerEntityEgg(EntityBF.class, 0x469ffff, 0x9993FF);

 

RenderingRegistry.registerEntityRenderingHandler(EntityBF.class, new RenderEntityButterfly());

 

//Registers OreDictionarystuff

 

OreDictionary.registerOre("oreCopper", LoZCopperOre);

 

OreDictionary.registerOre("ingotCopper", new ItemStack(LegendofZelda.copperIngot, 1));

 

OreDictionary.registerOre("oreCoal", LoZCoalOre);

 

OreDictionary.registerOre("oreGold", LoZGoldOre);

 

OreDictionary.registerOre("oreIron", LoZIronOre);

 

OreDictionary.registerOre("oreRedstone", LoZRedstoneOre);

 

OreDictionary.registerOre("oreLapis", LoZLapisOre);

 

OreDictionary.registerOre("oreDiamond", LoZDiamondOre);

 

 

}

 

public static int startEntityID = 300;

public static int getUniqueEntityID(){

do{

startEntityID++;

}while(EntityList.getStringFromID(startEntityID) !=null);

return startEntityID++;

 

}

private void registerEntityEgg(Class< ? extends Entity> entity, int primaryColor, int secondaryColor) {

 

int id = getUniqueEntityID();

EntityList.IDtoClassMapping.put(id, entity);

EntityList.entityEggs.put(id, new EntityEggInfo(id, primaryColor, secondaryColor));

 

}

}

 

 

 

 

 

 

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

    • It all began when I made what I thought was a smart move, investing a significant sum in a promising new cryptocurrency project. The marketing was slick, the whitepaper looked solid, and the hype was massive. But just a few weeks in, I started noticing red flags. The platform went down intermittently, withdrawals were delayed, and eventually, the website vanished altogether. I realized too late: I had fallen victim to a sophisticated crypto scam. Devastated and angry, I felt completely helpless. The blockchain is supposed to be secure and transparent, but tracing stolen assets through multiple wallets, mixers, and decentralized exchanges felt like chasing shadows. I reported it to local authorities, but they admitted they had limited tools for handling crypto-based crimes. That’s when a close friend recommended Alpha Spy Nest Forensic Digital Recovery Experts. Skeptical but desperate, I reached out. From the very first consultation, their professionalism stood out. They didn’t promise miracles, but they laid out a realistic recovery plan. Their team of cyber forensics specialists, blockchain analysts, and legal advisors worked together seamlessly. They began by tracing the movement of my funds through a series of blockchain addresses, even identifying key mixing points and suspicious wallet activity. I was amazed by the level of detail they could extract.Over the following weeks, Alpha Spy Nest liaised with major exchanges and digital compliance bodies, submitting detailed forensic reports. With their guidance, several suspicious wallets were flagged, frozen, and ultimately, a substantial portion of my lost funds was recovered and returned. I never thought recovery was even possible. But thanks to Alpha Spy Nest, not only did I regain a large part of my investment, I also restored some peace of mind. They didn’t just recover funds, they gave me back hope in a world where digital crime seemed untouchable. 
    • Looking to save big on your first international money transfer? Use the Lemfi coupon code 10% Cashback Up To $50 On First Transfer and enjoy instant cashback rewards on your first transaction. Our exclusive RITEQH6J Lemfi coupon code is designed to maximize your savings across the globe. Whether you're in the USA, Canada, UK, or elsewhere, this code unlocks premium benefits for you. With the Lemfi discount code $10 off and Lemfi code 10% Cashback Up To $50 On First Transfer, you’re not just sending money—you’re earning while doing it. Let’s dive into all the ways you can make the most of this offer. What Is The Lemfi Promo Code for 10% Cashback Up To $50 On First Transfer? Both new and existing users can benefit significantly by applying our Lemfi coupon 10% Cashback Up To $50 On First Transfer on the Lemfi app or website. This offer is part of Lemfi’s initiative to provide more value to its global users with every money transfer. 10% Cashback Up To $50 On First Transfer Lemfi coupon is your gateway to saving more, whether you're new or already using the app. Here's what you get with the promo code RITEQH6J: RITEQH6J – Flat 10% Cashback Up To $50 On First Transfer RITEQH6J – 10% Cashback Up To $50 On First Transfer coupon pack for multiple uses RITEQH6J – 10% Cashback Up To $50 On First Transfer flat discount for new customers RITEQH6J – Extra 10% Cashback Up To $50 On First Transfer promo code for existing customers Lemfi First Time Promo Code 10% Cashback Up To $50 On First Transfer For New Users In 2025 If you’re signing up for the first time in 2025, you’re in for an amazing treat. Using our Lemfi First Time Promo Code for 10% Cashback Up To $50 On First Transfer ensures maximum benefits on your first transaction. Here are some exciting perks of using RITEQH6J: RITEQH6J – $30 sign-up bonus to new users RITEQH6J – 10% cash back up to $50 on first transfer RITEQH6J – $20 cashback on recurring money transfers RITEQH6J – $30 bonus on $100 transfer RITEQH6J – Valid globally for all new Lemfi customers How To Redeem The Lemfi Coupon 10% Cashback Up To $50 On First Transfer For New Users? Using the Lemfi First Time Promo Code for 10% Cashback Up To $50 On First Transfer is super easy. Follow this simple guide: Download and install the Lemfi app from the App Store or Google Play. Sign up and create a new account. Go to the promo code section during your first transaction. Enter RITEQH6J to activate the Lemfi Promo Code First Order 10% Cashback Up To $50 On First Transfer. Complete the transaction to enjoy the Lemfi First Time Promo Code 10% Cashback Up To $50 On First Transfer for new users. Lemfi Promo Code 10% Cashback Up To $50 On First Transfer For Existing Customers Already a Lemfi user? You can still enjoy great benefits using our lemfi promo code 10% Cashback Up To $50 On First Transfer for existing users. Take advantage of the lemfi discount code 10% Cashback Up To $50 On First Transfer for existing customers by using the code RITEQH6J: RITEQH6J – $10 bonus for all users RITEQH6J – $20 per referral after 20 transactions RITEQH6J – $20 cashback on recurring money transfers RITEQH6J – $30 bonus on $100 transfer How To Use The Lemfi Code for 10% Cashback Up To $50 On First Transfer For Existing Customers? To redeem the Lemfi discount code for 10% Cashback Up To $50 On First Transfer, follow these steps: Open the Lemfi app and Lemfi login to your existing account. Go to the 'Promo Code' or 'Offers' section. Apply the Code promo Lemfi for 10% Cashback Up To $50 On First Transfer – RITEQH6J. Make your transaction and enjoy instant cashback rewards. Latest Lemfi Promo Code for 10% Cashback Up To $50 On First Transfer Stay ahead of the savings game by using our Lemfi first time promo code for 10% Cashback Up To $50 On First Transfer first order. It's the best way to unlock exclusive Lemfi offers. With the Lemfi discount code 10% Cashback Up To $50 On First Transfer and Lemfi cashback code, here’s what RITEQH6J brings: $30 sign-up bonus to new users 10% cashback up to $50 on first transfer $20 per referral after 20 transactions $20 cashback on recurring money transfers $30 bonus on $100 transfer How To Find The Lemfi Code for 10% Cashback Up To $50 On First Transfer? Finding the Lemfi code for 10% Cashback Up To $50 On First Transfer is easier than you think. You can get the Lemfi cashback code by subscribing to Lemfi’s newsletter for exclusive offers. Don’t forget to check out Lemfi referral code Reddit for 10% Cashback Up To $50 On First Transfer discussions and user-shared deals. Also, visit trusted coupon websites like ours for verified and regularly updated Lemfi promo codes. Is Lemfi 10% Cashback Up To $50 On First Transfer Code Legit? Absolutely! Wondering Is Lemfi legit?—Yes, it is. Our code promo Lemfi legit is fully tested and verified. The Lemfi discount code RITEQH6J is 100% authentic and can be used worldwide without restrictions. It's a secure, safe, and effective way to enjoy cashback on your transfers. How Does Lemfi Code for 10% Cashback Up To $50 On First Transfer Work? The 10% Cashback Up To $50 On First Transfer on first-time Lemfi money transfer works instantly once you apply the code RITEQH6J. After you enter the code during your transaction, Lemfi automatically applies the cashback. The Lemfi promo code for recurring transactions also allows users to benefit on future money transfers. Whether you're a new or existing user, the savings keep adding up with every use. How To Earn Lemfi 10% Cashback Up To $50 On First Transfer Coupons As A New Customer? To earn the Lemfi coupon code 10% Cashback Up To $50 On First Transfer, all you have to do is register on Lemfi with a valid email and phone number. After signing up, enter our code RITEQH6J during your first transfer. You can also look for 100 off Lemfi coupon code during Lemfi promotions. Keep an eye on your inbox and our site for fresh Lemfi offers every month. What Are The Advantages Of Using The Lemfi Discount Code for 10% Cashback Up To $50 On First Transfer? Using the Lemfi promo code for $10 bonus and Lemfi promo code for 10% Cashback Up To $50 On First Transfer offers many perks: $30 sign-up bonus to new users 10% cashback up to $50 on first transfer $20 per referral after 20 transactions $20 cashback on recurring money transfers $30 bonus on $100 transfer Lemfi Discount Code For 10% Cashback Up To $50 On First Transfer And Free Gift For New And Existing Customers With our Lemfi Discount Code for 10% Cashback Up To $50 On First Transfer, the bonuses don’t stop. Use the 10% Cashback Up To $50 On First Transfer Lemfi discount code and enjoy even more rewards. Here’s what RITEQH6J brings you: RITEQH6J – $30 sign-up bonus to new users RITEQH6J – 10% cashback up to $50 on first transfer RITEQH6J – $20 per referral after 20 transactions RITEQH6J – $20 cashback on recurring money transfers RITEQH6J – $30 bonus on $100 transfer Pros And Cons Of Using The Lemfi Discount Code 10% Cashback Up To $50 On First Transfer For Here are some pros and cons of the Lemfi 10% Cashback Up To $50 On First Transfer discount code and latest Lemfi code 10% cashback up to $50 on first transfer: Pros: Easy to apply and use Instant cashback on first transfer Valid for both new and existing users No expiration date Works globally Cons: Cashback capped at $50 May require minimum transfer amount Terms And Conditions Of Using The Lemfi Coupon 10% Cashback Up To $50 On First Transfer In 2025 To make the most of the Lemfi 10% Cashback Up To $50 On First Transfer code and latest Lemfi code 10% Cashback Up To $50 On First Transfer, keep these T&Cs in mind: Valid for both new and existing users Can be used worldwide No expiration date Requires use of code RITEQH6J during transaction Minimum transfer limit may apply Final Note: Use The Latest Lemfi Discount Code 10% Cashback Up To $50 On First Transfer To unlock your savings, don’t forget to use the Lemfi discount code for 10% Cashback Up To $50 On First Transfer. This code guarantees amazing benefits across various regions and transactions. With the Lemfi 10% Cashback Up To $50 On First Transfer code, you can enjoy worry-free money transfers and generous bonuses. Save more every time you send money! FAQs Of Lemfi 10% Cashback Up To $50 On First Transfer Code What is the best Lemfi promo code in 2025? The best Lemfi promo code for 2025 is RITEQH6J, offering 10% cashback up to $50 on your first transfer and other recurring rewards. Can I use the Lemfi code multiple times? Yes, you can use RITEQH6J for recurring benefits such as $20 cashback on future transfers and $30 bonuses on $100 sent. Is the Lemfi code valid in the USA and UK? Yes, the code is globally valid including in the USA, UK, Canada, and more. How do I enter the Lemfi promo code? Enter RITEQH6J in the promo section during your first transfer on the Lemfi app or website to activate your cashback offer. Does Lemfi have a referral bonus? Yes, Lemfi offers a $20 referral bonus after 20 successful transactions when your code is used by others
    • And the mods.toml?   Instead of using  modId="${mod_id}" try  modId="wackyweapons"
    • I've been working on Minecraft Forge 1.21 Modding, (I'm a bit inexperienced), and when trying to create my own custom throwable projectile entity, I come across this error I can't seem to fix. The console reads that my "mod not working due to Invalid bare key: '${mod_id}'  ". Does anyone know why this is happening? The Pastebin link for all the relevant files is https://pastebin.com/h3UaNYwn. Any help would be greatly appreciated. Thanks.
    • Found a similar post from 3 weeks ago as the only similar issue, seems specific to some linux distributions, like cachyos which i am using, due to libzng processing hashes differently? https://github.com/PrismLauncher/PrismLauncher/issues/3889
  • Topics

×
×
  • Create New...

Important Information

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