@Override @SideOnly(Side.CLIENT) public void registerIcons(IconRegister registry) { for (int index = 0; index < BoatType.values().length; index++) { IconRegistry.setIcon( BoatType.values()[index].unloc + "Chest", registry.registerIcon("oceania:" + BoatType.values()[index].unloc + "Chest")); } }
@Override @SideOnly(Side.CLIENT) public Icon getIconFromDamage(int meta) { return IconRegistry.getIcon(BoatType.values()[meta].unloc + "Chest"); }