@Override void export(ModExporter out) throws IOException { name.export(out); out.write(unknown, 1); out.write(properties.size(), 2); for (ScriptProperty p : properties) { p.export(out); } }
@Override void export(ModExporter out) throws IOException { super.export(out); if (isValid()) { out.write(altTextures.size()); for (AltTexture t : altTextures) { t.export(out); } } }
void export(ModExporter out) throws IOException { out.write(name.length()); out.write(name); texture.export(out); out.write(index); }