blob: 9299126d672e5d98c2a226b4ee21c8fd4b820ccd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
package common.itemBlocks;
import net.minecraft.block.Block;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
public class IB_ThaumiumReinforcedJar extends ItemBlock {
public IB_ThaumiumReinforcedJar(Block block) {
super(block);
}
@Override
public int getMetadata(int meta) {
return meta;
}
@Override
public boolean getHasSubtypes() {
return true;
}
@Override
public String getUnlocalizedName(ItemStack stack) {
return super.getUnlocalizedName() + "." + stack.getItemDamage();
}
}
|