mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
21 lines
368 B
Java
21 lines
368 B
Java
package tconstruct.items.blocks;
|
|
|
|
import net.minecraft.block.Block;
|
|
import net.minecraft.item.ItemBlock;
|
|
|
|
public class MetadataItemBlock extends ItemBlock
|
|
{
|
|
public MetadataItemBlock(Block b)
|
|
{
|
|
super(b);
|
|
setMaxDamage(0);
|
|
setHasSubtypes(true);
|
|
}
|
|
|
|
@Override
|
|
public int getMetadata (int meta)
|
|
{
|
|
return meta;
|
|
}
|
|
}
|