Jump to content

[SOLVED] ISound crash server


sigurd4

Recommended Posts

launching a server crashes after a few seconds.

[18:25:00] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
[18:25:00] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
[18:25:00] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker
[18:25:00] [main/INFO] [FML]: Forge Mod Loader version 7.10.84.1217 for Minecraft 1.7.10 loading
[18:25:00] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_67, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7
[18:25:00] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[18:25:00] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:25:00] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[18:25:00] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:25:00] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:25:00] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[18:25:00] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[18:25:03] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[18:25:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[18:25:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[18:25:03] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[18:25:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[18:25:03] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}
[18:25:06] [main/WARN] [FML]: =============================================================
[18:25:06] [main/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML!
[18:25:06] [main/WARN] [FML]: Offendor: net/minecraft/server/gui/MinecraftServerGui$1.windowClosing(Ljava/awt/event/WindowEvent;)V
[18:25:06] [main/WARN] [FML]: Use FMLCommonHandler.exitJava instead
[18:25:06] [main/WARN] [FML]: =============================================================
[18:25:06] [server thread/INFO]: Starting minecraft server version 1.7.10
[18:25:06] [server thread/ERROR] [FML]: Unable to determine registrant mod for cpw.mods.fml.common.eventhandler.EventBus@3631ff3a. This is a critical error and should be impossible
java.lang.Throwable
at cpw.mods.fml.common.eventhandler.EventBus.register(EventBus.java:56) [EventBus.class:?]
at cpw.mods.fml.common.eventhandler.EventBus.<init>(EventBus.java:36) [EventBus.class:?]
at cpw.mods.fml.common.FMLCommonHandler.<init>(FMLCommonHandler.java:90) [FMLCommonHandler.class:?]
at cpw.mods.fml.common.FMLCommonHandler.<clinit>(FMLCommonHandler.java:77) [FMLCommonHandler.class:?]
at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:120) [DedicatedServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:455) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:762) [MinecraftServer$2.class:?]
[18:25:06] [server thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[18:25:06] [server thread/ERROR] [FML]: Unable to determine registrant mod for cpw.mods.fml.common.eventhandler.EventBus@6aaf6af2. This is a critical error and should be impossible
java.lang.Throwable
at cpw.mods.fml.common.eventhandler.EventBus.register(EventBus.java:56) [EventBus.class:?]
at cpw.mods.fml.common.eventhandler.EventBus.<init>(EventBus.java:36) [EventBus.class:?]
at net.minecraftforge.common.MinecraftForge.<clinit>(MinecraftForge.java:21) [MinecraftForge.class:?]
at java.lang.Class.forName0(Native Method) [?:1.7.0_67]
at java.lang.Class.forName(Unknown Source) [?:1.7.0_67]
at cpw.mods.fml.common.FMLCommonHandler.findMinecraftForge(FMLCommonHandler.java:180) [FMLCommonHandler.class:?]
at cpw.mods.fml.common.FMLCommonHandler.callForgeMethod(FMLCommonHandler.java:194) [FMLCommonHandler.class:?]
at cpw.mods.fml.common.FMLCommonHandler.beginLoading(FMLCommonHandler.java:106) [FMLCommonHandler.class:?]
at cpw.mods.fml.server.FMLServerHandler.<init>(FMLServerHandler.java:75) [FMLServerHandler.class:?]
at cpw.mods.fml.server.FMLServerHandler.<clinit>(FMLServerHandler.java:66) [FMLServerHandler.class:?]
at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:313) [FMLCommonHandler.class:?]
at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:120) [DedicatedServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:455) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:762) [MinecraftServer$2.class:?]
[18:25:06] [server thread/ERROR] [FML]: Unable to determine registrant mod for cpw.mods.fml.common.eventhandler.EventBus@43b56020. This is a critical error and should be impossible
java.lang.Throwable
at cpw.mods.fml.common.eventhandler.EventBus.register(EventBus.java:56) [EventBus.class:?]
at cpw.mods.fml.common.eventhandler.EventBus.<init>(EventBus.java:36) [EventBus.class:?]
at net.minecraftforge.common.MinecraftForge.<clinit>(MinecraftForge.java:22) [MinecraftForge.class:?]
at java.lang.Class.forName0(Native Method) [?:1.7.0_67]
at java.lang.Class.forName(Unknown Source) [?:1.7.0_67]
at cpw.mods.fml.common.FMLCommonHandler.findMinecraftForge(FMLCommonHandler.java:180) [FMLCommonHandler.class:?]
at cpw.mods.fml.common.FMLCommonHandler.callForgeMethod(FMLCommonHandler.java:194) [FMLCommonHandler.class:?]
at cpw.mods.fml.common.FMLCommonHandler.beginLoading(FMLCommonHandler.java:106) [FMLCommonHandler.class:?]
at cpw.mods.fml.server.FMLServerHandler.<init>(FMLServerHandler.java:75) [FMLServerHandler.class:?]
at cpw.mods.fml.server.FMLServerHandler.<clinit>(FMLServerHandler.java:66) [FMLServerHandler.class:?]
at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:313) [FMLCommonHandler.class:?]
at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:120) [DedicatedServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:455) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:762) [MinecraftServer$2.class:?]
[18:25:06] [server thread/ERROR] [FML]: Unable to determine registrant mod for cpw.mods.fml.common.eventhandler.EventBus@38b9f79a. This is a critical error and should be impossible
java.lang.Throwable
at cpw.mods.fml.common.eventhandler.EventBus.register(EventBus.java:56) [EventBus.class:?]
at cpw.mods.fml.common.eventhandler.EventBus.<init>(EventBus.java:36) [EventBus.class:?]
at net.minecraftforge.common.MinecraftForge.<clinit>(MinecraftForge.java:23) [MinecraftForge.class:?]
at java.lang.Class.forName0(Native Method) [?:1.7.0_67]
at java.lang.Class.forName(Unknown Source) [?:1.7.0_67]
at cpw.mods.fml.common.FMLCommonHandler.findMinecraftForge(FMLCommonHandler.java:180) [FMLCommonHandler.class:?]
at cpw.mods.fml.common.FMLCommonHandler.callForgeMethod(FMLCommonHandler.java:194) [FMLCommonHandler.class:?]
at cpw.mods.fml.common.FMLCommonHandler.beginLoading(FMLCommonHandler.java:106) [FMLCommonHandler.class:?]
at cpw.mods.fml.server.FMLServerHandler.<init>(FMLServerHandler.java:75) [FMLServerHandler.class:?]
at cpw.mods.fml.server.FMLServerHandler.<clinit>(FMLServerHandler.java:66) [FMLServerHandler.class:?]
at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:313) [FMLCommonHandler.class:?]
at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:120) [DedicatedServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:455) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:762) [MinecraftServer$2.class:?]
[18:25:06] [server thread/INFO] [FML]: MinecraftForge v10.13.1.1217 Initialized
[18:25:06] [server thread/INFO] [FML]: Replaced 182 ore recipies
[18:25:06] [server thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[18:25:07] [server thread/INFO] [FML]: Searching C:\Users\Sigurd\Documents\Minecraft\bioshock mod workspace\Forgemods\mods for mods
[18:25:10] [server thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[18:25:10] [server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, bioshock] at CLIENT
[18:25:10] [server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, bioshock] at SERVER
[18:25:10] [server thread/ERROR]: Encountered an unexpected exception
java.lang.NoClassDefFoundError: net/minecraft/client/audio/ISound
at com.sigurd4.Bioshock.BioshockMod.<clinit>(BioshockMod.java:130) ~[bioshockMod.class:?]
at java.lang.Class.forName0(Native Method) ~[?:1.7.0_67]
at java.lang.Class.forName(Unknown Source) ~[?:1.7.0_67]
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:420) ~[FMLModContainer.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_67]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_67]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_67]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_67]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[LoadController.class:?]
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[LoadController.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_67]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_67]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_67]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_67]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) ~[LoadController.class:?]
at cpw.mods.fml.common.Loader.loadMods(Loader.java:492) ~[Loader.class:?]
at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87) ~[FMLServerHandler.class:?]
at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:314) ~[FMLCommonHandler.class:?]
at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:120) ~[DedicatedServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:455) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:762) [MinecraftServer$2.class:?]
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.audio.ISound
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_67]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_67]
... 31 more
Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/audio/ISound for invalid side SERVER
at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:50) ~[forgeSrc-1.7.10-10.13.1.1217.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.11.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_67]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_67]
... 31 more
[18:25:10] [server thread/ERROR]: This crash report has been saved to: C:\Users\Sigurd\Documents\Minecraft\bioshock mod workspace\Forgemods\.\crash-reports\crash-2014-09-23_18.25.10-server.txt
[18:25:10] [server thread/WARN] [FML]: Can't revert to frozen GameData state without freezing first.
[18:25:10] [server thread/INFO] [FML]: Applying holder lookups
[18:25:10] [server thread/INFO] [FML]: Holder lookups applied
[18:25:10] [server thread/INFO] [FML]: The state engine was in incorrect state ERRORED and forced into state SERVER_STOPPED. Errors may have been discarded.
[18:25:10] [server thread/INFO] [FML]: The state engine was in incorrect state ERRORED and forced into state AVAILABLE. Errors may have been discarded.

it looks like i have called ISound somewhere server-side, which i am apparently not allowed to do. i have made sure they are all called clientside, yet it doesnt work. is that not the problem that crashes it?

http://www.planetminecraft.com/member/sigurd4

I'm making the bioshock mod!

Link to comment
Share on other sites

I'm not a expert, but what about those "Unable to determine registrant mod for cpw.mods.fml.common.eventhandler.EventBus@43b56020. This is a critical error and should be impossible

java.lang.Throwable" things.

If my post helped you, please press that "Thank You"-button to show your appreciation.

 

Also if you don't know Java, I would suggest you read the official tutorials by Oracle to get an idea of how to do this. Thanks, and good modding!

 

Also if you haven't, set up a Git repo for your mod not only for convinience but also to make it easier to help you.

Link to comment
Share on other sites

i thought the world.playSoundAtEntity function and alike was ok, since it sends it to clients.

anyway, i've removed all sound related stuff in the common event handler, yet i get the same crash. i have also looked at all direct references to ISound and //'d them out for now.

BioshockEventHandler.class:

package com.sigurd4.Bioshock;

import java.util.HashMap;
import java.util.Map;

import javax.management.Attribute;

import net.minecraft.client.Minecraft;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.attributes.AttributeModifier;
import net.minecraft.entity.monster.EntityMob;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayer.EnumStatus;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.DamageSource;
import net.minecraft.util.EntityDamageSourceIndirect;
import net.minecraftforge.client.event.RenderGameOverlayEvent;
import net.minecraftforge.client.event.FOVUpdateEvent;
import net.minecraftforge.client.event.RenderPlayerEvent;
import net.minecraftforge.event.entity.EntityEvent;
import net.minecraftforge.event.entity.EntityEvent.EntityConstructing;
import net.minecraftforge.event.entity.living.LivingDeathEvent;
import net.minecraftforge.event.entity.living.LivingHurtEvent;
import net.minecraftforge.event.entity.living.LivingEvent;
import net.minecraftforge.event.entity.living.LivingSpawnEvent;

import com.sigurd4.Bioshock.commands.CommandSetCash;
import com.sigurd4.Bioshock.entity.monster.EntitySplicer;
import com.sigurd4.Bioshock.entity.player.EntityExtendedPlayer;
import com.sigurd4.Bioshock.items.ItemArmorDivingSuit;
import com.sigurd4.Bioshock.items.ItemConsumable;
import com.sigurd4.Bioshock.items.ItemMoney;
import com.sigurd4.Bioshock.items.ItemValuable;
import com.sigurd4.Bioshock.items.ItemWeaponMelee;
import com.sigurd4.Bioshock.items.ItemWeaponRanged;

import cpw.mods.fml.common.event.FMLServerStartingEvent;
import cpw.mods.fml.common.eventhandler.Event.Result;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.gameevent.PlayerEvent.ItemPickupEvent;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

public class BioshockEventHandler
{
@SubscribeEvent
public void livingSpawnEvent(LivingSpawnEvent event)
{
	if(event.entity instanceof EntitySplicer)
	{
		((EntitySplicer)event.entity).addRandomArmor();
	}
}

@SubscribeEvent
public void onLivingDeathEvent(LivingDeathEvent event)
{
	if (!event.entity.worldObj.isRemote && event.entity instanceof EntityPlayer)
	{
		NBTTagCompound playerData = new NBTTagCompound();
		((EntityExtendedPlayer)(event.entity.getExtendedProperties(EntityExtendedPlayer.EXT_PROP_NAME))).saveNBTData(playerData);
		BioshockMod.proxy.storeEntityData(((EntityPlayer)event.entity).getDisplayName(), playerData);
		EntityExtendedPlayer.saveProxyData((EntityPlayer) event.entity);
	}
}

@SubscribeEvent
public void onEntityConstructing(EntityConstructing event)
{
	if (event.entity instanceof EntitySplicer && ((EntitySplicer)event.entity).shouldHaveRandomArmor)
	{
		((EntitySplicer)event.entity).addRandomArmor();
	}

	if (event.entity instanceof EntityPlayer && EntityExtendedPlayer.get((EntityPlayer) event.entity) == null)
	{
		event.entity.getDataWatcher().addObject(EntityExtendedPlayer.EVE_WATCHER, Integer.valueOf(0));
		event.entity.getDataWatcher().addObject(EntityExtendedPlayer.DRUNKNESS_WATCHER, Integer.valueOf(0));
		event.entity.getDataWatcher().addObject(EntityExtendedPlayer.SHIELDS_WATCHER, Float.valueOf(0));
		event.entity.getDataWatcher().addObject(EntityExtendedPlayer.SHIELDS_TIMER_WATCHER, Integer.valueOf(0));
		EntityExtendedPlayer.register((EntityPlayer) event.entity);
	}

	if (event.entity instanceof EntityPlayer && event.entity.getExtendedProperties(EntityExtendedPlayer.EXT_PROP_NAME) == null)
	{
		event.entity.registerExtendedProperties(EntityExtendedPlayer.EXT_PROP_NAME, new EntityExtendedPlayer((EntityPlayer) event.entity));
	}
}

@SubscribeEvent
public void livingEvent(LivingEvent event)
{
	if(event.entity instanceof EntityPlayer)
	{
		EntityExtendedPlayer props = EntityExtendedPlayer.get((EntityPlayer)event.entity);
		if(props.getDrunkness() > 0 && Math.random() > 0.
		{
			props.setDrunkness(props.getDrunkness()-1);
		}
		if(props.getMaxShields() > 0)
		{
			if(props.getShieldsTimer() > 0)
			{
				props.setShieldsTimer(props.getShieldsTimer()-1);
			}
			else
			{
				props.setCurrentShields(props.getCurrentShields()+0.1F);
			}
		}
	}
}

@SubscribeEvent
public void livingHurtEvent(LivingHurtEvent event)
{
	if(event.source == DamageSource.inFire || event.source == DamageSource.lava || event.source == DamageSource.onFire)
	{
		if(((EntityLivingBase)event.entity).getEquipmentInSlot(1) != null)if(((EntityLivingBase)event.entity).getEquipmentInSlot(1).getItem() instanceof ItemArmorDivingSuit)
		{
			if(((EntityLivingBase)event.entity).getEquipmentInSlot(2) != null)if(((EntityLivingBase)event.entity).getEquipmentInSlot(2).getItem() instanceof ItemArmorDivingSuit)
			{
				if(((EntityLivingBase)event.entity).getEquipmentInSlot(3) != null)if(((EntityLivingBase)event.entity).getEquipmentInSlot(3).getItem() instanceof ItemArmorDivingSuit)
				{
					if(((EntityLivingBase)event.entity).getEquipmentInSlot(4) != null)if(((EntityLivingBase)event.entity).getEquipmentInSlot(4).getItem() instanceof ItemArmorDivingSuit)
					{
						event.ammount = event.ammount/4;
					}
				}
			}
		}
	}
	if(event.source == DamageSource.fall)
	{
		if(event.entity instanceof EntityLivingBase)
		{
			boolean flag = false;
			if(((EntityLivingBase)event.entity).getEquipmentInSlot(4) != null)if(((EntityLivingBase)event.entity).getEquipmentInSlot(4).getItem() instanceof ItemArmorDivingSuit)
			{
				double i = ((ItemArmorDivingSuit)((EntityLivingBase)event.entity).getEquipmentInSlot(4).getItem()).isMetal ? 1D : 2D;
				event.ammount = event.ammount*0.6F*(float)i;
				flag = true;
			}
			if(((EntityLivingBase)event.entity).getEquipmentInSlot(3) != null)if(((EntityLivingBase)event.entity).getEquipmentInSlot(3).getItem() instanceof ItemArmorDivingSuit)
			{
				double i = ((ItemArmorDivingSuit)((EntityLivingBase)event.entity).getEquipmentInSlot(3).getItem()).isMetal ? 1D : 2D;
				event.ammount = event.ammount*0.7F*(float)i;
				flag = true;
			}
			if(((EntityLivingBase)event.entity).getEquipmentInSlot(2) != null)if(((EntityLivingBase)event.entity).getEquipmentInSlot(2).getItem() instanceof ItemArmorDivingSuit)
			{
				double i = ((ItemArmorDivingSuit)((EntityLivingBase)event.entity).getEquipmentInSlot(2).getItem()).isMetal ? 1D : 2D;
				event.ammount = event.ammount*0.65F*(float)i;
				flag = true;
			}
			if(((EntityLivingBase)event.entity).getEquipmentInSlot(1) != null)if(((EntityLivingBase)event.entity).getEquipmentInSlot(1).getItem() instanceof ItemArmorDivingSuit)
			{
				double i = ((ItemArmorDivingSuit)((EntityLivingBase)event.entity).getEquipmentInSlot(1).getItem()).isMetal ? 0.9D : 2D;
				event.ammount = event.ammount*0.5F*(float)i;
				flag = true;
			}
			if(flag)
			{
				if(event.ammount < 2)
				{
					event.setCanceled(true);
				}
			}
		}
	}
	if(event.entity instanceof EntityPlayer && event.ammount >= 1 && !event.source.isDamageAbsolute())
	{
		EntityExtendedPlayer props = EntityExtendedPlayer.get((EntityPlayer)event.entity);
		props.setShieldsTimer(360);
		if(props.getMaxShields() > 0)
		{
			if(props.getCurrentShields() > 0)
			{
				props.consumeShields(event.ammount/2);
				if(props.getCurrentShields() > event.ammount/2)
				{
					event.ammount = 0;
					event.setCanceled(true);
				}
				else
				{
					event.ammount -= props.getCurrentShields()*2;
				}
			}
		}
	}
	if(event.source.getDamageType() == "arrow")
	{
		if(event.entity instanceof EntityPlayer)
		{
			if(((EntityLivingBase)event.entity).getHeldItem() != null)
			{
				EntityExtendedPlayer props = EntityExtendedPlayer.get((EntityPlayer)event.entity);
				if(props.hasPlasmid("ironsides") && ((EntityLivingBase)event.entity).getHeldItem().getItem() == BioshockMod.VigorIronsides && ((EntityLivingBase)event.entity).getHeldItem().stackTagCompound.getInteger("BulletShield") > 0)
				{
					((EntityPlayer)event.entity).inventory.addItemStackToInventory(new ItemStack(Items.arrow));
					event.setCanceled(true);
					((EntityLivingBase)event.entity).setVelocity(0, 0, 0);
					((EntityLivingBase)event.entity).setArrowCountInEntity(((EntityLivingBase)event.entity).getArrowCountInEntity()-1);
				}
				else if(props.hasPlasmid("returnToSender") && ((EntityLivingBase)event.entity).getHeldItem().getItem() == BioshockMod.VigorReturnToSender && ((EntityLivingBase)event.entity).getHeldItem().stackTagCompound.getInteger("BulletShield") > 0)
				{
					if(((EntityLivingBase)event.entity).getHeldItem().getItem() == BioshockMod.VigorReturnToSender)
					{
						((EntityLivingBase)event.entity).getHeldItem().stackTagCompound.setFloat("BulletShieldDamage", ((EntityLivingBase)event.entity).getHeldItem().stackTagCompound.getFloat("BulletShieldDamage")+event.ammount);
						((EntityLivingBase)event.entity).getHeldItem().stackTagCompound.setFloat("BulletShieldPower", ((EntityLivingBase)event.entity).getHeldItem().stackTagCompound.getFloat("BulletShieldPower")+0.3F);
						((EntityLivingBase)event.entity).getHeldItem().stackTagCompound.setFloat("BulletShieldSpeed", ((EntityLivingBase)event.entity).getHeldItem().stackTagCompound.getFloat("BulletShieldSpeed")+0.01F);
					}
					event.setCanceled(true);
					((EntityLivingBase)event.entity).setArrowCountInEntity(((EntityLivingBase)event.entity).getArrowCountInEntity()-1);
					((EntityLivingBase)event.entity).setVelocity(0, 0, 0);
				}
			}
		}
	}
	if(event.ammount < 1)
	{
		event.setCanceled(true);
	}
}

@SubscribeEvent
@SideOnly(Side.SERVER)
public void serverLoad(FMLServerStartingEvent event)
{
	event.registerServerCommand(new CommandSetCash());
}
}

http://www.planetminecraft.com/member/sigurd4

I'm making the bioshock mod!

Link to comment
Share on other sites

my mod class (again, i cant find any sound related stuff here or in the common proxy):

package com.sigurd4.Bioshock;

import java.awt.List;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.EntityList;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemArmor.ArmorMaterial;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.common.util.EnumHelper;
import net.minecraftforge.oredict.OreDictionary;
import net.minecraftforge.oredict.ShapedOreRecipe;

import com.sigurd4.Bioshock.blocks.BlockVendorUInvent;
import com.sigurd4.Bioshock.blocks.tileentity.TileEntityVendorUInvent;
import com.sigurd4.Bioshock.creativetab.CreativeTabsBioshockModConsumables;
import com.sigurd4.Bioshock.creativetab.CreativeTabsBioshockModConsumables2;
import com.sigurd4.Bioshock.creativetab.CreativeTabsBioshockModCore;
import com.sigurd4.Bioshock.creativetab.CreativeTabsBioshockModCraftingItems;
import com.sigurd4.Bioshock.creativetab.CreativeTabsBioshockModPlasmids;
import com.sigurd4.Bioshock.creativetab.CreativeTabsBioshockModWeapons;
import com.sigurd4.Bioshock.entity.monster.EntityBigDaddyBouncer;
import com.sigurd4.Bioshock.entity.monster.EntityMurderOfCrowsCrow;
import com.sigurd4.Bioshock.entity.monster.EntitySplicerThuggish;
import com.sigurd4.Bioshock.entity.plasmid.EntityElectroBoltProjectile;
import com.sigurd4.Bioshock.entity.plasmid.EntityElectroBoltWaterElectro;
import com.sigurd4.Bioshock.entity.plasmid.EntityEnrageProjectile;
import com.sigurd4.Bioshock.entity.plasmid.EntityHypnotizeBigDaddyProjectile;
import com.sigurd4.Bioshock.entity.plasmid.EntityIncinerateFlame;
import com.sigurd4.Bioshock.entity.plasmid.EntityIncinerateProjectile;
import com.sigurd4.Bioshock.entity.plasmid.EntityMurderOfCrowsProjectile;
import com.sigurd4.Bioshock.entity.plasmid.EntityReturnToSenderProjectile;
import com.sigurd4.Bioshock.entity.plasmid.EntityShockJockeyProjectile;
import com.sigurd4.Bioshock.entity.plasmid.EntityShockJockeyWaterElectro;
import com.sigurd4.Bioshock.entity.projectiles.EntityBullet;
import com.sigurd4.Bioshock.entity.projectiles.EntityGrenadeLauncherShell;
import com.sigurd4.Bioshock.entity.projectiles.EntityTennisBall;
import com.sigurd4.Bioshock.entity.projectiles.targeter.EntityTargeter;
import com.sigurd4.Bioshock.gui.GuiCraftingUInvent;
import com.sigurd4.Bioshock.items.ItemArmorDivingSuit;
import com.sigurd4.Bioshock.items.ItemArmorDivingSuitTank;
import com.sigurd4.Bioshock.items.ItemArmorMask;
import com.sigurd4.Bioshock.items.ItemAudioLog;
import com.sigurd4.Bioshock.items.ItemConsumable;
import com.sigurd4.Bioshock.items.ItemConsumableAlcohol;
import com.sigurd4.Bioshock.items.ItemConsumableCake;
import com.sigurd4.Bioshock.items.ItemDurabilityAmmo;
import com.sigurd4.Bioshock.items.ItemEveHypo;
import com.sigurd4.Bioshock.items.ItemGeneric;
import com.sigurd4.Bioshock.items.ItemInfiniteAmmoOrb;
import com.sigurd4.Bioshock.items.ItemInfiniteEveOrb;
import com.sigurd4.Bioshock.items.ItemInfusionHealth;
import com.sigurd4.Bioshock.items.ItemInfusionQuantumSuperposition;
import com.sigurd4.Bioshock.items.ItemInfusionSalts;
import com.sigurd4.Bioshock.items.ItemInfusionShields;
import com.sigurd4.Bioshock.items.ItemIngameGuide;
import com.sigurd4.Bioshock.items.ItemMoney;
import com.sigurd4.Bioshock.items.ItemPlasmidDrinkable;
import com.sigurd4.Bioshock.items.ItemPlasmidInjectable;
import com.sigurd4.Bioshock.items.ItemPlasmidInjectableSyringe;
import com.sigurd4.Bioshock.items.ItemTennisBall;
import com.sigurd4.Bioshock.items.ItemValuable;
import com.sigurd4.Bioshock.items.ItemWeaponGrenadeLauncher;
import com.sigurd4.Bioshock.items.ItemWeaponGrenadeLauncherReloading;
import com.sigurd4.Bioshock.items.ItemWeaponMelee;
import com.sigurd4.Bioshock.items.ItemWeaponPistol;
import com.sigurd4.Bioshock.items.ItemWeaponShotgun;
import com.sigurd4.Bioshock.items.ItemWeaponSkyHook;
import com.sigurd4.Bioshock.items.ItemWeaponTommyGun;
import com.sigurd4.Bioshock.items.ItemWeaponWrench;
import com.sigurd4.Bioshock.recipes.RecipeDivingSuitRefill;

import cpw.mods.fml.common.FMLCommonHandler;
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.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.network.NetworkRegistry;
import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
import cpw.mods.fml.common.registry.EntityRegistry;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.relauncher.Side;

@Mod(modid = References.MODID, version = References.VERSION)
public class BioshockMod
{

//Register entity
@SuppressWarnings({"rawtypes","unchecked"})
public static void registerEntity(Class entityClass, String name, int primaryColor, int secondaryColor)
{
	int entityID = EntityRegistry.findGlobalUniqueEntityId();

	EntityRegistry.registerGlobalEntityID(entityClass, name, entityID);
	EntityRegistry.registerModEntity(entityClass, name, entityID, instance, 64, 1, true);
	EntityList.entityEggs.put(Integer.valueOf(entityID), new EntityList.EntityEggInfo(entityID, primaryColor, secondaryColor));
}

//Register entity without egg
@SuppressWarnings({"rawtypes","unchecked"})
public static void registerEntityNoEgg(Class entityClass, String name)
{
	int entityID = EntityRegistry.findGlobalUniqueEntityId();

	EntityRegistry.registerGlobalEntityID(entityClass, name, entityID);
	EntityRegistry.registerModEntity(entityClass, name, entityID, instance, 64, 1, true);
}

@Instance(References.MODID)
public static BioshockMod instance;

public static SimpleNetworkWrapper network;

//Creative tabs
public static CreativeTabs tabBioshockModCore = new CreativeTabsBioshockModCore("bioshockModCore");
public static CreativeTabs tabBioshockModWeapons = new CreativeTabsBioshockModWeapons("bioshockModWeapons");
public static CreativeTabs tabBioshockModPlasmids = new CreativeTabsBioshockModPlasmids("bioshockModPlasmids");
public static CreativeTabs tabBioshockModCraftingItems = new CreativeTabsBioshockModCraftingItems("bioshockModCraftingItems");
public static CreativeTabs tabBioshockModConsumables = new CreativeTabsBioshockModConsumables("bioshockModConsumables");
public static CreativeTabs tabBioshockModConsumables2 = new CreativeTabsBioshockModConsumables2("bioshockModConsumables2");

//Items
//audiologs
public static Item AudiologAudioDiary = new ItemAudioLog(true).setUnlocalizedName("audiologAudioDiary").setTextureName("bioshock:audiolog_audio_diary");
public static Item AudiologVoxophone = new ItemAudioLog(false).setUnlocalizedName("audiologVoxophone").setTextureName("bioshock:audiolog_voxophone");
//injectable plasmids
public static Item PlasmidCycloneTrap = new ItemPlasmidInjectable("cycloneTrap","plasmidCycloneTrap",18,40,"Teach your enemies a lesson","they'll never forget",false);
public static Item PlasmidElectroBolt = new ItemPlasmidInjectable("electroBolt","plasmidElectroBolt",18,40,"Don't be a dolt - use Electro Bolt!",true);
public static Item PlasmidEnrage = new ItemPlasmidInjectable("enrage","plasmidEnrage",14,33,"Make your foes fight each other!",true);
public static Item PlasmidHypnotizeBigDaddy = new ItemPlasmidInjectable("hypnotizeBigDaddy","plasmidHypnotizeBigDaddy",200,48,"Watch as he fights to protect you.",false);
public static Item PlasmidIncinerate = new ItemPlasmidInjectable("incinerate","plasmidIncinerate",18,40,"Fire at your fingertips!",true);
public static Item PlasmidInsectSwarm = new ItemPlasmidInjectable("insectSwarm","plasmidInsectSwarm",18,40,"Nothing clears a room like","swarms of stinging bees.",false);
public static Item PlasmidSecurityBullseye = new ItemPlasmidInjectable("securityBullseye","plasmidSecurityBullseye",18,40,"Light them up!",false);
public static Item PlasmidSonicBoom = new ItemPlasmidInjectable("sonicBoom","plasmidSonicBoom",18,40,"When push comes to shove.",false);
public static Item PlasmidTargetDummy = new ItemPlasmidInjectable("targetDummy","plasmidTargetDummy",18,40,"They take the heat... so you","don't have to!",false);
public static Item PlasmidTelekinesis = new ItemPlasmidInjectable("telekinesis","plasmidTelekinesis",18,40,"Mind over matter!",false);
public static Item PlasmidWinterBlast = new ItemPlasmidInjectable("winterBlast","plasmidWinterBlast",18,40,"Give your foes the cold shoulder!",false);
public static Item PlasmidRescueLittleSister = new ItemPlasmidInjectable("rescueLittleSister","plasmidRescueLittleSister",0,0,"To save one life is to", "save the world entire.", false); 
//injectable plasmid syringes
public static Item PlasmidCycloneTrapSyringe = new ItemPlasmidInjectableSyringe("cycloneTrap","plasmidCycloneTrap");
public static Item PlasmidElectroBoltSyringe = new ItemPlasmidInjectableSyringe("electroBolt","plasmidElectroBolt");
public static Item PlasmidEnrageSyringe = new ItemPlasmidInjectableSyringe("enrage","plasmidEnrage");
public static Item PlasmidHypnotizeBigDaddySyringe = new ItemPlasmidInjectableSyringe("hypnotizeBigDaddy","plasmidHypnotizeBigDaddy");
public static Item PlasmidIncinerateSyringe = new ItemPlasmidInjectableSyringe("incinerate","plasmidIncinerate");
public static Item PlasmidInsectSwarmSyringe = new ItemPlasmidInjectableSyringe("insectSwarm","plasmidInsectSwarm");
public static Item PlasmidSecurityBullseyeSyringe = new ItemPlasmidInjectableSyringe("securityBullseye","plasmidSecurityBullseye");
public static Item PlasmidSonicBoomSyringe = new ItemPlasmidInjectableSyringe("sonicBoom","plasmidSonicBoom");
public static Item PlasmidTargetDummySyringe = new ItemPlasmidInjectableSyringe("targetDummy","plasmidTargetDummy");
public static Item PlasmidTelekinesisSyringe = new ItemPlasmidInjectableSyringe("telekinesis","plasmidTelekinesis");
public static Item PlasmidWinterBlastSyringe = new ItemPlasmidInjectableSyringe("winterBlast","plasmidWinterBlast");
public static Item PlasmidRescueLittleSisterSyringe = new ItemPlasmidInjectableSyringe("rescueLittleSister","plasmidRescueLittleSister");
//drinkable plasmids
public static Item PlasmidOldManWinter = new ItemPlasmidDrinkable("oldManWinter","plasmidOldManWinter","flask_plasmid_old_man_winter",28,53,"Freeze your foes with","this arctic ally!",false);
public static Item PlasmidPeepingTom = new ItemPlasmidDrinkable("peepingTom","plasmidPeepingTom","flask_plasmid_peeping_tom",28,53,"Turn every room into a peepshow!",false);
public static Item VigorBuckingBronco = new ItemPlasmidDrinkable("buckingBronco","vigorBuckingBronco","flask_vigor_bucking_bronco",28,53,"Break even the curliest wolf!",false);
public static Item VigorCharge = new ItemPlasmidDrinkable("charge","vigorCharge","flask_vigor_charge",28,53,"Blow your enemies away","with a powerful CHARGE!",false);
public static Item VigorDevilsKiss = new ItemPlasmidDrinkable("devilsKiss","vigorDevilsKiss","flask_vigor_devils_kiss",28,53,"Light the way!",false);
public static Item VigorIronsides = new ItemPlasmidDrinkable("ironsides","vigorIronsides","flask_vigor_ironsides",1,53,"Generate a bullet catching shield!",true);
public static Item VigorMurderOfCrows = new ItemPlasmidDrinkable("murderOfCrows","vigorMurderOfCrows","flask_vigor_murder_of_crows",28,53,"Proven deterrent against hooligans",true);
public static Item VigorPossession = new ItemPlasmidDrinkable("possession","vigorPossession","flask_vigor_possession",28,53,"Any STALLION can be TAMED",false);
public static Item VigorReturnToSender = new ItemPlasmidDrinkable("returnToSender","vigorReturnToSender","flask_vigor_return_to_sender",1,53,"Send your enemies' attacks","back where they came from!",true);
public static Item VigorShockJockey = new ItemPlasmidDrinkable("shockJockey","vigorShockJockey","flask_vigor_shock_jockey",28,53,"Who needs the power company?",true);
public static Item VigorUndertow = new ItemPlasmidDrinkable("undertow","vigorUndertow","flask_vigor_undertow",28,53,"Wash away your enemies!",false);
//infusions
public static Item InfusionHealth = new ItemInfusionHealth();
public static Item InfusionSalts = new ItemInfusionSalts();
public static Item InfusionShields = new ItemInfusionShields();
public static Item InfusionQuantumSuperposition = new ItemInfusionQuantumSuperposition();
//money
public static Item MoneyDollars = new ItemMoney().setUnlocalizedName("moneyDollars").setTextureName("bioshock:money_dollars");
public static Item MoneySilverEagles = new ItemMoney().setUnlocalizedName("moneySilverEagles").setTextureName("bioshock:money_silver_eagles");
//valuables
public static Item ValuableRaptureTeddyBear = new ItemValuable(1, 2, MoneyDollars).setUnlocalizedName("valuableTeddyBear").setTextureName("bioshock:valuable_teddy_bear");
public static Item ValuableRaptureRingDiamond = new ItemValuable(5, 15, MoneyDollars).setUnlocalizedName("valuableRing").setTextureName("bioshock:valuable_ring_diamond");
public static Item ValuableRaptureRingEmerald = new ItemValuable(5, 14, MoneyDollars).setUnlocalizedName("valuableRing").setTextureName("bioshock:valuable_ring_emerald");
public static Item ValuableRaptureRingEnderpearl = new ItemValuable(10, 14, MoneyDollars).setUnlocalizedName("valuableRing").setTextureName("bioshock:valuable_ring_enderpearl");
public static Item ValuableRaptureRingGlowstone = new ItemValuable(2, 13, MoneyDollars).setUnlocalizedName("valuableRing").setTextureName("bioshock:valuable_ring_glowstone");
public static Item ValuableRaptureRingGold = new ItemValuable(4, 10, MoneyDollars).setUnlocalizedName("valuableRing").setTextureName("bioshock:valuable_ring_gold");
public static Item ValuableRaptureRingPearl = new ItemValuable(3, 7, MoneyDollars).setUnlocalizedName("valuableRing").setTextureName("bioshock:valuable_ring_pearl");
public static Item ValuableRaptureRingPrismarine = new ItemValuable(7, 13, MoneyDollars).setUnlocalizedName("valuableRing").setTextureName("bioshock:valuable_ring_prismarine");
public static Item ValuableRaptureRingQuartz = new ItemValuable(3, 8, MoneyDollars).setUnlocalizedName("valuableRing").setTextureName("bioshock:valuable_ring_quartz");
public static Item ValuableRaptureRingRuby = new ItemValuable(4, 14, MoneyDollars).setUnlocalizedName("valuableRing").setTextureName("bioshock:valuable_ring_ruby");
public static Item ValuableRaptureRingSilver = new ItemValuable(7, 11, MoneyDollars).setUnlocalizedName("valuableRing").setTextureName("bioshock:valuable_ring_silver");
public static Item ValuableRaptureWatchGoldLeatherBlackStrip = new ItemValuable(6, 14, MoneyDollars).setUnlocalizedName("valuableWatch").setTextureName("bioshock:valuable_watch_gold_leather_black_strip");
public static Item ValuableRaptureWatchGoldLeatherBrown = new ItemValuable(6, 13, MoneyDollars).setUnlocalizedName("valuableWatch").setTextureName("bioshock:valuable_watch_gold_leather_brown");
public static Item ValuableRaptureWatchGoldLeatherDark = new ItemValuable(6, 14, MoneyDollars).setUnlocalizedName("valuableWatch").setTextureName("bioshock:valuable_watch_gold_leather_dark");
public static Item ValuableRaptureWatchGoldLeatherDarkWithSteel = new ItemValuable(6, 13, MoneyDollars).setUnlocalizedName("valuableWatch").setTextureName("bioshock:valuable_watch_gold_leather_dark_with_steel");
public static Item ValuableRaptureWatchGoldLeatherRed = new ItemValuable(6, 12, MoneyDollars).setUnlocalizedName("valuableWatch").setTextureName("bioshock:valuable_watch_gold_leather_red");
public static Item ValuableRaptureWatchPocketGold = new ItemValuable(2, 16, MoneyDollars).setUnlocalizedName("valuableWatch").setTextureName("bioshock:valuable_watch_pocket_gold");
public static Item ValuableRaptureWatchPocketSteelDark = new ItemValuable(1, 16, MoneyDollars).setUnlocalizedName("valuableWatch").setTextureName("bioshock:valuable_watch_pocket_steel_dark");
public static Item ValuableRaptureWatchSteelDark = new ItemValuable(6, 11, MoneyDollars).setUnlocalizedName("valuableWatch").setTextureName("bioshock:valuable_watch_steel_dark");
public static Item ValuableRaptureWatchSteelLeatherDarkWithGold = new ItemValuable(6, 10, MoneyDollars).setUnlocalizedName("valuableWatch").setTextureName("bioshock:valuable_watch_steel_leather_dark_with_gold");
public static Item ValuableRaptureWatchSteelLight = new ItemValuable(6, 10, MoneyDollars).setUnlocalizedName("valuableWatch").setTextureName("bioshock:valuable_watch_steel_light");
public static Item ValuableRaptureBraceletDiamond = new ItemValuable(5, 19, MoneyDollars).setUnlocalizedName("valuableBracelet").setTextureName("bioshock:valuable_bracelet_diamond");
public static Item ValuableRaptureBraceletEmerald = new ItemValuable(5, 17, MoneyDollars).setUnlocalizedName("valuableBracelet").setTextureName("bioshock:valuable_bracelet_emerald");
public static Item ValuableRaptureBraceletEmeraldGold = new ItemValuable(5, 18, MoneyDollars).setUnlocalizedName("valuableBracelet").setTextureName("bioshock:valuable_bracelet_emerald_gold");
public static Item ValuableRaptureBraceletGlowstone = new ItemValuable(4, 16, MoneyDollars).setUnlocalizedName("valuableBracelet").setTextureName("bioshock:valuable_bracelet_glowstone");
public static Item ValuableRaptureBraceletObsidian = new ItemValuable(6, 17, MoneyDollars).setUnlocalizedName("valuableBracelet").setTextureName("bioshock:valuable_bracelet_obsidian");
public static Item ValuableRaptureBraceletPearl = new ItemValuable(3, 13, MoneyDollars).setUnlocalizedName("valuableBracelet").setTextureName("bioshock:valuable_bracelet_pearl");
public static Item ValuableRaptureBraceletPearlBlue = new ItemValuable(3, 6, MoneyDollars).setUnlocalizedName("valuableBracelet").setTextureName("bioshock:valuable_bracelet_pearl_blue");
public static Item ValuableRaptureBraceletPearlGreen = new ItemValuable(3, 6, MoneyDollars).setUnlocalizedName("valuableBracelet").setTextureName("bioshock:valuable_bracelet_pearl_green");
public static Item ValuableRaptureBraceletPearlPink = new ItemValuable(3, 5, MoneyDollars).setUnlocalizedName("valuableBracelet").setTextureName("bioshock:valuable_bracelet_pearl_pink");
public static Item ValuableRaptureBraceletPrismarine = new ItemValuable(4, 16, MoneyDollars).setUnlocalizedName("valuableBracelet").setTextureName("bioshock:valuable_bracelet_prismarine");
public static Item ValuableRaptureBraceletRuby = new ItemValuable(5, 18, MoneyDollars).setUnlocalizedName("valuableBracelet").setTextureName("bioshock:valuable_bracelet_ruby");
public static Item ValuableRaptureLadiesShoeBeige = new ItemValuable(2, 5, MoneyDollars).setUnlocalizedName("valuableLadiesShoe").setTextureName("bioshock:valuable_ladies_shoe_beige");
public static Item ValuableRaptureLadiesShoeBlack = new ItemValuable(3, 5, MoneyDollars).setUnlocalizedName("valuableLadiesShoe").setTextureName("bioshock:valuable_ladies_shoe_black");
public static Item ValuableRaptureLadiesShoeBlue = new ItemValuable(2, 4, MoneyDollars).setUnlocalizedName("valuableLadiesShoe").setTextureName("bioshock:valuable_ladies_shoe_blue");
public static Item ValuableRaptureLadiesShoeGreen = new ItemValuable(2, 4, MoneyDollars).setUnlocalizedName("valuableLadiesShoe").setTextureName("bioshock:valuable_ladies_shoe_green");
public static Item ValuableRaptureLadiesShoePink = new ItemValuable(2, 4, MoneyDollars).setUnlocalizedName("valuableLadiesShoe").setTextureName("bioshock:valuable_ladies_shoe_pink");
public static Item ValuableRaptureLadiesShoeRed = new ItemValuable(3, 5, MoneyDollars).setUnlocalizedName("valuableLadiesShoe").setTextureName("bioshock:valuable_ladies_shoe_red");
public static Item ValuableRaptureLadiesShoeWhite = new ItemValuable(3, 5, MoneyDollars).setUnlocalizedName("valuableLadiesShoe").setTextureName("bioshock:valuable_ladies_shoe_white");
public static Item ValuableRaptureNecklaceDiamond = new ItemValuable(5, 25, MoneyDollars).setUnlocalizedName("valuableNecklace").setTextureName("bioshock:valuable_necklace_diamond");
public static Item ValuableRaptureNecklaceEmerald = new ItemValuable(5, 21, MoneyDollars).setUnlocalizedName("valuableNecklace").setTextureName("bioshock:valuable_necklace_emerald");
public static Item ValuableRaptureNecklaceGlowstone = new ItemValuable(3, 19, MoneyDollars).setUnlocalizedName("valuableNecklace").setTextureName("bioshock:valuable_necklace_glowstone");
public static Item ValuableRaptureNecklaceEnderpearl = new ItemValuable(11, 18, MoneyDollars).setUnlocalizedName("valuableNecklace").setTextureName("bioshock:valuable_necklace_enderpearl");
public static Item ValuableRaptureNecklaceObsidian = new ItemValuable(7, 23, MoneyDollars).setUnlocalizedName("valuableNecklace").setTextureName("bioshock:valuable_necklace_obsidian");
public static Item ValuableRaptureNecklacePearl = new ItemValuable(2, 12, MoneyDollars).setUnlocalizedName("valuableNecklace").setTextureName("bioshock:valuable_necklace_pearl");
public static Item ValuableRaptureNecklacePrismarine = new ItemValuable(4, 22, MoneyDollars).setUnlocalizedName("valuableNecklace").setTextureName("bioshock:valuable_necklace_prismarine");
public static Item ValuableRaptureNecklaceRuby = new ItemValuable(4, 24, MoneyDollars).setUnlocalizedName("valuableNecklace").setTextureName("bioshock:valuable_necklace_ruby");
public static Item ValuableRaptureDollBlue = new ItemValuable(1, 8, MoneyDollars).setUnlocalizedName("valuableDoll").setTextureName("bioshock:valuable_doll_blue");
public static Item ValuableRaptureDollGreen = new ItemValuable(1, 8, MoneyDollars).setUnlocalizedName("valuableDoll").setTextureName("bioshock:valuable_doll_green");
public static Item ValuableRaptureDollRed = new ItemValuable(1, 8, MoneyDollars).setUnlocalizedName("valuableDoll").setTextureName("bioshock:valuable_doll_red");
public static Item ValuableRaptureDollYellow = new ItemValuable(1, 8, MoneyDollars).setUnlocalizedName("valuableDoll").setTextureName("bioshock:valuable_doll_yellow");
public static Item ValuableRaptureGoldBarLarge = new ItemValuable(100, 100, MoneyDollars).setUnlocalizedName("valuableGoldBar").setTextureName("bioshock:valuable_gold_bar_large");
public static Item ValuableRaptureGoldBarSmall = new ItemValuable(50, 50, MoneyDollars).setUnlocalizedName("valuableGoldBar").setTextureName("bioshock:valuable_gold_bar_small");
//crafting items
public static Item CraftingItemPneumoHooks = new ItemGeneric().setUnlocalizedName("craftingItemPneumoHooks").setTextureName("bioshock:pneumo_hooks").setCreativeTab(BioshockMod.tabBioshockModCraftingItems);
public static Item CraftingItemGear = new ItemGeneric().setUnlocalizedName("craftingItemGear").setTextureName("bioshock:gear_steel").setCreativeTab(BioshockMod.tabBioshockModCraftingItems);
public static Item CraftingItemGearBronze = new ItemGeneric().setUnlocalizedName("craftingItemGearBronze").setTextureName("bioshock:gear_bronze").setCreativeTab(BioshockMod.tabBioshockModCraftingItems);
public static Item CraftingItemOpenedVacuumCleaner = new ItemGeneric().setUnlocalizedName("craftingItemOpenedVacuumCleaner").setTextureName("bioshock:opened_vacuum_cleaner").setCreativeTab(BioshockMod.tabBioshockModCraftingItems);
public static Item CraftingItemBrackets = new ItemGeneric().setUnlocalizedName("craftingItemBrackets").setTextureName("bioshock:brackets").setCreativeTab(BioshockMod.tabBioshockModCraftingItems);
public static Item CraftingItemSeaSlugCarcass = new ItemGeneric().setUnlocalizedName("craftingItemSeaSlugCarcass").setTextureName("bioshock:sea_slug_carcass").setCreativeTab(BioshockMod.tabBioshockModCraftingItems).setMaxStackSize(1);
public static Item CraftingItemSyringe = new ItemGeneric().setUnlocalizedName("craftingItemSyringe").setTextureName("bioshock:syringe").setCreativeTab(BioshockMod.tabBioshockModCraftingItems);
public static Item CraftingItemCupPorcelain = new ItemGeneric().setUnlocalizedName("craftingItemCupPorcelain").setTextureName("bioshock:empty_cup_porcelain").setCreativeTab(BioshockMod.tabBioshockModCraftingItems);
public static Item CraftingItemCup = new ItemGeneric().setUnlocalizedName("craftingItemCup").setTextureName("bioshock:empty_cup").setCreativeTab(BioshockMod.tabBioshockModCraftingItems);
public static Item CraftingItemEmptyShellCasing = new ItemGeneric().setUnlocalizedName("craftingItemEmptyShellCasing").setTextureName("bioshock:empty_shell_casing").setCreativeTab(BioshockMod.tabBioshockModCraftingItems);
public static Item CraftingItemShotgunShots = new ItemGeneric().setUnlocalizedName("craftingItemShotgunShots").setTextureName("bioshock:shotgun_shots").setCreativeTab(BioshockMod.tabBioshockModCraftingItems);
public static Item CraftingItemWires = new ItemGeneric().setUnlocalizedName("craftingItemWires").setTextureName("bioshock:wires").setCreativeTab(BioshockMod.tabBioshockModCraftingItems);
//consumables
//stuff that isn't considered a consumable in the bioshock games, but is here:
public static Item AdamInjectable = new ItemConsumable("injectable","adam",0,0,0,0.0F,24,0,null).setUnlocalizedName("adamInjectable").setTextureName("bioshock:syringe_adam").setCreativeTab(BioshockMod.tabBioshockModCore).setContainerItem(BioshockMod.CraftingItemSyringe);
public static Item EveInjectable = new ItemConsumable("injectable","eve",0,1000,0,0.0F,24,0,null).setUnlocalizedName("eveInjectable").setTextureName("bioshock:syringe_eve").setCreativeTab(BioshockMod.tabBioshockModCore).setContainerItem(BioshockMod.CraftingItemSyringe);
public static Item EveDrinkableSmall = new ItemConsumable("drink","eve",0,25,0,0.0F,16,0,"cork").setUnlocalizedName("eveDrinkableSmall").setTextureName("bioshock:flask_eve_small").setCreativeTab(BioshockMod.tabBioshockModCore);
public static Item EveDrinkableMedium = new ItemConsumable("drink","eve",0,50,0,0.0F,24,0,"cork").setUnlocalizedName("eveDrinkableMedium").setTextureName("bioshock:flask_eve_medium").setCreativeTab(BioshockMod.tabBioshockModCore);
public static Item EveDrinkableLarge = new ItemConsumable("drink","eve",0,100,0,0.0F,32,0,"cork").setUnlocalizedName("eveDrinkableLarge").setTextureName("bioshock:flask_eve_large").setCreativeTab(BioshockMod.tabBioshockModCore);
public static Item EveSaltsSmall = new ItemConsumable("drink","eve",0,25,0,0.0F,16,0,"cork").setUnlocalizedName("eveSaltsSmall").setTextureName("bioshock:flask_salts_small").setCreativeTab(BioshockMod.tabBioshockModCore);
public static Item EveSaltsMedium = new ItemConsumable("drink","eve",0,50,0,0.0F,24,0,"cork").setUnlocalizedName("eveSaltsMedium").setTextureName("bioshock:flask_salts_medium").setCreativeTab(BioshockMod.tabBioshockModCore);
public static Item EveSaltsLarge = new ItemConsumable("drink","eve",0,100,0,0.0F,32,0,"cork").setUnlocalizedName("eveSaltsLarge").setTextureName("bioshock:flask_salts_large").setCreativeTab(BioshockMod.tabBioshockModCore);
public static Item FirstAidKit = new ItemConsumable("medical","medkit",20,0,0,0.0F,24,0,"metal_box").setUnlocalizedName("firstAidKit").setTextureName("bioshock:first_aid_kit").setCreativeTab(BioshockMod.tabBioshockModCore);
public static Item MedicalKitSmall = new ItemConsumable("medical","medkit",9,0,0,0.0F,16,0,"zip").setUnlocalizedName("medicalKitSmall").setTextureName("bioshock:medical_kit_small").setCreativeTab(BioshockMod.tabBioshockModCore);
public static Item MedicalKitMedium = new ItemConsumable("medical","medkit",12,0,0,0.0F,24,0,"zip").setUnlocalizedName("medicalKitMedium").setTextureName("bioshock:medical_kit_medium").setCreativeTab(BioshockMod.tabBioshockModCore);
public static Item MedicalKitLarge = new ItemConsumable("medical","medkit",16,0,0,0.0F,32,0,"zip").setUnlocalizedName("medicalKitLarge").setTextureName("bioshock:medical_kit_large").setCreativeTab(BioshockMod.tabBioshockModCore);
//alcohol //public static Item Consumable = new Consumable("alcohol","",4,-10,0,1.5F,20,90).setUnlocalizedName("consumable").setTextureName("bioshock:consumable_");
public static Item ConsumableArcadiaMerlot = new ItemConsumableAlcohol("alcohol","arcadiaMerlot",4,-10,0,2.2F,32,220,"cork").setUnlocalizedName("consumableArcadiaMerlot").setTextureName("bioshock:consumable_arcadia_merlot");
public static Item ConsumableChecknyaVodka = new ItemConsumableAlcohol("alcohol","checknyaVodka",4,-10,0,1.5F,30,240,"cork").setUnlocalizedName("consumableChecknyaVodka").setTextureName("bioshock:consumable_checknya_vodka");
public static Item ConsumableFineGin = new ItemConsumableAlcohol("alcohol","fineGin",4,-10,0,0.5F,23,160,"cork").setUnlocalizedName("consumableFineGin").setTextureName("bioshock:consumable_fine_gin");
public static Item ConsumableLacanScotch = new ItemConsumableAlcohol("alcohol","lacanScotch",4,-10,0,0.5F,29,220,"cork").setUnlocalizedName("consumableLacanScotch").setTextureName("bioshock:consumable_lacan_scotch");
public static Item ConsumableMoonbeamAbsinthe = new ItemConsumableAlcohol("alcohol","moonbeamAbsinthe",-1000,1000,0,0.5F,29,ItemConsumable.nauseaTrigger,"cork").setUnlocalizedName("consumableMoonbeamAbsinthe").setTextureName("bioshock:consumable_moonbeam_absinthe");
public static Item ConsumableMoonshine = new ItemConsumableAlcohol("alcohol","moonshine",1000,-1000,0,8.9F,21,ItemConsumable.nauseaTrigger,"cork").setUnlocalizedName("consumableMoonshine").setTextureName("bioshock:consumable_moonshine");
public static Item ConsumableOldHarbingerBeer = new ItemConsumableAlcohol("alcohol","oldHarbingerBeer",4,-10,0,1.5F,20,140,"beer").setUnlocalizedName("consumableOldHarbingerBeer").setTextureName("bioshock:consumable_old_harbinger_beer");
public static Item ConsumableOldTomWhiskey = new ItemConsumableAlcohol("alcohol","oldTomWhiskey",4,-10,0,0.5F,20,180,"cork").setUnlocalizedName("consumableOldTomWhiskey").setTextureName("bioshock:consumable_old_tom_whiskey");
public static Item ConsumableRedRibbonBrandy = new ItemConsumableAlcohol("alcohol","redRibbonBrandy",4,-10,0,0.5F,32,190,"cork").setUnlocalizedName("consumableRedRibbonBrandy").setTextureName("bioshock:consumable_red_ribbon_brandy");
public static Item ConsumableTateMerlot = new ItemConsumableAlcohol("alcohol","tateMerlot",4,-10,0,1.5F,32,220,"cork").setUnlocalizedName("consumableTateMerlot").setTextureName("bioshock:consumable_tate_merlot");
public static Item ConsumableKingAbsinthe = new ItemConsumableAlcohol("alcohol","kingAbsinthe",-1000,1000,0,0.5F,29,ItemConsumable.nauseaTrigger,"cork").setUnlocalizedName("consumableKingAbsinthe").setTextureName("bioshock:consumable_king_absinthe").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableColumbiaLagerBeer = new ItemConsumableAlcohol("alcohol","columbiaLagerBeer",4,-10,0,1.5F,20,180,"beer").setUnlocalizedName("consumableColumbiaLagerBeer").setTextureName("bioshock:consumable_columbia_lager_beer").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableEmporianShippingBourbon = new ItemConsumableAlcohol("alcohol","emporianShippingBourbon",4,-10,0,0.9F,33,220,"cork").setUnlocalizedName("consumableEmporianShippingBourbon").setTextureName("bioshock:consumable_emporian_shipping_bourbon").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableSplendidChampionBrandy = new ItemConsumableAlcohol("alcohol","splendidChampionBrandy",4,-10,0,1.6F,23,200,"cork").setUnlocalizedName("consumableSplendidChampionBrandy").setTextureName("bioshock:consumable_splendid_champion_brandy").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableJeanDePickartChampagne = new ItemConsumableAlcohol("alcohol","jeanDePickartChampagne",4,-10,0,1.0F,32,240,"beer").setUnlocalizedName("consumableJeanDePickartChampagne").setTextureName("bioshock:consumable_jean_de_pickart_champagne").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableFinktonsSpecialDryGin = new ItemConsumableAlcohol("alcohol","finktonsSpecialDryGin",4,-10,0,1.1F,20,170,"cork").setUnlocalizedName("consumableFinktonsSpecialDryGin").setTextureName("bioshock:consumable_finktons_special_dry_gin").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableUnknownBooze = new ItemConsumableAlcohol("alcohol","unknownBooze",1000,-1000,0,8.9F,21,ItemConsumable.nauseaTrigger,"lid").setUnlocalizedName("consumableUnknownBooze").setTextureName("bioshock:consumable_unknown_booze").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableVillavicencioVermouth = new ItemConsumableAlcohol("alcohol","villavicencioVermouth",4,-10,0,1.3F,30,220,"cork").setUnlocalizedName("consumableVillavicencioVermouth").setTextureName("bioshock:consumable_villavicencio_vermouth").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableColumbia1830RyeWhiskey = new ItemConsumableAlcohol("alcohol","columbia1830RyeWhiskey",4,-10,0,1.8F,33,240,"cork").setUnlocalizedName("consumableColumbia1830RyeWhiskey").setTextureName("bioshock:consumable_columbia_1830_rye_whiskey").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableVictorValleyWine = new ItemConsumableAlcohol("alcohol","victorValleyWine",4,-10,0,2.0F,32,210,"cork").setUnlocalizedName("consumableVictorValleyWine").setTextureName("bioshock:consumable_victor_valley_wine").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
//drink //public static Item Consumable = new Consumable("drink","",0,10,0,0.3F,20,0).setUnlocalizedName("consumable").setTextureName("bioshock:consumable_");
public static Item ConsumableCoffeeThermos = new ItemConsumable("drink","coffeeThermos",0,12,0,0.3F,29,0,"thermos").setUnlocalizedName("consumableCoffeeThermos").setTextureName("bioshock:consumable_thermos").setContainerItem(BioshockMod.ConsumableCoffeeThermos);
public static Item ConsumableRaptureCoffeeTin = new ItemConsumable("drink","raptureCoffeeTin",0,12,0,0.3F,28,0,"tin").setUnlocalizedName("consumableRaptureCoffeeTin").setTextureName("bioshock:consumable_rapture_coffee");
public static Item ConsumableCoffeeCupPorcelain = new ItemConsumable("drink","coffeeCupPorcelain",0,12,0,0.3F,15,0,null).setUnlocalizedName("consumableCoffeeCupPorcelain").setTextureName("bioshock:consumable_coffee_cup_porcelain").setContainerItem(BioshockMod.CraftingItemCupPorcelain);
public static Item ConsumableTeaThermos = new ItemConsumable("drink","teaThermos",0,9,0,0.5F,29,0,"thermos").setUnlocalizedName("consumableTeaThermos").setTextureName("bioshock:consumable_thermos").setContainerItem(BioshockMod.ConsumableCoffeeThermos);
public static Item ConsumableTeaCupPorcelain = new ItemConsumable("drink","teaCupPorcelain",0,9,0,0.5F,15,0,null).setUnlocalizedName("consumableTeaCupPorcelain").setTextureName("bioshock:consumable_tea_cup_porcelain").setContainerItem(BioshockMod.CraftingItemCupPorcelain);
public static Item ConsumableFreshWater = new ItemConsumable("drink","freshWater",3,0,0,0.8F,20,0,"cork").setUnlocalizedName("consumableFreshWater").setTextureName("bioshock:consumable_fresh_water").setContainerItem(Items.glass_bottle);
public static Item ConsumableHopUpCola = new ItemConsumable("drink","hopUpCola",0,10,0,0.1F,20,0,"soda").setUnlocalizedName("consumableHopUpCola").setTextureName("bioshock:consumable_hop_up_cola");
public static Item ConsumableMilkBottle = new ItemConsumable("drink","milkBottle",3,0,0,0.8F,20,0,"cork").setUnlocalizedName("consumableMilkBottle").setTextureName("bioshock:consumable_milk_bottle").setContainerItem(Items.glass_bottle);
public static Item ConsumableColumbiaCoffeeTin = new ItemConsumable("drink","columbiaCoffeeTin",0,12,0,0.3F,28,0,"tin").setUnlocalizedName("consumableColumbiaCoffeeTin").setTextureName("bioshock:consumable_columbia_coffee").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableCoffeeCup = new ItemConsumable("drink","coffeeCup",0,12,0,0.3F,15,0,null).setUnlocalizedName("consumableCoffeeCup").setTextureName("bioshock:consumable_coffee_cup").setCreativeTab(BioshockMod.tabBioshockModConsumables2).setContainerItem(BioshockMod.CraftingItemCup);
public static Item ConsumablePapDrinkSoda = new ItemConsumable("drink","papDrinkSoda",0,10,0,0.1F,20,0,"soda").setUnlocalizedName("consumablePapDrinkSoda").setTextureName("bioshock:consumable_pap_drink_soda").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableTeaCup = new ItemConsumable("drink","teaCup",0,9,0,0.5F,15,0,null).setUnlocalizedName("consumableTeaCup").setTextureName("bioshock:consumable_tea_cup").setCreativeTab(BioshockMod.tabBioshockModConsumables2).setContainerItem(BioshockMod.CraftingItemCup);
//food //public static Item Consumable = new Consumable("food","",4,0,4,0.0F,32,0).setUnlocalizedName("consumable").setTextureName("bioshock:consumable_");
public static Item ConsumableCrackers = new ItemConsumable("food","crackers",3,0,0,0.3F,12,0,null).setUnlocalizedName("consumableCrackers").setTextureName("bioshock:consumable_crackers");
public static Item ConsumableCremeFilledCake = new ItemConsumableCake(Blocks.cake/*BioshockMod.CremeFilledCake*/).setUnlocalizedName(/*"consumableCremeFilledCake"*/"DO NOT USE!").setTextureName("bioshock:consumable_creme_filled_cake");
public static Item ConsumableCannedBeans = new ItemConsumable("food","cannedBeans",4,0,5,4.8F,32,0,"tin").setUnlocalizedName("consumableCannedBeans").setTextureName("bioshock:consumable_canned_beans");
public static Item ConsumableCannedFruit = new ItemConsumable("food","cannedFruit",4,0,3,0.9F,32,0,"tin").setUnlocalizedName("consumableCannedFruit").setTextureName("bioshock:consumable_canned_fruit");
public static Item ConsumableSardines = new ItemConsumable("food","Sardines",4,0,4,3.6F,26,0,"tin").setUnlocalizedName("consumableSardines").setTextureName("bioshock:consumable_sardines");
public static Item ConsumablePepBar = new ItemConsumable("food","pepBar",4,8,2,0.1F,14,0,"paper").setUnlocalizedName("consumablePepBar").setTextureName("bioshock:consumable_pep_bar");
public static Item ConsumableSaltysPotatoChips = new ItemConsumable("food","SaltysPotatoChips",4,0,2,0.2F,26,0,"paper").setUnlocalizedName("consumableSaltysPotatoChips").setTextureName("bioshock:consumable_potato_chips");
public static Item ConsumablePottedMeat = new ItemConsumable("food","PottedMeat",4,0,8,6.2F,32,0,"tin").setUnlocalizedName("consumablePottedMeat").setTextureName("bioshock:consumable_potted_meat");
public static Item ConsumableBread = new ItemConsumable("food","bread",4,0,5,0.7F,32,0,null).setUnlocalizedName("consumableBread").setTextureName("bioshock:consumable_bread").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableApple = new ItemConsumable("food","apple",3,0,4,0.3F,24,0,null).setUnlocalizedName("consumableApple").setTextureName("bioshock:consumable_apple").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableAppleRotten = new ItemConsumable("food","appleRotten",-3,0,4,0.3F,24,0,null).setUnlocalizedName("consumableAppleRotten").setTextureName("bioshock:consumable_apple_rotten").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableBanana = new ItemConsumable("food","banana",3,0,3,0.4F,20,0,"peel_banana").setUnlocalizedName("consumableBanana").setTextureName("bioshock:consumable_banana").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableBananaRotten = new ItemConsumable("food","bananaRotten",-3,0,3,0.4F,20,0,"peel_banana").setUnlocalizedName("consumableBananaRotten").setTextureName("bioshock:consumable_banana_rotten").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableLoaf = new ItemConsumable("food","bread",4,0,5,0.6F,32,0,null).setUnlocalizedName("consumableLoaf").setTextureName("bioshock:consumable_loaf").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableFinktonsBakedBeans = new ItemConsumable("food","finktonsBakedBeans",4,0,5,4.8F,32,0,"tin").setUnlocalizedName("consumableFinktonsBakedBeans").setTextureName("bioshock:consumable_finktons_baked_beans").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableChocos = new ItemConsumable("food","chocos",4,0,2,0.1F,14,0,"paper").setUnlocalizedName("consumableChocos").setTextureName("bioshock:consumable_chocos").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableChocolateCake = new ItemConsumableCake(Blocks.cake/*BioshockMod.ChocolateCake*/).setUnlocalizedName(/*"consumableChocolateCake"*/"DO NOT USE!").setTextureName("bioshock:consumable_chocolate_cake").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableColumbiaWheatCereal = new ItemConsumable("food","columbiaWheatCereal",4,0,4,0.1F,25,0,null).setUnlocalizedName("consumableColumbiaWheatCereal").setTextureName("bioshock:consumable_columbia_wheat_cereal").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableCheeseWheel = new ItemConsumableCake(Blocks.cake/*BioshockMod.CheeseWheel*/).setUnlocalizedName(/*"consumableCheeseWheel"*/"DO NOT USE!").setTextureName("bioshock:consumable_cheese_wheel").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableMaize = new ItemConsumable("food","maize",3,0,1,0.9F,28,0,null).setUnlocalizedName("consumableMaize").setTextureName("bioshock:consumable_maize").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableMaizeRotten = new ItemConsumable("food","maizeRotten",-3,0,1,0.9F,28,0,null).setUnlocalizedName("consumableMaizeRotten").setTextureName("bioshock:consumable_maize_rotten").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableCottonCandy = new ItemConsumable("food","cottonCandy",3,0,1,0.0F,29,0,null).setUnlocalizedName("consumableCottonCandy").setTextureName("bioshock:consumable_cotton_candy").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableConfectBox = new ItemConsumable("food","confectBox",4,0,1,0.1F,25,0,null).setUnlocalizedName("consumableConfectBox").setTextureName("bioshock:consumable_confect_box").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableHotDog = new ItemConsumable("food","hotDog",3,0,5,5.6F,26,0,null).setUnlocalizedName("consumableHotDog").setTextureName("bioshock:consumable_hot_dog").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumablePickles = new ItemConsumable("food","pickles",3,0,2,2.1F,23,0,"cork").setUnlocalizedName("consumablePickles").setTextureName("bioshock:consumable_pickles").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableOrange = new ItemConsumable("food","orange",3,0,4,0.3F,24,0,"peel_orange").setUnlocalizedName("consumableOrange").setTextureName("bioshock:consumable_orange").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableOrangeRotten = new ItemConsumable("food","orangeRotten",-3,0,4,0.3F,24,0,"peel_orange").setUnlocalizedName("consumableOrangeRotten").setTextureName("bioshock:consumable_orange_rotten").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumablePeanuts = new ItemConsumable("food","peanuts",3,0,2,1.5F,19,0,"paper").setUnlocalizedName("consumablePeanuts").setTextureName("bioshock:consumable_peanuts").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumablePear = new ItemConsumable("food","pear",3,0,4,0.3F,23,0,null).setUnlocalizedName("consumablePear").setTextureName("bioshock:consumable_pear").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumablePearRotten = new ItemConsumable("food","pearRotten",-3,0,4,0.3F,23,0,null).setUnlocalizedName("consumablePearRotten").setTextureName("bioshock:consumable_pear_rotten").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumablePineapple = new ItemConsumable("food","pineapple",3,0,4,0.3F,25,0,null).setUnlocalizedName("consumablePineapple").setTextureName("bioshock:consumable_pineapple").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumablePineappleRotten = new ItemConsumable("food","pineappleRotten",-3,0,4,0.3F,25,0,null).setUnlocalizedName("consumablePineappleRotten").setTextureName("bioshock:consumable_pineapple_rotten").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableColumbiasBestPopcorn = new ItemConsumable("food","columbiasBestPopcorn",3,0,1,0.8F,24,0,null).setUnlocalizedName("consumableColumbiasBestPopcorn").setTextureName("bioshock:consumable_columbias_best_popcorn").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumablePotato = new ItemConsumable("food","potato",1,0,4,2.8F,18,0,null).setUnlocalizedName("consumablePotato").setTextureName("bioshock:consumable_potato").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableHarvaysPotatoChips = new ItemConsumable("food","harvaysPotatoChips",4,0,2,0.2F,26,0,"paper").setUnlocalizedName("consumableHarvaysPotatoChips").setTextureName("bioshock:consumable_harvays_potato_chips").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableFinktonRations = new ItemConsumable("food","finktonRations",3,0,5,5.1F,32,0,"metal_box").setUnlocalizedName("consumableFinktonRations").setTextureName("bioshock:consumable_finkton_rations").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableSandwich = new ItemConsumable("food","sandwich",4,0,2,7.3F,23,0,null).setUnlocalizedName("consumableSandwich").setTextureName("bioshock:consumable_sandwich").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableColumbiaBrandSardines = new ItemConsumable("food","columbiaBrandSardines",4,0,4,3.2F,23,0,"tin").setUnlocalizedName("consumableColumbiaBrandSardines").setTextureName("bioshock:consumable_columbia_brand_sardines").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableFinktonCannedSpinach = new ItemConsumable("food","finktonCannedSpinach",4,0,3,1.3F,26,0,"tin").setUnlocalizedName("consumableFinktonCannedSpinach").setTextureName("bioshock:consumable_finkton_canned_spinach").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableFinktonsTomatoSoup = new ItemConsumable("food","finktonsTomatoSoup",4,0,4,0.5F,25,0,"tin").setUnlocalizedName("consumableFinktonsTomatoSoup").setTextureName("bioshock:consumable_finktons_tomato_soup").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableWatermelon = new ItemConsumable("food","watermelon",4,0,4,0.2F,35,0,null).setUnlocalizedName("consumableWatermelon").setTextureName("bioshock:consumable_watermelon").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableWatermelonRotten = new ItemConsumable("food","watermelonRotten",-4,0,4,0.2F,35,0,null).setUnlocalizedName("consumableWatermelonRotten").setTextureName("bioshock:consumable_watermelon_rotten").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
public static Item ConsumableWhiteOatsCereal = new ItemConsumable("food","whiteOatsCereal",4,0,4,0.1F,26,0,null).setUnlocalizedName("consumableWhiteOatsCereal").setTextureName("bioshock:consumable_white_oats_cereal").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
//tobacco //public static Item Consumable = new Consumable("tobacco","",-1,4,0,0.0F,32,0).setUnlocalizedName("consumable").setTextureName("bioshock:consumable_");
public static Item ConsumableNicoTimeCigarettes = new ItemConsumable("tobacco","nicoTimeCigarettes",-2,4,0,0.0F,12,0,"lighter").setUnlocalizedName("consumableNicoTimeCigarettes").setTextureName("bioshock:consumable_nico_time_cigarettes");
public static Item ConsumableOxfordClubCigarettes = new ItemConsumable("tobacco","oxfordClubCigarettes",-2,4,0,0.0F,12,0,"lighter").setUnlocalizedName("consumableOxfordClubCigarettes").setTextureName("bioshock:consumable_oxford_club_cigarettes");
public static Item ConsumablePipe = new ItemConsumable("tobacco","pipe",-2,5,0,0.0F,24,0,"lighter").setUnlocalizedName("consumablePipe").setTextureName("bioshock:consumable_pipe");
public static Item ConsumableColumbiaCigarettes = new ItemConsumable("tobacco","columbiaCigarettes",-2,4,0,0.0F,12,0,"lighter").setUnlocalizedName("consumableColumbiaCigarettes").setTextureName("bioshock:consumable_columbia_cigarettes").setCreativeTab(BioshockMod.tabBioshockModConsumables2);
//medical //public static Item Consumable = new Consumable("medical","",2,0,0,0.0F,64,0).setUnlocalizedName("consumable").setTextureName("bioshock:consumable_");
public static Item ConsumableAspirin = new ItemConsumable("medical","aspirin",0,10,0,0.0F,10,100,"cork").setUnlocalizedName("consumableAspirin").setTextureName("bioshock:consumable_aspirin");
public static Item ConsumableBandages = new ItemConsumable("medical","bandages",4,0,0,0.0F,1,0,null).setUnlocalizedName("consumableBandages").setTextureName("bioshock:consumable_bandages");
public static Item ConsumableCureAll = new ItemConsumable("medical","cureAll",1,8,0,0.0F,25,0,"lid").setUnlocalizedName("consumableCureAll").setTextureName("bioshock:consumable_cure_all");
public static Item ConsumableVitamins = new ItemConsumable("medical","vitamins",2,0,0,0.2F,9,0,"cork").setUnlocalizedName("consumableVitamins").setTextureName("bioshock:consumable_vitamins");
//ammunition
public static Item WeaponPistolAmmoStandard = new ItemDurabilityAmmo(6).setUnlocalizedName("weaponPistolAmmoStandard").setTextureName("bioshock:pistol_ammo_standard").setCreativeTab(BioshockMod.tabBioshockModWeapons);
public static Item WeaponPistolAmmoArmorPiercing = new ItemDurabilityAmmo(6).setUnlocalizedName("weaponPistolAmmoArmorPiercing").setTextureName("bioshock:pistol_ammo_armor_piercing").setCreativeTab(BioshockMod.tabBioshockModWeapons);
public static Item WeaponPistolAmmoAntipersonnel = new ItemDurabilityAmmo(6).setUnlocalizedName("weaponPistolAmmoAntipersonnel").setTextureName("bioshock:pistol_ammo_antipersonnel").setCreativeTab(BioshockMod.tabBioshockModWeapons);
public static Item WeaponShotgunAmmo00 = new ItemGeneric().setUnlocalizedName("weaponShotgunAmmo00").setTextureName("bioshock:shotgun_ammo_00").setCreativeTab(BioshockMod.tabBioshockModWeapons);
public static Item WeaponShotgunAmmoElectric = new ItemGeneric().setUnlocalizedName("weaponShotgunAmmoElectric").setTextureName("bioshock:shotgun_ammo_electric").setCreativeTab(BioshockMod.tabBioshockModWeapons);
public static Item WeaponShotgunAmmoExploding = new ItemGeneric().setUnlocalizedName("weaponShotgunAmmoExploding").setTextureName("bioshock:shotgun_ammo_exploding").setCreativeTab(BioshockMod.tabBioshockModWeapons);
public static Item WeaponShotgunAmmoSolidSlug = new ItemGeneric().setUnlocalizedName("weaponShotgunAmmoSolidSlug").setTextureName("bioshock:shotgun_ammo_solid_slug").setCreativeTab(BioshockMod.tabBioshockModWeapons);
public static Item WeaponAutoAmmoStandard = new ItemDurabilityAmmo(30).setUnlocalizedName("weaponAutoAmmoStandard").setTextureName("bioshock:auto_ammo_standard").setCreativeTab(BioshockMod.tabBioshockModWeapons);
public static Item WeaponAutoAmmoAntipersonnel = new ItemDurabilityAmmo(30).setUnlocalizedName("weaponAutoAmmoAntipersonnel").setTextureName("bioshock:auto_ammo_antipersonnel").setCreativeTab(BioshockMod.tabBioshockModWeapons);
public static Item WeaponAutoAmmoArmorPiercing = new ItemDurabilityAmmo(30).setUnlocalizedName("weaponAutoAmmoArmorPiercing").setTextureName("bioshock:auto_ammo_armor_piercing").setCreativeTab(BioshockMod.tabBioshockModWeapons);
public static Item WeaponGrenadeLauncherAmmo = new ItemGeneric().setUnlocalizedName("weaponGrenadeLauncherAmmo").setTextureName("bioshock:grenade_launcher_ammo_frag").setCreativeTab(BioshockMod.tabBioshockModWeapons);
//weapons
public static Item WeaponSkyHook = new ItemWeaponSkyHook(6, true, "bioshock:item.weapon.pistol.cock");
public static Item WeaponAirGrabber = new ItemWeaponSkyHook(6, false, "bioshock:item.weapon.pistol.cock").setUnlocalizedName("weaponAirGrabber").setTextureName("bioshock:air_grabber");
public static String[] WeaponPistolRaptureAmmoTypes = {"Standard","ArmorPiercing","Antipersonnel"};
public static Item WeaponPistolRapture = new ItemWeaponPistol(6, 24, 4, 1F, 4.6F, 10, 0.39F, "Damage", "Clip", WeaponPistolRaptureAmmoTypes);
public static String[] WeaponShotgunRaptureAmmoTypes = {"00", "Electric", "Exploding", "SolidSlug"};
public static Item WeaponShotgunRapture = new ItemWeaponShotgun(4, 24, 8, 43.5F, 7.5F, 12, 0.1F, "Fire Rate", "Damage", WeaponShotgunRaptureAmmoTypes);
public static String[] WeaponMachineGunRaptureAmmoTypes = {"Standard","Antipersonnel","ArmorPiercing"};
public static Item WeaponMachineGunRapture = new ItemWeaponTommyGun(30, 3, 8.6F, 3.6F, 2.3F, 22, 0.31F, "Recoil Reduction","Damage", WeaponMachineGunRaptureAmmoTypes);
public static Item WeaponGrenadeLauncher = new ItemWeaponGrenadeLauncher(0,6,0); public static Item WeaponGrenadeLauncherReloading = new ItemWeaponGrenadeLauncherReloading();
public static Item WeaponWrench = new ItemWeaponWrench(6.3F, 0, "bioshock:item.weapon.pistol.cock").setUnlocalizedName("weaponWrench").setTextureName("bioshock:wrench");
public static Item WeaponPipe = new ItemWeaponMelee(5.0F, 5, "bioshock:item.weapon.pistol.cock").setUnlocalizedName("weaponPipe").setTextureName("bioshock:pipe");
public static Item TennisBall = new ItemTennisBall(0.5F);
//armour
//diving suits
public static Item OxygenTank = new ItemGeneric().setUnlocalizedName("oxygenTank").setTextureName("bioshock:oxygen_tank");
public static ArmorMaterial DIVING_SUIT_METAL = EnumHelper.addArmorMaterial("DIVING_SUIT_METAL", 16, new int[]{4, 6, 5, 3}, 0);
public static ArmorMaterial DIVING_SUIT_CLOTH = EnumHelper.addArmorMaterial("DIVING_SUIT_CLOTH", 7, new int[]{1, 2, 1, 0}, 0);
public static Item DivingSuitHelmet = new ItemArmorDivingSuit(DIVING_SUIT_METAL, 0, 0, "diving_suit_helmet", "diving_suit_3", true).setUnlocalizedName("divingSuitHelmet");
public static Item DivingSuitUpperBody = new ItemArmorDivingSuit(DIVING_SUIT_CLOTH, 0, 1, "diving_suit_upper_body", false).setUnlocalizedName("divingSuitUpperBody").setCreativeTab(null);
public static Item DivingSuitLowerBody = new ItemArmorDivingSuit(DIVING_SUIT_CLOTH, 0, 2, "diving_suit_lower_body", false).setUnlocalizedName("divingSuitLowerBody");
public static Item DivingSuitBoots = new ItemArmorDivingSuit(DIVING_SUIT_METAL, 0, 3, "diving_suit_boots", true).setUnlocalizedName("divingSuitBoots");
public static Item DivingSuitUpperBodyTank = new ItemArmorDivingSuitTank((ItemArmorDivingSuit)BioshockMod.DivingSuitHelmet, (ItemArmorDivingSuit)BioshockMod.DivingSuitUpperBody, (ItemArmorDivingSuit)BioshockMod.DivingSuitLowerBody, (ItemArmorDivingSuit)BioshockMod.DivingSuitBoots).setUnlocalizedName("divingSuitUpperBody");
//splicer masks //public static Item Mask = new net.minecraft.item.ItemArmor(MASK, 0, 0).setUnlocalizedName("mask").setTextureName("bioshock:mask_");
public static ArmorMaterial MASK = EnumHelper.addArmorMaterial("MASK", 2, new int[]{0, 0, 0, 0}, 0);
public static ArmorMaterial MASKWOODEN = EnumHelper.addArmorMaterial("MASKWOODEN", 2, new int[]{1, 0, 0, 0}, 0);
public static ArmorMaterial MASKIRON = EnumHelper.addArmorMaterial("MASKIRON", 2, new int[]{3, 0, 0, 0}, 0);
public static Item MaskBox = new ItemArmorMask(MASKWOODEN, 0, "box", "box").setUnlocalizedName("maskBox");
public static Item MaskButterflyPink = new ItemArmorMask(MASK, 0, "butterfly_pink", "mask_1").setUnlocalizedName("maskButterflyPink");
public static Item MaskButterflyWhite = new ItemArmorMask(MASK, 0, "butterfly_white", "mask_1").setUnlocalizedName("maskButterflyWhite");
public static Item MaskCatBlack = new ItemArmorMask(MASK, 0, "cat_black", "mask_2").setUnlocalizedName("maskCatBlack");
public static Item MaskCatBlackBroken = new ItemArmorMask(MASK, 0, "cat_black_broken", "mask_2").setUnlocalizedName("maskCatBlack");
public static Item MaskCatGolden = new ItemArmorMask(MASK, 0, "cat_golden", "mask_2").setUnlocalizedName("maskCatGolden");
public static Item MaskCatGoldenBroken = new ItemArmorMask(MASK, 0, "cat_golden_broken", "mask_2").setUnlocalizedName("maskCatGolden");
public static Item MaskCatWhite = new ItemArmorMask(MASK, 0, "cat_white", "mask_2").setUnlocalizedName("maskCatWhite");
public static Item MaskCatWhiteBroken = new ItemArmorMask(MASK, 0, "cat_white_broken", "mask_2").setUnlocalizedName("maskCatWhite");
public static Item MaskPlagueDoctor = new ItemArmorMask(MASK, 0, "plague_doctor", "mask_2").setUnlocalizedName("maskPlagueDoctor");
public static Item MaskPlagueDoctorBroken = new ItemArmorMask(MASK, 0, "plague_doctor_broken", "mask_2").setUnlocalizedName("maskPlagueDoctor");
public static Item MaskRabbitBlack = new ItemArmorMask(MASK, 0, "rabbit_black", "mask_2").setUnlocalizedName("maskRabbitBlack");
public static Item MaskRabbitBlackBroken = new ItemArmorMask(MASK, 0, "rabbit_black_broken", "mask_2").setUnlocalizedName("maskRabbitBlack");
public static Item MaskRabbitGolden = new ItemArmorMask(MASK, 0, "rabbit_golden", "mask_2").setUnlocalizedName("maskRabbitGolden");
public static Item MaskRabbitGoldenBroken = new ItemArmorMask(MASK, 0, "rabbit_golden_broken", "mask_2").setUnlocalizedName("maskRabbitGolden");
public static Item MaskRabbitGoldenBrokenEye = new ItemArmorMask(MASK, 0, "rabbit_golden_broken_eye", "mask_2").setUnlocalizedName("maskRabbitGolden");
public static Item MaskRabbitWhite = new ItemArmorMask(MASK, 0, "rabbit_white", "mask_2").setUnlocalizedName("maskRabbitWhite");
public static Item MaskRabbitWhiteBleach = new ItemArmorMask(MASK, 0, "rabbit_white_bleach", "mask_2").setUnlocalizedName("maskRabbitWhite");
public static Item MaskRabbitWhiteBroken = new ItemArmorMask(MASK, 0, "rabbit_white_broken", "mask_2").setUnlocalizedName("maskRabbitWhite");
public static Item MaskSaturnineBush = new ItemArmorMask(MASKWOODEN, 0, "saturnine_bush", "mask_1").setUnlocalizedName("maskSaturnine");
public static Item MaskSaturnineHuman = new ItemArmorMask(MASKWOODEN, 0, "saturnine_human", "mask_1").setUnlocalizedName("maskSaturnine");
public static Item MaskSaturnineSkull = new ItemArmorMask(MASKWOODEN, 0, "saturnine_skull", "mask_2").setUnlocalizedName("maskSaturnine");
public static Item MaskSaturnineTeeth = new ItemArmorMask(MASKWOODEN, 0, "saturnine_teeth", "mask_1").setUnlocalizedName("maskSaturnine");
public static Item MaskSimpleGreen = new ItemArmorMask(MASK, 0, "simple_green", "mask_2").setUnlocalizedName("maskSimpleGreen");
public static Item MaskSimpleGreenBroken = new ItemArmorMask(MASK, 0, "simple_green_broken", "mask_2").setUnlocalizedName("maskSimpleGreen");
public static Item MaskSimpleRed = new ItemArmorMask(MASK, 0, "simple_red", "mask_2").setUnlocalizedName("maskSimpleRed");
public static Item MaskSimpleRedBroken = new ItemArmorMask(MASK, 0, "simple_red_broken", "mask_2").setUnlocalizedName("maskSimpleRed");
public static Item MaskSimpleWhite = new ItemArmorMask(MASK, 0, "simple_white", "mask_2").setUnlocalizedName("maskSimpleWhite");
public static Item MaskSimpleWhiteBroken = new ItemArmorMask(MASK, 0, "simple_white_broken", "mask_2").setUnlocalizedName("maskSimpleWhite");
public static Item MaskWelder = new ItemArmorMask(MASKIRON, 0, "welder", "welder").setUnlocalizedName("maskWelder");
public static Item MaskWelderRusty = new ItemArmorMask(MASKIRON, 0, "welder_rusty", "welder").setUnlocalizedName("maskWelder");
//ingame guides
public static String[] IngameGuideWeaponsPages =
	{
	"§oThere are a variety of weapons in my mod. Some are ranged, some are not. In this book you will find some information on how to use them.   §7(This is a prototype for how the instructions could be in the final mod. Please give feedback.)",
	"§lFIREARMS:§r Right click to fire. Hit 'R' to reload your weapon. Make sure there is ammunition of the selected type in your inventory. If successful, you will hear a reload sound which is different for each weapon, or you will hear a click. §8§oCONTINUES ON THE NEXT PAGE",
	"Hit 'B' to change ammo type, in case you are out of the selected type of ammo, or if you just want to use the appropriate type of ammunition against a specific enemy. Most weapons have three different types of ammo, though there are some exceptions. §8§oCONTINUES ON THE NEXT PAGE",
	"The weapon will also reload when the ammo type is changed. Again; a click will indicate that there is no ammunition to reload the weapon with. The controls are reconfigurable.",
	"§lSKY HOOK & AIR GRABBER:§r Hold right mouse button to make the sharp blades spin around. Hit enemies with the weapon while it is spinning. Deal even more damage by jumping from ledges and attack from a above in mid-air and surprise the target!"
	};
public static Item IngameGuideWeapons = new ItemIngameGuide("sigurd4", "how to weapon", IngameGuideWeaponsPages).setTextureName("bioshock:book_written_how_to_weapon").setCreativeTab(tabBioshockModWeapons);

//projectile textures
public static Item EnrageBall = new ItemGeneric().setTextureName("bioshock:enrage_ball").setCreativeTab(null);
public static Item HypnotizeBigDaddyBall = new ItemGeneric().setTextureName("bioshock:hypnotize_big_daddy_ball").setCreativeTab(null);
public static Item ReturnToSenderBall = new ItemGeneric().setTextureName("bioshock:return_to_sender_ball").setCreativeTab(null);
public static Item InfiniteEveOrb = new ItemInfiniteEveOrb().setTextureName("bioshock:infinite_eve_orb").setCreativeTab(null);
public static Item InfiniteAmmoOrb = new ItemInfiniteAmmoOrb().setTextureName("bioshock:infinite_ammo_orb").setCreativeTab(null);

//Blocks
//building materials
public static Block RaptureGlass = new com.sigurd4.Bioshock.blocks.RaptureGlass(Material.glass).setHardness(6).setResistance(200).setBlockName("raptureGlass").setStepSound(Block.soundTypeGlass).setBlockTextureName("bioshock:glass_rapture").setCreativeTab(BioshockMod.tabBioshockModCore);
//vendors
public static Block VendorUInvent = new BlockVendorUInvent();
//placeable consumables
public static Block CremeFilledCake = new com.sigurd4.Bioshock.blocks.Cake("bioshock:creme_filled_cake").setCreativeTab(BioshockMod.tabBioshockModConsumables).setBlockName("cremeFilledCake");
public static Block ChocolateCake = new com.sigurd4.Bioshock.blocks.Cake("bioshock:chocolate_cake").setCreativeTab(BioshockMod.tabBioshockModConsumables2).setBlockName("chocolateCake");
public static Block CheeseWheel = new com.sigurd4.Bioshock.blocks.Cake("bioshock:cheese").setCreativeTab(BioshockMod.tabBioshockModConsumables2).setBlockName("cheeseWheel");

public BioshockMod()
{
	//Item registry
	GameRegistry.registerItem(IngameGuideWeapons, "ingame_guide_weapons");

	GameRegistry.registerItem(AudiologAudioDiary, "audio_diary");
	GameRegistry.registerItem(AudiologVoxophone, "voxophone");

	GameRegistry.registerItem(PlasmidCycloneTrap, "plasmid_cyclone_trap");
	GameRegistry.registerItem(PlasmidCycloneTrapSyringe, "syringe_plasmid_cyclone_trap");
	GameRegistry.registerItem(PlasmidElectroBolt, "plasmid_electro_bolt");
	GameRegistry.registerItem(PlasmidElectroBoltSyringe, "syringe_plasmid_electro_bolt");
	GameRegistry.registerItem(PlasmidEnrage, "plasmid_enrage");
	GameRegistry.registerItem(PlasmidEnrageSyringe, "syringe_plasmid_enrage");
	GameRegistry.registerItem(PlasmidHypnotizeBigDaddy, "plasmid_hynotize_big_daddy");
	GameRegistry.registerItem(PlasmidHypnotizeBigDaddySyringe, "syringe_plasmid_hynotize_big_daddy");
	GameRegistry.registerItem(PlasmidIncinerate, "plasmid_incinerate");
	GameRegistry.registerItem(PlasmidIncinerateSyringe, "syringe_plasmid_incinerate");
	GameRegistry.registerItem(PlasmidInsectSwarm, "plasmid_insect_swarm");
	GameRegistry.registerItem(PlasmidInsectSwarmSyringe, "syringe_plasmid_insect_swarm");
	GameRegistry.registerItem(PlasmidSecurityBullseye, "plasmid_security_bullseye");
	GameRegistry.registerItem(PlasmidSecurityBullseyeSyringe, "syringe_plasmid_security_bullseye");
	GameRegistry.registerItem(PlasmidSonicBoom, "plasmid_sonic_boom");
	GameRegistry.registerItem(PlasmidSonicBoomSyringe, "syringe_plasmid_sonic_boom");
	GameRegistry.registerItem(PlasmidTargetDummy, "plasmid_target_dummy");
	GameRegistry.registerItem(PlasmidTargetDummySyringe, "syringe_plasmid_target_dummy");
	GameRegistry.registerItem(PlasmidTelekinesis, "plasmid_telekinesis");
	GameRegistry.registerItem(PlasmidTelekinesisSyringe, "syringe_plasmid_telekinesis");
	GameRegistry.registerItem(PlasmidWinterBlast, "plasmid_winter_blast");
	GameRegistry.registerItem(PlasmidWinterBlastSyringe, "syringe_plasmid_winter_blast");
	GameRegistry.registerItem(PlasmidRescueLittleSister, "plasmid_rescue_little_sister");
	GameRegistry.registerItem(PlasmidRescueLittleSisterSyringe, "syringe_plasmid_rescue_little_sister");

	GameRegistry.registerItem(PlasmidOldManWinter, "plasmid_drinkable_old_man_winter");
	GameRegistry.registerItem(PlasmidPeepingTom, "plasmid_drinkable_peeping_tom");
	GameRegistry.registerItem(VigorBuckingBronco, "vigor_bucking_bronco");
	GameRegistry.registerItem(VigorCharge, "vigor_charge");
	GameRegistry.registerItem(VigorDevilsKiss, "vigor_devils_kiss");
	GameRegistry.registerItem(VigorIronsides, "vigor_ironsides");
	GameRegistry.registerItem(VigorMurderOfCrows, "vigor_murder_of_crows");
	GameRegistry.registerItem(VigorPossession, "vigor_possession");
	GameRegistry.registerItem(VigorReturnToSender, "vigor_return_to_sender");
	GameRegistry.registerItem(VigorShockJockey, "vigor_shock_jockey");
	GameRegistry.registerItem(VigorUndertow, "vigor_undertow");

	GameRegistry.registerItem(InfusionHealth, "infusion_health");
	GameRegistry.registerItem(InfusionSalts, "infusion_salts");
	GameRegistry.registerItem(InfusionShields, "infusion_shields");
	GameRegistry.registerItem(InfusionQuantumSuperposition, "infusion_quantum_superposition");

	GameRegistry.registerItem(MoneyDollars, "dollars");
	GameRegistry.registerItem(MoneySilverEagles, "silver_eagles");

	GameRegistry.registerItem(ValuableRaptureTeddyBear, "valuable_rapture_teddy_bear");
	GameRegistry.registerItem(ValuableRaptureRingDiamond, "valuable_rapture_ring_diamond");
	GameRegistry.registerItem(ValuableRaptureRingEmerald, "valuable_rapture_ring_emerald");
	GameRegistry.registerItem(ValuableRaptureRingEnderpearl, "valuable_rapture_ring_enderpearl");
	GameRegistry.registerItem(ValuableRaptureRingGlowstone, "valuable_rapture_ring_glowstone");
	GameRegistry.registerItem(ValuableRaptureRingGold, "valuable_rapture_ring_gold");
	GameRegistry.registerItem(ValuableRaptureRingPearl, "valuable_rapture_ring_pearl");
	GameRegistry.registerItem(ValuableRaptureRingPrismarine, "valuable_rapture_ring_prismarine");
	GameRegistry.registerItem(ValuableRaptureRingQuartz, "valuable_rapture_ring_quartz");
	GameRegistry.registerItem(ValuableRaptureRingRuby, "valuable_rapture_ring_ruby");
	GameRegistry.registerItem(ValuableRaptureRingSilver, "valuable_rapture_ring_silver");
	GameRegistry.registerItem(ValuableRaptureWatchGoldLeatherBlackStrip, "valuable_rapture_watch_leather_black_strip");
	GameRegistry.registerItem(ValuableRaptureWatchGoldLeatherBrown, "valuable_rapture_watch_leather_brown");
	GameRegistry.registerItem(ValuableRaptureWatchGoldLeatherDark, "valuable_rapture_watch_leather_dark");
	GameRegistry.registerItem(ValuableRaptureWatchGoldLeatherDarkWithSteel, "valuable_rapture_watch_leather_dark_with_steel");
	GameRegistry.registerItem(ValuableRaptureWatchGoldLeatherRed, "valuable_rapture_watch_gold_leather_red");
	GameRegistry.registerItem(ValuableRaptureWatchPocketGold, "valuable_rapture_watch_pocket_gold");
	GameRegistry.registerItem(ValuableRaptureWatchPocketSteelDark, "valuable_rapture_watch_pocket_steel_dark");
	GameRegistry.registerItem(ValuableRaptureWatchSteelDark, "valuable_rapture_watch_steel_dark");
	GameRegistry.registerItem(ValuableRaptureWatchSteelLeatherDarkWithGold, "valuable_rapture_watch_steel_leather_dark_with_gold");
	GameRegistry.registerItem(ValuableRaptureWatchSteelLight, "valuable_rapture_watch_steel_light");
	GameRegistry.registerItem(ValuableRaptureBraceletDiamond, "valuable_rapture_diamond");
	GameRegistry.registerItem(ValuableRaptureBraceletEmerald, "valuable_rapture_bracelet_emerald");
	GameRegistry.registerItem(ValuableRaptureBraceletEmeraldGold, "valuable_rapture_bracelet_emerald_1");
	GameRegistry.registerItem(ValuableRaptureBraceletGlowstone, "valuable_rapture_bracelet_glowstone");
	GameRegistry.registerItem(ValuableRaptureBraceletObsidian, "valuable_rapture_bracelet_obsidian");
	GameRegistry.registerItem(ValuableRaptureBraceletPearl, "valuable_rapture_bracelet_pearl");
	GameRegistry.registerItem(ValuableRaptureBraceletPearlBlue, "valuable_rapture_bracelet_pearl_blue");
	GameRegistry.registerItem(ValuableRaptureBraceletPearlGreen, "valuable_rapture_bracelet_pearl_green");
	GameRegistry.registerItem(ValuableRaptureBraceletPearlPink, "valuable_rapture_bracelet_pearl_pink");
	GameRegistry.registerItem(ValuableRaptureBraceletPrismarine, "valuable_rapture_bracelet_prismarine");
	GameRegistry.registerItem(ValuableRaptureBraceletRuby, "valuable_rapture_bracelet_ruby");
	GameRegistry.registerItem(ValuableRaptureLadiesShoeBeige, "valuable_rapture_ladies_shoe_beige");
	GameRegistry.registerItem(ValuableRaptureLadiesShoeBlack, "valuable_rapture_ladies_shoe_black");
	GameRegistry.registerItem(ValuableRaptureLadiesShoeBlue, "valuable_rapture_ladies_shoe_blue");
	GameRegistry.registerItem(ValuableRaptureLadiesShoeGreen, "valuable_rapture_ladies_shoe_green");
	GameRegistry.registerItem(ValuableRaptureLadiesShoePink, "valuable_rapture_ladies_shoe_pink");
	GameRegistry.registerItem(ValuableRaptureLadiesShoeRed, "valuable_rapture_ladies_shoe_red");
	GameRegistry.registerItem(ValuableRaptureLadiesShoeWhite, "valuable_rapture_ladies_shoe_white");
	GameRegistry.registerItem(ValuableRaptureNecklaceDiamond, "valuable_rapture_necklace_diamond");
	GameRegistry.registerItem(ValuableRaptureNecklaceEmerald, "valuable_rapture_necklace_emerald");
	GameRegistry.registerItem(ValuableRaptureNecklaceEnderpearl, "valuable_rapture_necklace_enderpearl");
	GameRegistry.registerItem(ValuableRaptureNecklaceGlowstone, "valuable_rapture_necklace_glowstone");
	GameRegistry.registerItem(ValuableRaptureNecklaceObsidian, "valuable_rapture_necklace_obsidian");
	GameRegistry.registerItem(ValuableRaptureNecklacePearl, "valuable_rapture_necklace_pearl");
	GameRegistry.registerItem(ValuableRaptureNecklacePrismarine, "valuable_rapture_necklace_prismarine");
	GameRegistry.registerItem(ValuableRaptureNecklaceRuby, "valuable_rapture_necklace_ruby");
	GameRegistry.registerItem(ValuableRaptureDollBlue, "valuable_rapture_doll_blue");
	GameRegistry.registerItem(ValuableRaptureDollGreen, "valuable_rapture_doll_green");
	GameRegistry.registerItem(ValuableRaptureDollRed, "valuable_rapture_doll_red");
	GameRegistry.registerItem(ValuableRaptureDollYellow, "valuable_rapture_doll_yellow");
	GameRegistry.registerItem(ValuableRaptureGoldBarLarge, "valuable_rapture_gold_bar_large");
	GameRegistry.registerItem(ValuableRaptureGoldBarSmall, "valuable_rapture_gold_bar_small");

	GameRegistry.registerItem(CraftingItemPneumoHooks, "pneumo_hooks");
	GameRegistry.registerItem(CraftingItemGear, "gear");
	GameRegistry.registerItem(CraftingItemGearBronze, "bronze_gear");
	GameRegistry.registerItem(CraftingItemOpenedVacuumCleaner, "opened_vaccum_cleaner");
	GameRegistry.registerItem(CraftingItemBrackets, "brackets");
	GameRegistry.registerItem(CraftingItemSyringe, "syringe");
	GameRegistry.registerItem(CraftingItemSeaSlugCarcass, "sea_slug_carcass");
	GameRegistry.registerItem(CraftingItemCupPorcelain, "cup_porcelain");
	GameRegistry.registerItem(CraftingItemCup, "cup");
	GameRegistry.registerItem(CraftingItemEmptyShellCasing, "empty_shell_casing");
	GameRegistry.registerItem(CraftingItemShotgunShots, "shotgun_shots");
	GameRegistry.registerItem(CraftingItemWires, "wires");

	GameRegistry.registerItem(AdamInjectable, "adam_injectable");
	GameRegistry.registerItem(EveInjectable, "eve_injectable");
	GameRegistry.registerItem(EveDrinkableSmall, "eve_drinkable_small");
	GameRegistry.registerItem(EveDrinkableMedium, "eve_drinkable_medium");
	GameRegistry.registerItem(EveDrinkableLarge, "eve_drinkable_large");
	GameRegistry.registerItem(EveSaltsSmall, "salts_sphial_small");
	GameRegistry.registerItem(EveSaltsMedium, "salts_sphial_medium");
	GameRegistry.registerItem(EveSaltsLarge, "salts_sphial_large");
	GameRegistry.registerItem(MedicalKitSmall, "medical_kit_small");
	GameRegistry.registerItem(MedicalKitMedium, "medical_kit_medium");
	GameRegistry.registerItem(MedicalKitLarge, "medical_kit_large");
	GameRegistry.registerItem(FirstAidKit, "first_aid_kit");

	GameRegistry.registerItem(ConsumableArcadiaMerlot, "consumable_arcadia_merlot");
	GameRegistry.registerItem(ConsumableChecknyaVodka, "consumable_checknya_vodka");
	GameRegistry.registerItem(ConsumableFineGin, "consumable_fine_gin");
	GameRegistry.registerItem(ConsumableLacanScotch, "consumable_lacan_scotch");
	GameRegistry.registerItem(ConsumableMoonbeamAbsinthe, "consumable_moonbeam_absinthe");
	GameRegistry.registerItem(ConsumableMoonshine, "consumable_moonshine");
	GameRegistry.registerItem(ConsumableOldHarbingerBeer, "consumable_old_harbinger_beer");
	GameRegistry.registerItem(ConsumableOldTomWhiskey, "consumable_oId_tom_whiskey");
	GameRegistry.registerItem(ConsumableRedRibbonBrandy, "consumable_red_ribbon_brandy");
	GameRegistry.registerItem(ConsumableTateMerlot, "consumable_tate_merlot");
	GameRegistry.registerItem(ConsumableKingAbsinthe, "consumable_king_absinthe");
	GameRegistry.registerItem(ConsumableColumbiaLagerBeer, "consumable_columbia_lager_beer");
	GameRegistry.registerItem(ConsumableEmporianShippingBourbon, "consumable_emporian_shipping_bourbon");
	GameRegistry.registerItem(ConsumableSplendidChampionBrandy, "consumable_splendid_champion_brandy");
	GameRegistry.registerItem(ConsumableJeanDePickartChampagne, "consumable_jean_de_pickart_champagne");
	GameRegistry.registerItem(ConsumableFinktonsSpecialDryGin, "consumable_finktons_special_dry_gin");
	GameRegistry.registerItem(ConsumableUnknownBooze, "consumable_unknown_booze");
	GameRegistry.registerItem(ConsumableVillavicencioVermouth, "consumable_villavicencio_vermouth");
	GameRegistry.registerItem(ConsumableColumbia1830RyeWhiskey, "consumable_columbia_1830_rye_whiskey");
	GameRegistry.registerItem(ConsumableVictorValleyWine, "consumable_victor_valley_wine");

	GameRegistry.registerItem(ConsumableCoffeeThermos, "consumable_coffee_thermos");
	GameRegistry.registerItem(ConsumableRaptureCoffeeTin, "consumable_rapture_coffee_tin");
	GameRegistry.registerItem(ConsumableCoffeeCupPorcelain, "consumable_coffee_cup_porcelain");
	GameRegistry.registerItem(ConsumableTeaThermos, "consumable_tea_thermos");
	GameRegistry.registerItem(ConsumableTeaCupPorcelain, "consumable_tea_cup_porcelain");
	GameRegistry.registerItem(ConsumableFreshWater, "consumable_fresh_water");
	GameRegistry.registerItem(ConsumableHopUpCola, "consumable_hop_up_cola");
	GameRegistry.registerItem(ConsumableMilkBottle, "consumable_milk_bottle");
	GameRegistry.registerItem(ConsumableColumbiaCoffeeTin, "consumable_columbia_coffee_tin");
	GameRegistry.registerItem(ConsumableCoffeeCup, "consumable_coffee_cup");
	GameRegistry.registerItem(ConsumablePapDrinkSoda, "consumable_pap_drink_soda");
	GameRegistry.registerItem(ConsumableTeaCup, "consumable_tea_cup");

	GameRegistry.registerItem(ConsumableCrackers, "consumable_crackers");
	GameRegistry.registerItem(ConsumableCremeFilledCake, "consumable_creme_filled_cake");
	GameRegistry.registerItem(ConsumableCannedBeans, "consumable_canned_beans");
	GameRegistry.registerItem(ConsumableCannedFruit, "consumable_gaynor_peaches");
	GameRegistry.registerItem(ConsumableSardines, "consumable_sardines");
	GameRegistry.registerItem(ConsumablePepBar, "consumable_pep_bar");
	GameRegistry.registerItem(ConsumableSaltysPotatoChips, "consumable_saltys_potato_chips");
	GameRegistry.registerItem(ConsumablePottedMeat, "consumable_beef_e");
	GameRegistry.registerItem(ConsumableApple, "consumable_apple");
	GameRegistry.registerItem(ConsumableAppleRotten, "consumable_apple_rotten");
	GameRegistry.registerItem(ConsumableBanana, "consumable_banana");
	GameRegistry.registerItem(ConsumableBananaRotten, "consumable_banana_rotten");
	GameRegistry.registerItem(ConsumableLoaf, "consumable_bread_loaf");
	GameRegistry.registerItem(ConsumableBread, "consumable_bread_brown");
	GameRegistry.registerItem(ConsumableFinktonsBakedBeans, "consumable_finktons_baked_beans");
	GameRegistry.registerItem(ConsumableChocos, "consumable_chocos");
	GameRegistry.registerItem(ConsumableChocolateCake, "consumable_chocolate_cake");
	GameRegistry.registerItem(ConsumableColumbiaWheatCereal, "consumable_columbia_wheat_cereal");
	GameRegistry.registerItem(ConsumableCheeseWheel, "consumable_cheese_wheel");
	GameRegistry.registerItem(ConsumableMaize, "consumable_corn");
	GameRegistry.registerItem(ConsumableMaizeRotten, "consumable_corn_rotten");
	GameRegistry.registerItem(ConsumableCottonCandy, "consumable_cotton_candy");
	GameRegistry.registerItem(ConsumableConfectBox, "consumable_box_of_confect");
	GameRegistry.registerItem(ConsumableHotDog, "consumable_hot_dog");
	GameRegistry.registerItem(ConsumablePickles, "consumable_jar_of_pickles");
	GameRegistry.registerItem(ConsumableOrange, "consumable_orange");
	GameRegistry.registerItem(ConsumableOrangeRotten, "consumable_orange_rotten");
	GameRegistry.registerItem(ConsumablePeanuts, "consumable_bag_of_peanuts");
	GameRegistry.registerItem(ConsumablePear, "consumable_pear");
	GameRegistry.registerItem(ConsumablePearRotten, "consumable_pear_rotten");
	GameRegistry.registerItem(ConsumablePineapple, "consumable_pineapple");
	GameRegistry.registerItem(ConsumablePineappleRotten, "consumable_pineapple_rotten");
	GameRegistry.registerItem(ConsumableColumbiasBestPopcorn, "consumable_columbias_best_popcorn");
	GameRegistry.registerItem(ConsumablePotato, "consumable_potato");
	GameRegistry.registerItem(ConsumableHarvaysPotatoChips, "consumable_harvays_potato_chips");
	GameRegistry.registerItem(ConsumableFinktonRations, "consumable_finkton_rations");
	GameRegistry.registerItem(ConsumableSandwich, "consumable_sandwitch");
	GameRegistry.registerItem(ConsumableColumbiaBrandSardines, "consumable_columbia_brand_sardines");
	GameRegistry.registerItem(ConsumableFinktonCannedSpinach, "consumable_finkton_canned_spinach");
	GameRegistry.registerItem(ConsumableFinktonsTomatoSoup, "consumable_tomato_soup");
	GameRegistry.registerItem(ConsumableWatermelon, "consumable_watermelon");
	GameRegistry.registerItem(ConsumableWatermelonRotten, "consumable_watermelon_rotten");
	GameRegistry.registerItem(ConsumableWhiteOatsCereal, "consumable_white_oats_cereal");

	GameRegistry.registerItem(ConsumableNicoTimeCigarettes, "consumable_nico_time_cigarettes");
	GameRegistry.registerItem(ConsumableOxfordClubCigarettes, "consumable_oxford_club_cigarettes");
	GameRegistry.registerItem(ConsumablePipe, "consumable_pipe");
	GameRegistry.registerItem(ConsumableColumbiaCigarettes, "consumable_columbia_tobacco_cigarettes");

	GameRegistry.registerItem(ConsumableAspirin, "consumable_aspirin");
	GameRegistry.registerItem(ConsumableBandages, "consumable_bandages");
	GameRegistry.registerItem(ConsumableCureAll, "consumable_cure_all");
	GameRegistry.registerItem(ConsumableVitamins, "consumable_vitamins");

	GameRegistry.registerItem(WeaponPistolAmmoStandard, "weapon_pistol_ammo_standard");
	GameRegistry.registerItem(WeaponPistolAmmoArmorPiercing, "weapon_pistol_ammo_armor_piercing");
	GameRegistry.registerItem(WeaponPistolAmmoAntipersonnel, "weapon_pistol_ammo_antipersonnel");
	GameRegistry.registerItem(WeaponShotgunAmmo00, "weapon_shotgun_ammo_00");
	GameRegistry.registerItem(WeaponShotgunAmmoElectric, "weapon_shotgun_ammo_electric");
	GameRegistry.registerItem(WeaponShotgunAmmoExploding, "weapon_shotgun_ammo_exploding");
	GameRegistry.registerItem(WeaponShotgunAmmoSolidSlug, "weapon_shotgun_ammo_solid_slug");
	GameRegistry.registerItem(WeaponAutoAmmoStandard, "weapon_auto_ammo_standard");
	GameRegistry.registerItem(WeaponAutoAmmoAntipersonnel, "weapon_auto_ammo_antipersonnel");
	GameRegistry.registerItem(WeaponAutoAmmoArmorPiercing, "weapon_auto_ammo_armor_piercing");
	GameRegistry.registerItem(WeaponGrenadeLauncherAmmo, "weapon_grenade_launcher_ammo");
	GameRegistry.registerItem(OxygenTank, "oxygen_tank");

	GameRegistry.registerItem(WeaponSkyHook, "weapon_sky_hook");
	//mod_Gibbing.addCustomItem(WeaponSkyHook, 1);
	GameRegistry.registerItem(WeaponAirGrabber, "weapon_air_grabber");
	//mod_Gibbing.addCustomItem(WeaponAirGrabber, 1);
	GameRegistry.registerItem(WeaponGrenadeLauncher, "weapon_grenade_launcher");
	GameRegistry.registerItem(WeaponGrenadeLauncherReloading, "weapon_grenade_launcher_reloading");
	GameRegistry.registerItem(WeaponPistolRapture, "weapon_pistol_rapture");
	GameRegistry.registerItem(WeaponShotgunRapture, "weapon_shotgun_rapture");
	GameRegistry.registerItem(WeaponMachineGunRapture, "weapon_tommy_gun_rapture");
	GameRegistry.registerItem(WeaponWrench, "weapon_wrench");
	//mod_Gibbing.addCustomItem(WeaponWrench, 0.2D);
	GameRegistry.registerItem(WeaponPipe, "weapon_pipe");
	//mod_Gibbing.addCustomItem(WeaponPipe, 0.2D);
	GameRegistry.registerItem(TennisBall, "tennis_ball");

	GameRegistry.registerItem(DivingSuitHelmet,"diving_suit_helmet");
	GameRegistry.registerItem(DivingSuitUpperBody,"diving_suit_upper_body");
	GameRegistry.registerItem(DivingSuitUpperBodyTank,"diving_suit_upper_body_tank");
	GameRegistry.registerItem(DivingSuitLowerBody,"diving_suit_lower_body");
	GameRegistry.registerItem(DivingSuitBoots,"diving_suit_boots");

	GameRegistry.registerItem(MaskBox,"mask_box");
	GameRegistry.registerItem(MaskButterflyPink,"mask_butterfly_pink");
	GameRegistry.registerItem(MaskButterflyWhite,"mask_butterfly_white");
	GameRegistry.registerItem(MaskCatBlack,"mask_cat_black");
	GameRegistry.registerItem(MaskCatBlackBroken,"mask_cat_black_broken");
	GameRegistry.registerItem(MaskCatGolden,"mask_cat_golden");
	GameRegistry.registerItem(MaskCatGoldenBroken,"mask_cat_golden_broken");
	GameRegistry.registerItem(MaskCatWhite,"mask_white");
	GameRegistry.registerItem(MaskCatWhiteBroken,"mask_white_broken");
	GameRegistry.registerItem(MaskPlagueDoctor,"mask_plague_doctor");
	GameRegistry.registerItem(MaskPlagueDoctorBroken,"mask_plague_doctor_broken");
	GameRegistry.registerItem(MaskRabbitBlack,"mask_rabbit_black");
	GameRegistry.registerItem(MaskRabbitBlackBroken,"mask_rabbit_black_broken");
	GameRegistry.registerItem(MaskRabbitGolden,"mask_rabbit_golden");
	GameRegistry.registerItem(MaskRabbitGoldenBroken,"mask_rabbit_golden_broken");
	GameRegistry.registerItem(MaskRabbitGoldenBrokenEye,"mask_rabbit_golden_broken_eye");
	GameRegistry.registerItem(MaskRabbitWhite,"mask_rabbit_white");
	GameRegistry.registerItem(MaskRabbitWhiteBleach,"mask_rabbit_white_bleach");
	GameRegistry.registerItem(MaskRabbitWhiteBroken,"mask_rabbit_white_broken");
	GameRegistry.registerItem(MaskSaturnineBush,"mask_saturnine_bush");
	GameRegistry.registerItem(MaskSaturnineHuman,"mask_saturnine_human");
	GameRegistry.registerItem(MaskSaturnineSkull,"mask_saturnine_skull");
	GameRegistry.registerItem(MaskSaturnineTeeth,"mask_saturnine_teeth");
	GameRegistry.registerItem(MaskSimpleGreen,"mask_simple_green");
	GameRegistry.registerItem(MaskSimpleGreenBroken,"mask_simple_green_broken");
	GameRegistry.registerItem(MaskSimpleRed,"mask_simple_red");
	GameRegistry.registerItem(MaskSimpleRedBroken,"mask_simple_red_broken");
	GameRegistry.registerItem(MaskSimpleWhite,"mask_simple_white");
	GameRegistry.registerItem(MaskSimpleWhiteBroken,"mask_simple_white_broken");
	GameRegistry.registerItem(MaskWelder,"mask_welder");
	GameRegistry.registerItem(MaskWelderRusty,"mask_welder_rusty");

	//Block registry
	GameRegistry.registerBlock(RaptureGlass, "hardened_glass");
	GameRegistry.registerBlock(VendorUInvent, "vendor_u_invent");
	GameRegistry.registerBlock(CremeFilledCake, "creme_filled_cake");
	GameRegistry.registerBlock(ChocolateCake, "chocolate_cake");
	GameRegistry.registerBlock(CheeseWheel, "cheese_wheel");

	GameRegistry.registerItem(EnrageBall, "enrage_ball");
	GameRegistry.registerItem(HypnotizeBigDaddyBall, "hypnotize_big_daddy_ball");
	GameRegistry.registerItem(ReturnToSenderBall,"return_to_sender_ball");
	GameRegistry.registerItem(InfiniteEveOrb,"infinite_eve_orb");
	GameRegistry.registerItem(InfiniteAmmoOrb,"infinite_ammo_orb");
}

@SidedProxy(clientSide = com.sigurd4.Bioshock.References.Client, serverSide = com.sigurd4.Bioshock.References.Common)

public static ProxyCommon proxy;
public static ProxyClient proxyClient;

@EventHandler
public void init(FMLInitializationEvent event)
{
	DIVING_SUIT_METAL.customCraftingMaterial = Items.iron_ingot;
	DIVING_SUIT_CLOTH.customCraftingMaterial = Items.leather;
	proxy.init();
	//Ore dictionary
        OreDictionary.registerOre("gearIron", this.CraftingItemGear);
        OreDictionary.registerOre("gearSteel", this.CraftingItemGear);
        OreDictionary.registerOre("gearBronze", this.CraftingItemGearBronze);
        OreDictionary.registerOre("wireCopper", this.CraftingItemWires);
        OreDictionary.registerOre("foodCheese", this.CheeseWheel);
        OreDictionary.registerOre("foodCake", this.ChocolateCake);
        OreDictionary.registerOre("foodCake", this.ConsumableCremeFilledCake);
        OreDictionary.registerOre("foodApple", this.ConsumableApple);
        OreDictionary.registerOre("foodApple", this.ConsumableAppleRotten);
        OreDictionary.registerOre("itemAlcohol", this.ConsumableArcadiaMerlot);
        OreDictionary.registerOre("foodBanana", this.ConsumableBanana);
        OreDictionary.registerOre("foodBanana", this.ConsumableBananaRotten);
        OreDictionary.registerOre("itemBandages", this.ConsumableBandages);
        OreDictionary.registerOre("foodBread", this.ConsumableBread);
        OreDictionary.registerOre("foodBread", this.ConsumableLoaf);
        OreDictionary.registerOre("foodBread", this.ConsumableSandwich);
        OreDictionary.registerOre("foodChocolate", this.ConsumableChocos);
        OreDictionary.registerOre("foodChocolate", this.ConsumableConfectBox);
        OreDictionary.registerOre("foodChocolate", this.ConsumablePepBar);
        OreDictionary.registerOre("itemWater", this.ConsumableFreshWater);
        OreDictionary.registerOre("water", this.ConsumableFreshWater);
        OreDictionary.registerOre("foodSoda", this.ConsumableHopUpCola);
        OreDictionary.registerOre("foodSoda", this.ConsumablePapDrinkSoda);
        OreDictionary.registerOre("foodCorn", this.ConsumableMaize);
        OreDictionary.registerOre("seedCorn", this.ConsumableMaize);
        OreDictionary.registerOre("foodCorn", this.ConsumableMaizeRotten);
        OreDictionary.registerOre("seedCorn", this.ConsumableMaizeRotten);
        OreDictionary.registerOre("itemMilk", this.ConsumableMilkBottle);
        OreDictionary.registerOre("foodMilk", this.ConsumableMilkBottle);
        OreDictionary.registerOre("milk", this.ConsumableMilkBottle);
        OreDictionary.registerOre("foodCookie", this.ConsumableCrackers);
        OreDictionary.registerOre("foodCigarettes", this.ConsumableColumbiaCigarettes);
        OreDictionary.registerOre("foodCigarettes", this.ConsumableNicoTimeCigarettes);
        OreDictionary.registerOre("foodCigarettes", this.ConsumableOxfordClubCigarettes);
        OreDictionary.registerOre("foodOrange", this.ConsumableOrange);
        OreDictionary.registerOre("foodOrange", this.ConsumableOrangeRotten);
        OreDictionary.registerOre("foodPeanuts", this.ConsumablePeanuts);
        OreDictionary.registerOre("foodPear", this.ConsumablePear);
        OreDictionary.registerOre("foodPear", this.ConsumablePearRotten);
        OreDictionary.registerOre("foodPickles", this.ConsumablePickles);
        OreDictionary.registerOre("foodPineapple", this.ConsumablePineapple);
        OreDictionary.registerOre("foodPineapple", this.ConsumablePineappleRotten);
        OreDictionary.registerOre("foodPotato", this.ConsumablePotato);
        OreDictionary.registerOre("foodMelon", this.ConsumableWatermelon);
        OreDictionary.registerOre("foodMelon", this.ConsumableWatermelonRotten);
        OreDictionary.registerOre("itemEve", this.EveDrinkableSmall);
        OreDictionary.registerOre("itemEve", this.EveDrinkableMedium);
        OreDictionary.registerOre("itemEve", this.EveDrinkableLarge);
        OreDictionary.registerOre("itemEve", this.EveInjectable);
        OreDictionary.registerOre("itemEve", this.EveSaltsSmall);
        OreDictionary.registerOre("itemEve", this.EveSaltsMedium);
        OreDictionary.registerOre("itemEve", this.EveSaltsLarge);
        OreDictionary.registerOre("itemMedKit", this.FirstAidKit);
        OreDictionary.registerOre("itemMedKit", this.MedicalKitSmall);
        OreDictionary.registerOre("itemMedKit", this.MedicalKitMedium);
        OreDictionary.registerOre("itemMedKit", this.MedicalKitLarge);
        OreDictionary.registerOre("blockWood", this.MaskBox);
        OreDictionary.registerOre("itemMask", this.MaskButterflyPink);
        OreDictionary.registerOre("itemMask", this.MaskButterflyWhite);
        OreDictionary.registerOre("itemMask", this.MaskCatBlack);
        OreDictionary.registerOre("itemMask", this.MaskCatBlackBroken);
        OreDictionary.registerOre("itemMask", this.MaskCatGolden);
        OreDictionary.registerOre("itemMask", this.MaskCatGoldenBroken);
        OreDictionary.registerOre("itemMask", this.MaskCatWhite);
        OreDictionary.registerOre("itemMask", this.MaskCatWhiteBroken);
        OreDictionary.registerOre("itemMask", this.MaskPlagueDoctor);
        OreDictionary.registerOre("itemMask", this.MaskPlagueDoctorBroken);
        OreDictionary.registerOre("itemMask", this.MaskRabbitBlack);
        OreDictionary.registerOre("itemMask", this.MaskRabbitBlackBroken);
        OreDictionary.registerOre("itemMask", this.MaskRabbitGolden);
        OreDictionary.registerOre("itemMask", this.MaskRabbitGoldenBrokenEye);
        OreDictionary.registerOre("itemMask", this.MaskRabbitWhite);
        OreDictionary.registerOre("itemMask", this.MaskRabbitWhiteBleach);
        OreDictionary.registerOre("itemMask", this.MaskRabbitWhiteBroken);
        OreDictionary.registerOre("itemMask", this.MaskSimpleGreen);
        OreDictionary.registerOre("itemMask", this.MaskSimpleGreenBroken);
        OreDictionary.registerOre("itemMask", this.MaskSimpleRed);
        OreDictionary.registerOre("itemMask", this.MaskSimpleRedBroken);
        OreDictionary.registerOre("itemMask", this.MaskSimpleWhite);
        OreDictionary.registerOre("itemMask", this.MaskSimpleWhiteBroken);
        OreDictionary.registerOre("itemMaskWooden", this.MaskSaturnineBush);
        OreDictionary.registerOre("itemMaskWooden", this.MaskSaturnineHuman);
        OreDictionary.registerOre("itemMaskWooden", this.MaskSaturnineSkull);
        OreDictionary.registerOre("itemMaskWooden", this.MaskSaturnineTeeth);
        OreDictionary.registerOre("itemMaskIron", this.MaskWelder);
        OreDictionary.registerOre("itemMaskIron", this.MaskWelderRusty);
        OreDictionary.registerOre("oxygen", this.OxygenTank);
        OreDictionary.registerOre("itemPipe", this.WeaponPipe);
	//Recipe Registry
	GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(BioshockMod.RaptureGlass, 1), "IOI", "OGO", "IOI", 'I', Items.iron_ingot, 'O', Blocks.obsidian, 'G', Blocks.glass));
	GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(BioshockMod.WeaponAirGrabber, 1), "  P", " VG", "LBS", 'P', BioshockMod.CraftingItemPneumoHooks, 'V', BioshockMod.CraftingItemOpenedVacuumCleaner, 'G', BioshockMod.CraftingItemGear, 'L', Items.leather, 'B', BioshockMod.CraftingItemBrackets, 'S', Items.stick));
	GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(BioshockMod.WeaponShotgunAmmo00, 1), "SGS", " P ", " C ", 'S', BioshockMod.CraftingItemShotgunShots, 'G', Blocks.gravel, 'C', BioshockMod.CraftingItemEmptyShellCasing, 'P', Items.gunpowder));
	GameRegistry.addShapelessRecipe(new ItemStack(BioshockMod.AdamInjectable, 1), BioshockMod.CraftingItemSeaSlugCarcass, BioshockMod.CraftingItemSyringe);
	GameRegistry.addShapelessRecipe(new ItemStack(BioshockMod.ConsumableCoffeeCup, 1), BioshockMod.CraftingItemCup, BioshockMod.ConsumableCoffeeThermos);
	GameRegistry.addShapelessRecipe(new ItemStack(BioshockMod.ConsumableCoffeeCup, 1), BioshockMod.CraftingItemCup, BioshockMod.ConsumableRaptureCoffeeTin);
	GameRegistry.addShapelessRecipe(new ItemStack(BioshockMod.ConsumableCoffeeCup, 1), BioshockMod.CraftingItemCup, BioshockMod.ConsumableColumbiaCoffeeTin);
	GameRegistry.addShapelessRecipe(new ItemStack(BioshockMod.ConsumableCoffeeCupPorcelain, 1), BioshockMod.CraftingItemCupPorcelain, BioshockMod.ConsumableCoffeeThermos);
	GameRegistry.addShapelessRecipe(new ItemStack(BioshockMod.ConsumableCoffeeCupPorcelain, 1), BioshockMod.CraftingItemCupPorcelain, BioshockMod.ConsumableRaptureCoffeeTin);
	GameRegistry.addShapelessRecipe(new ItemStack(BioshockMod.ConsumableCoffeeCupPorcelain, 1), BioshockMod.CraftingItemCupPorcelain, BioshockMod.ConsumableColumbiaCoffeeTin);
	GameRegistry.addShapelessRecipe(new ItemStack(BioshockMod.ConsumableTeaCup, 1), BioshockMod.CraftingItemCup, BioshockMod.ConsumableTeaThermos);
	GameRegistry.addShapelessRecipe(new ItemStack(BioshockMod.ConsumableTeaCupPorcelain, 1), BioshockMod.CraftingItemCupPorcelain, BioshockMod.ConsumableTeaThermos);
	//Filling syringe with plasmid recipes
	GameRegistry.addShapelessRecipe(new ItemStack(BioshockMod.PlasmidCycloneTrapSyringe, 1), BioshockMod.PlasmidCycloneTrap, BioshockMod.CraftingItemSyringe);
	GameRegistry.addShapelessRecipe(new ItemStack(BioshockMod.PlasmidElectroBoltSyringe, 1), BioshockMod.PlasmidElectroBolt, BioshockMod.CraftingItemSyringe);
	GameRegistry.addShapelessRecipe(new ItemStack(BioshockMod.PlasmidEnrageSyringe, 1), BioshockMod.PlasmidEnrage, BioshockMod.CraftingItemSyringe);
	GameRegistry.addShapelessRecipe(new ItemStack(BioshockMod.PlasmidHypnotizeBigDaddySyringe, 1), BioshockMod.PlasmidHypnotizeBigDaddy, BioshockMod.CraftingItemSyringe);
	GameRegistry.addShapelessRecipe(new ItemStack(BioshockMod.PlasmidIncinerateSyringe, 1), BioshockMod.PlasmidIncinerate, BioshockMod.CraftingItemSyringe);
	GameRegistry.addShapelessRecipe(new ItemStack(BioshockMod.PlasmidInsectSwarmSyringe, 1), BioshockMod.PlasmidInsectSwarm, BioshockMod.CraftingItemSyringe);
	GameRegistry.addShapelessRecipe(new ItemStack(BioshockMod.PlasmidSecurityBullseyeSyringe, 1), BioshockMod.PlasmidSecurityBullseye, BioshockMod.CraftingItemSyringe);
	GameRegistry.addShapelessRecipe(new ItemStack(BioshockMod.PlasmidSonicBoomSyringe, 1), BioshockMod.PlasmidSonicBoom, BioshockMod.CraftingItemSyringe);
	GameRegistry.addShapelessRecipe(new ItemStack(BioshockMod.PlasmidTargetDummySyringe, 1), BioshockMod.PlasmidTargetDummy, BioshockMod.CraftingItemSyringe);
	GameRegistry.addShapelessRecipe(new ItemStack(BioshockMod.PlasmidTelekinesisSyringe, 1), BioshockMod.PlasmidTelekinesis, BioshockMod.CraftingItemSyringe);
	GameRegistry.addShapelessRecipe(new ItemStack(BioshockMod.PlasmidWinterBlastSyringe, 1), BioshockMod.PlasmidWinterBlast, BioshockMod.CraftingItemSyringe);
	GameRegistry.addShapelessRecipe(new ItemStack(BioshockMod.PlasmidRescueLittleSisterSyringe, 1), BioshockMod.PlasmidRescueLittleSister, BioshockMod.CraftingItemSyringe);
	//Reloading Recipes
	GameRegistry.addRecipe(new RecipeDivingSuitRefill(BioshockMod.DivingSuitUpperBody, BioshockMod.OxygenTank, BioshockMod.DivingSuitUpperBodyTank));
	GameRegistry.addShapelessRecipe(new ItemStack(BioshockMod.DivingSuitUpperBodyTank, 1, 0), BioshockMod.DivingSuitUpperBody, BioshockMod.OxygenTank);

	GameRegistry.addShapelessRecipe(new ItemStack(BioshockMod.WeaponGrenadeLauncher, 1, 0), BioshockMod.WeaponGrenadeLauncherReloading, BioshockMod.WeaponGrenadeLauncherAmmo);
	network = NetworkRegistry.INSTANCE.newSimpleChannel("BioshockPacketChannel");
	network.registerMessage(KeyPackets.Handler.class, KeyPackets.class, 0, Side.SERVER);
	// network.registerMessage(SecondMessage.Handler.class, SecondMessage.class, 1, Side.CLIENT);

	//Entity registry
	registerEntity(EntitySplicerThuggish.class, "splicerThuggish", 16777215, 16777215);
	registerEntity(EntityBigDaddyBouncer.class, "bigDaddyBouncer", 16777215, 16777215);

	registerEntityNoEgg(EntityElectroBoltProjectile.class, "electroBoltProjectile");
	registerEntityNoEgg(EntityElectroBoltWaterElectro.class, "electroBoltWaterElectro");
	registerEntityNoEgg(EntityEnrageProjectile.class, "enrageProjectile");
	registerEntityNoEgg(EntityHypnotizeBigDaddyProjectile.class, "hypnotizeBigDaddyProjectile");
	registerEntityNoEgg(EntityIncinerateFlame.class, "incinerateFlame");
	registerEntityNoEgg(EntityIncinerateProjectile.class, "incinerateProjectile");
	registerEntityNoEgg(EntityMurderOfCrowsProjectile.class, "murderOfCrowsProjectile");
	registerEntityNoEgg(EntityMurderOfCrowsCrow.class, "murderOfCrowsCrow");
	registerEntityNoEgg(EntityReturnToSenderProjectile.class, "returnToSenderProjectile");
	registerEntityNoEgg(EntityShockJockeyProjectile.class, "shockJockeyProjectile");
	registerEntityNoEgg(EntityShockJockeyWaterElectro.class, "shockJockeyWaterElectro");

	registerEntityNoEgg(EntityTennisBall.class, "tennisBall");
	registerEntityNoEgg(EntityGrenadeLauncherShell.class, "grenadeLauncherShell");
	registerEntityNoEgg(EntityBullet.class, "bullet");

	registerEntityNoEgg(EntityTargeter.class, "targeter");


        GameRegistry.registerTileEntity(TileEntityVendorUInvent.class, "tileEntityVendorUInvent");
}
}

http://www.planetminecraft.com/member/sigurd4

I'm making the bioshock mod!

Link to comment
Share on other sites

Hi

 

It's not enough to avoid calling ISound.  If you have a class which has any ISound in it at all, even if you never directly call those methods, and you create that class on the server side, then you will get this error.

 

The golden rule is - any mod classes which are accessed on the server side should never refer to vanilla client-side-only classes or methods.  It doesn't matter if the code is never called (eg by wrapping it in .isRemote checks), the mere act of loading the server-side class will trigger this error.

Vanilla client-side-only classes should only be referred to by mod client-side-only classes.

 

I suggest you move everything related to ISound out of your ItemAudioLog, into a separate class (say ItemAudioLogSound).  When your item wants to play a sound client side (eg after checking isRemote), it calls the appropriate ItemAudioLogSound method.

 

-TGG

Link to comment
Share on other sites

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



×
×
  • Create New...

Important Information

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