Created
November 19, 2013 22:55
-
-
Save anonymous/7554085 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package DrugsMod; | |
import net.minecraft.client.renderer.texture.IconRegister; | |
import net.minecraft.creativetab.CreativeTabs; | |
import net.minecraft.item.Item; | |
import net.minecraft.item.ItemFood; | |
public class cocaine extends ItemFood{ | |
public cocaine(int par1, int par2, boolean par3) { | |
super(par1, par2, par3); | |
this.setCreativeTab(CreativeTabs.tabFood); | |
} | |
public void registerIcons(IconRegister iconRegister) { | |
itemIcon = iconRegister.registerIcon("LifeMMO Drugs:cocaine"); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment