Development Hello! The question relates more to the developers

LegendGamer

Member
Jan 13, 2017
52
10
8
25
Hello friends! How to add my helmet(ordinary, placed in the usual slot of the helmet) the functionality of oxygen masks?
Becouse in item nothing not
public class ItemOxygenMask extends Item
{
protected ItemOxygenMask(String assetName)
{
super();
this.setUnlocalizedName(assetName);
this.setTextureName(GalacticraftCore.TEXTURE_PREFIX + assetName);
}

@Override
public CreativeTabs getCreativeTab()
{
return GalacticraftCore.galacticraftItemsTab;
}

@Override
@SideOnly(Side.CLIENT)
public EnumRarity getRarity(ItemStack par1ItemStack)
{
return ClientProxyCore.galacticraftItem;
}
}
 

Share this page