Change package name for realsies now :P

This commit is contained in:
Arona Jones committed 2014-12-15 00:11:48 +00:00
1 parent 4d8df815cc
commit dae454dc17
138 files changed
+491 -438

No files matched your search

@@ -0,0 +1,32 @@
package com.cricketcraft.chisel.utils;
import net.minecraft.block.Block;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
public class ItemMetaBlock extends ItemBlock
{
public ItemMetaBlock(Block b)
{
super(b);
setMaxDamage(0);
setHasSubtypes(true);
}
@Override
public String getUnlocalizedName(ItemStack itemstack)
{
if(itemstack == null)
{
return Block.getBlockFromItem(this).getUnlocalizedName();
}
return Block.getBlockFromItem(this).getUnlocalizedName();
}
@Override
public int getMetadata(int i)
{
return i;
}
}