blfngl Posted May 25, 2014 Share Posted May 25, 2014 Error Report: [02:43:26] [sound Library Loader/INFO]: Sound engine started [02:43:27] [MCO Availability Checker #1/ERROR]: Couldn't connect to Realms [02:43:31] [server thread/INFO]: Starting integrated minecraft server version 1.7.2 [02:43:31] [server thread/INFO]: Generating keypair [02:43:32] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance [02:43:32] [server thread/INFO] [FML]: Loading dimension 0 (Fallout Test World) (net.minecraft.server.integrated.IntegratedServer@7deea4) [02:43:32] [server thread/INFO] [FML]: Loading dimension 1 (Fallout Test World) (net.minecraft.server.integrated.IntegratedServer@7deea4) [02:43:32] [server thread/INFO] [FML]: Loading dimension -1 (Fallout Test World) (net.minecraft.server.integrated.IntegratedServer@7deea4) [02:43:32] [server thread/INFO]: Preparing start region for level 0 [02:43:33] [server thread/INFO]: Preparing spawn area: 28% [02:43:34] [server thread/INFO]: Preparing spawn area: 60% [02:43:35] [server thread/INFO]: Preparing spawn area: 97% [02:43:36] [Netty Client IO #0/INFO] [FML]: Server protocol version 1 [02:43:36] [Netty IO #1/INFO] [FML]: Client protocol version 1 [02:43:36] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected] [02:43:36] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT [02:43:36] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER [02:43:36] [server thread/INFO] [FML]: [server thread] Server side modded connection established [02:43:36] [server thread/INFO]: Player786[local:E:c1847bc7] logged in with entity id 140 at (-74.54083864776052, 72.0, 259.9269954858085) [02:43:36] [server thread/INFO]: Player786 joined the game [02:43:36] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established [02:43:41] [server thread/INFO]: Player786 has just earned the achievement [Taking Inventory] [02:43:41] [Client thread/INFO]: [CHAT] Player786 has just earned the achievement [Taking Inventory] [02:43:45] [server thread/INFO]: [Player786: Set the time to 0] [02:43:45] [Client thread/INFO]: [CHAT] Set the time to 0 [02:44:13] [server thread/ERROR]: Encountered an unexpected exception net.minecraft.util.ReportedException: Ticking memory connection at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:198) ~[NetworkSystem.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:716) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:604) ~[MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) ~[integratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742) [MinecraftServer$2.class:?] Caused by: java.lang.NullPointerException at net.minecraft.item.ItemStack.isItemStackDamageable(ItemStack.java:231) ~[itemStack.class:?] at net.minecraft.server.management.ItemInWorldManager.tryUseItem(ItemInWorldManager.java:355) ~[itemInWorldManager.class:?] at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:572) ~[NetHandlerPlayServer.class:?] at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74) ~[C08PacketPlayerBlockPlacement.class:?] at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122) ~[C08PacketPlayerBlockPlacement.class:?] at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:232) ~[NetworkManager.class:?] at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) ~[NetworkSystem.class:?] ... 5 more [02:44:13] [server thread/ERROR]: This crash report has been saved to: C:\Users\Nick\Desktop\Fallout Mod\eclipse\.\crash-reports\crash-2014-05-25_02.44.13-server.txt [02:44:13] [server thread/INFO]: Stopping server [02:44:13] [server thread/INFO]: Saving players [02:44:13] [server thread/INFO]: Saving worlds [02:44:13] [server thread/INFO]: Saving chunks for level 'Fallout Test World'/Overworld [02:44:14] [server thread/INFO]: Saving chunks for level 'Fallout Test World'/Nether [02:44:14] [server thread/INFO]: Saving chunks for level 'Fallout Test World'/The End [02:44:14] [server thread/INFO] [FML]: Unloading dimension 0 [02:44:14] [server thread/INFO] [FML]: Unloading dimension -1 [02:44:14] [server thread/INFO] [FML]: Unloading dimension 1 [02:44:14] [server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded. [02:44:15] [Client thread/FATAL]: Reported exception thrown! net.minecraft.util.ReportedException: Ticking entity at net.minecraft.world.World.updateEntities(World.java:2079) ~[World.class:?] at net.minecraft.client.Minecraft.runTick(Minecraft.java:2063) ~[Minecraft.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:995) ~[Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:910) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_55] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_55] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_55] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_55] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] Caused by: java.lang.NullPointerException at net.minecraft.item.ItemStack.updateAnimation(ItemStack.java:477) ~[itemStack.class:?] at net.minecraft.entity.player.InventoryPlayer.decrementAnimations(InventoryPlayer.java:349) ~[inventoryPlayer.class:?] at net.minecraft.entity.player.EntityPlayer.onLivingUpdate(EntityPlayer.java:625) ~[EntityPlayer.class:?] at net.minecraft.client.entity.EntityPlayerSP.onLivingUpdate(EntityPlayerSP.java:299) ~[EntityPlayerSP.class:?] at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1820) ~[EntityLivingBase.class:?] at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:342) ~[EntityPlayer.class:?] at net.minecraft.client.entity.EntityClientPlayerMP.onUpdate(EntityClientPlayerMP.java:100) ~[EntityClientPlayerMP.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2254) ~[World.class:?] at net.minecraft.world.World.updateEntity(World.java:2214) ~[World.class:?] at net.minecraft.world.World.updateEntities(World.java:2064) ~[World.class:?] ... 10 more ---- Minecraft Crash Report ---- // I bet Cylons wouldn't have this problem. Time: 5/25/14 2:44 AM Description: Ticking entity java.lang.NullPointerException: Ticking entity at net.minecraft.item.ItemStack.updateAnimation(ItemStack.java:477) at net.minecraft.entity.player.InventoryPlayer.decrementAnimations(InventoryPlayer.java:349) at net.minecraft.entity.player.EntityPlayer.onLivingUpdate(EntityPlayer.java:625) at net.minecraft.client.entity.EntityPlayerSP.onLivingUpdate(EntityPlayerSP.java:299) at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1820) at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:342) at net.minecraft.client.entity.EntityClientPlayerMP.onUpdate(EntityClientPlayerMP.java:100) at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2254) at net.minecraft.world.World.updateEntity(World.java:2214) at net.minecraft.world.World.updateEntities(World.java:2064) at net.minecraft.client.Minecraft.runTick(Minecraft.java:2063) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:995) at net.minecraft.client.Minecraft.run(Minecraft.java:910) at net.minecraft.client.main.Main.main(Main.java:112) 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:134) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraft.item.ItemStack.updateAnimation(ItemStack.java:477) at net.minecraft.entity.player.InventoryPlayer.decrementAnimations(InventoryPlayer.java:349) at net.minecraft.entity.player.EntityPlayer.onLivingUpdate(EntityPlayer.java:625) at net.minecraft.client.entity.EntityPlayerSP.onLivingUpdate(EntityPlayerSP.java:299) at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1820) at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:342) at net.minecraft.client.entity.EntityClientPlayerMP.onUpdate(EntityClientPlayerMP.java:100) at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2254) at net.minecraft.world.World.updateEntity(World.java:2214) -- Entity being ticked -- Details: Entity Type: null (net.minecraft.client.entity.EntityClientPlayerMP) Entity ID: 140 Entity Name: Player786 Entity's Exact location: -74.54, 73.62, 259.93 Entity's Block location: World: (-75,73,259), Chunk: (at 5,4,3 in -5,16; contains blocks -80,0,256 to -65,255,271), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511) Entity's Momentum: 0.00, -0.08, 0.00 Stacktrace: at net.minecraft.world.World.updateEntities(World.java:2064) -- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityClientPlayerMP['Player786'/140, l='MpServer', x=-74.54, y=73.62, z=259.93]] Chunk stats: MultiplayerChunkCache: 225, 225 Level seed: 0 Level generator: ID 00 - default, ver 1. Features enabled: false Level generator options: Level spawn location: World: (-76,64,256), Chunk: (at 4,4,0 in -5,16; contains blocks -80,0,256 to -65,255,271), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511) Level time: 35227 game time, 542 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false Forced entities: 82 total; [EntityZombie['Zombie'/551, l='MpServer', x=-89.50, y=24.00, z=289.50], EntityClientPlayerMP['Player786'/140, l='MpServer', x=-74.54, y=73.62, z=259.93], EntitySkeleton['Skeleton'/129, l='MpServer', x=5.53, y=25.00, z=295.88], EntityZombie['Zombie'/21, l='MpServer', x=-144.44, y=25.00, z=226.50], EntityCreeper['Creeper'/23, l='MpServer', x=-150.25, y=26.00, z=299.50], EntityZombie['Zombie'/22, l='MpServer', x=-145.31, y=25.00, z=226.50], EntityPig['Pig'/25, l='MpServer', x=-149.97, y=71.00, z=303.03], EntitySkeleton['Skeleton'/24, l='MpServer', x=-145.06, y=59.00, z=297.50], EntityCreeper['Creeper'/27, l='MpServer', x=-146.50, y=50.00, z=332.00], EntityZombie['Zombie'/26, l='MpServer', x=-144.50, y=22.00, z=312.50], EntitySkeleton['Skeleton'/31, l='MpServer', x=-129.50, y=20.00, z=180.50], EntityCow['Cow'/34, l='MpServer', x=-134.38, y=66.00, z=186.41], EntityCreeper['Creeper'/35, l='MpServer', x=-129.69, y=46.00, z=192.25], EntityZombie['Zombie'/33, l='MpServer', x=-130.69, y=46.00, z=190.31], EntityBat['Bat'/38, l='MpServer', x=-132.31, y=23.10, z=223.09], EntityCow['Cow'/39, l='MpServer', x=-142.09, y=71.00, z=223.16], EntityChicken['Chicken'/37, l='MpServer', x=-128.38, y=70.00, z=202.41], EntityBat['Bat'/524, l='MpServer', x=-23.44, y=31.00, z=256.11], EntityCreeper['Creeper'/43, l='MpServer', x=-131.38, y=11.00, z=269.31], EntityBat['Bat'/526, l='MpServer', x=-138.36, y=51.79, z=313.75], EntityBat['Bat'/315, l='MpServer', x=-128.42, y=54.33, z=309.67], EntityHorse['Donkey'/40, l='MpServer', x=-132.13, y=70.00, z=233.28], EntityCow['Cow'/41, l='MpServer', x=-137.44, y=65.00, z=238.81], EntityCreeper['Creeper'/46, l='MpServer', x=-137.47, y=13.00, z=283.97], EntitySquid['Squid'/44, l='MpServer', x=-125.72, y=55.78, z=262.44], EntitySkeleton['Skeleton'/45, l='MpServer', x=-133.53, y=14.00, z=279.09], EntityCreeper['Creeper'/51, l='MpServer', x=-131.50, y=54.00, z=311.50], EntityCreeper['Creeper'/50, l='MpServer', x=-138.00, y=50.00, z=310.56], EntityBat['Bat'/49, l='MpServer', x=-134.97, y=20.31, z=313.59], EntitySkeleton['Skeleton'/48, l='MpServer', x=-139.50, y=21.00, z=313.88], EntityBat['Bat'/53, l='MpServer', x=-118.63, y=28.65, z=336.50], EntityBat['Bat'/52, l='MpServer', x=-136.34, y=51.00, z=312.88], EntityZombie['Zombie'/59, l='MpServer', x=-120.91, y=37.00, z=188.78], EntityZombie['Zombie'/58, l='MpServer', x=-135.41, y=41.00, z=188.94], EntitySkeleton['Skeleton'/63, l='MpServer', x=-127.69, y=57.00, z=292.75], EntityBat['Bat'/62, l='MpServer', x=-113.99, y=32.39, z=283.56], EntityChicken['Chicken'/61, l='MpServer', x=-120.47, y=64.00, z=225.59], EntityHorse['Donkey'/60, l='MpServer', x=-125.53, y=65.00, z=235.47], EntitySquid['Squid'/68, l='MpServer', x=-101.84, y=41.34, z=289.63], EntityBat['Bat'/76, l='MpServer', x=-63.54, y=18.10, z=277.75], EntitySpider['Spider'/74, l='MpServer', x=-89.53, y=17.00, z=269.22], EntityCreeper['Creeper'/75, l='MpServer', x=-83.50, y=24.00, z=267.50], EntityZombie['Zombie'/85, l='MpServer', x=-66.91, y=18.00, z=254.38], EntityBat['Bat'/87, l='MpServer', x=-78.72, y=23.84, z=266.72], EntityZombie['Zombie'/86, l='MpServer', x=-67.06, y=18.00, z=255.22], EntitySpider['Spider'/81, l='MpServer', x=-70.00, y=28.00, z=178.97], EntityZombie['Zombie'/83, l='MpServer', x=-64.50, y=21.00, z=207.50], EntityBat['Bat'/93, l='MpServer', x=-66.38, y=22.10, z=286.63], EntitySpider['Spider'/92, l='MpServer', x=-72.53, y=20.00, z=272.25], EntityBat['Bat'/95, l='MpServer', x=-75.50, y=15.10, z=300.53], EntitySquid['Squid'/94, l='MpServer', x=-66.94, y=40.00, z=280.50], EntityZombie['Zombie'/89, l='MpServer', x=-68.84, y=19.00, z=268.16], EntityZombie['Zombie'/88, l='MpServer', x=-63.97, y=21.00, z=280.59], EntityZombie['Zombie'/91, l='MpServer', x=-75.50, y=20.00, z=276.50], EntityZombie['Zombie'/90, l='MpServer', x=-73.91, y=20.00, z=278.31], EntityBat['Bat'/102, l='MpServer', x=-66.75, y=19.10, z=276.50], EntitySkeleton['Skeleton'/103, l='MpServer', x=-62.13, y=13.00, z=277.50], EntityCreeper['Creeper'/101, l='MpServer', x=-64.00, y=20.00, z=271.44], EntityCreeper['Creeper'/98, l='MpServer', x=-74.69, y=22.00, z=323.56], EntitySpider['Spider'/99, l='MpServer', x=-73.34, y=22.00, z=323.06], EntitySquid['Squid'/96, l='MpServer', x=-73.19, y=38.34, z=291.63], EntitySquid['Squid'/97, l='MpServer', x=-74.84, y=45.22, z=299.91], EntityBat['Bat'/110, l='MpServer', x=-53.38, y=19.10, z=294.72], EntityCreeper['Creeper'/111, l='MpServer', x=-54.69, y=21.00, z=305.78], EntityCreeper['Creeper'/108, l='MpServer', x=-61.50, y=19.00, z=288.50], EntityCreeper['Creeper'/109, l='MpServer', x=-56.50, y=19.00, z=292.50], EntityZombie['Zombie'/106, l='MpServer', x=-63.69, y=16.00, z=297.56], EntityCreeper['Creeper'/107, l='MpServer', x=-57.50, y=20.00, z=299.00], EntitySkeleton['Skeleton'/104, l='MpServer', x=-61.50, y=14.00, z=282.50], EntityZombie['Zombie'/105, l='MpServer', x=-60.97, y=20.00, z=272.53], EntityZombie['Zombie'/118, l='MpServer', x=-36.53, y=22.00, z=303.97], EntityZombie['Zombie'/117, l='MpServer', x=-39.06, y=29.00, z=260.50], EntityCreeper['Creeper'/116, l='MpServer', x=-40.94, y=16.00, z=195.53], EntityZombie['Zombie'/114, l='MpServer', x=-62.50, y=18.00, z=327.50], EntityCreeper['Creeper'/113, l='MpServer', x=-59.50, y=18.00, z=325.50], EntityCreeper['Creeper'/112, l='MpServer', x=-48.06, y=28.00, z=321.25], EntityCreeper['Creeper'/126, l='MpServer', x=-5.50, y=36.00, z=298.34], EntityBat['Bat'/125, l='MpServer', x=4.53, y=27.81, z=289.88], EntityZombie['Zombie'/124, l='MpServer', x=2.16, y=28.00, z=285.78], EntityBat['Bat'/123, l='MpServer', x=-16.53, y=12.52, z=190.75], EntityCreeper['Creeper'/122, l='MpServer', x=-19.56, y=14.00, z=191.97], EntityZombie['Zombie'/121, l='MpServer', x=-22.44, y=14.00, z=192.53]] Retry entities: 0 total; [] Server brand: fml,forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:412) at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2522) at net.minecraft.client.Minecraft.run(Minecraft.java:931) at net.minecraft.client.main.Main.main(Main.java:112) 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:134) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) -- System Details -- Details: Minecraft Version: 1.7.2 Operating System: Windows 7 (x86) version 6.1 Java Version: 1.7.0_55, Oracle Corporation Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation Memory: 851844168 bytes (812 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 4675 (261800 bytes; 0 MB) allocated, 5 (280 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95 FML: MCP v9.01-pre FML v7.2.156.1060 Minecraft Forge 10.12.1.1060 4 mods loaded, 4 mods active mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available FML{7.2.156.1060} [Forge Mod Loader] (forgeSrc-1.7.2-10.12.1.1060.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Forge{10.12.1.1060} [Minecraft Forge] (forgeSrc-1.7.2-10.12.1.1060.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available fallout{v0.1} [fallout] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Launched Version: 1.6 LWJGL: 2.9.0 OpenGL: AMD Radeon HD 6480G GL version 4.3.12618 Compatibility Profile Context 13.251.0.0, ATI Technologies Inc. Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [] Current Language: English (US) Profiler Position: N/A (disabled) Vec3 Pool Size: 3193 (178808 bytes; 0 MB) allocated, 23 (1288 bytes; 0 MB) used Anisotropic Filtering: Off (1) #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Nick\Desktop\Fallout Mod\eclipse\.\crash-reports\crash-2014-05-25_02.44.15-client.txt AL lib: (EE) alc_cleanup: 1 device not closed Item: package blfngl.fallout.item.food; import java.util.List; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.potion.Potion; import net.minecraft.potion.PotionEffect; import net.minecraft.world.World; import blfngl.fallout.Fallout; import blfngl.fallout.item.FalloutItem; public class ItemChems extends FalloutItem { public Potion effect; public int duration; public Item re; public String effectName; public int power; public ItemChems(Potion par1, int par2, Item par3, int par4) { super(); this.setCreativeTab(Fallout.tabChems); effect = par1; duration = par2; re = par3; effectName = par1.getName(); power = par4; } public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) { par3List.add("Effect: " + effectName); if (duration > 60) { par3List.add("Duration: " + duration / 60 + " minutes"); } else { par3List.add("Duration: " + duration + " seconds"); } } public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer entityplayer) { entityplayer.addPotionEffect(new PotionEffect(effect.id, power, 20 * duration)); return new ItemStack(re); } } How the item is called in main class: ultrajet = new ItemChems(Potion.digSpeed, 240, jetInhaler, 2).setUnlocalizedName("ultrajet"); GameRegistry.registerItem(ultrajet, "UltraJet"); One of the items in my mod, if it's in your hand and you right click, will give you a potion effect and then spawn this item in your hand while removing itself. This has always worked but after I changed something it's not working. Help? Quote Link to comment Share on other sites More sharing options...
blfngl Posted May 26, 2014 Author Share Posted May 26, 2014 The item is called ultrajet. Main Class: package blfngl.fallout; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import blfngl.fallout.init.Consumables; import blfngl.fallout.init.Miscellaneous; import blfngl.fallout.item.FalloutItem; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.registry.GameRegistry; @Mod(modid = "fallout", version = "v0.1") public class Fallout { @Instance("fallout") public static Fallout instance; public static Item antEgg; public static Item antMeat; public static Item barrelCactusFruit; public static Item bananaYuccaFruit; public static Item bighornerMeat; public static Item bighornerSteak; public static Item blackBloodSausage; public static Item blamCoMac; public static Item bloatflyMeat; public static Item bloatflySlider; public static Item bloodSausage; public static Item brahminMeat; public static Item brahminSteak; public static Item antQueenPheremones; public static Item antivenom; public static Item antNectar; public static Item autoStimpak; public static Item autoSuperStimpak; public static Item bloodShield; public static Item buffout; public static Item cateye; public static Item coyoteChew; public static Item daturaAntivenom; public static Item daturaHide; public static Item dixonJet; public static Item doctorsBag; public static Item fieryPurgative; public static Item fireAntNectar; public static Item ghostSight; public static Item healingPoultice; public static Item healingPowder; public static Item hydra; public static Item jet; public static Item medEx; public static Item medicalSupplies; public static Item mentats; public static Item partyMentats; public static Item psycho; public static Item radaway; public static Item rebound; public static Item rocket; public static Item rushingWater; public static Item slasher; public static Item steady; public static Item stimpak; public static Item superStimpak; public static Item turbo; public static Item ultrajet; public static Item weaponBinding; public static Item plasticBottle; public static Item jetInhaler; public static Item syringe; public static Item syringeBloody; public static CreativeTabs tabFood = new FalloutTab(CreativeTabs.getNextID(), "TabFood", Items.iron_axe); public static CreativeTabs tabMiscellaneous = new FalloutTab(CreativeTabs.getNextID(), "TabMiscellaneous", Items.iron_axe); public static CreativeTabs tabChems = new FalloutTab(CreativeTabs.getNextID(), "TabChems", Items.iron_axe); @EventHandler public void preInit(FMLPreInitializationEvent event) { Miscellaneous.init(); Consumables.init(); } @EventHandler public void init(FMLInitializationEvent event) { } @EventHandler public static void postInit(FMLPostInitializationEvent event) { System.out.println("Fallout Mod Loaded."); } } Registry: ultrajet = new ItemChems(Potion.digSpeed, 240, jetInhaler, 2).setUnlocalizedName("ultrajet"); GameRegistry.registerItem(ultrajet, "UltraJet"); Quote Link to comment Share on other sites More sharing options...
GotoLink Posted May 26, 2014 Share Posted May 26, 2014 And where jetInhaler is created. Quote Link to comment Share on other sites More sharing options...
blfngl Posted May 30, 2014 Author Share Posted May 30, 2014 Solved, had a derp moment and forgot to register jetInhaler. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.