Skip to content

Commit

Permalink
Added Optifine CIT functionality. todo: default textures in models
Browse files Browse the repository at this point in the history
  • Loading branch information
CoryBorek committed Aug 20, 2019
1 parent 0e57317 commit ef76aeb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ public NameConverter(PackConverter packConverter) {

@Override
public void convert(Pack pack) throws IOException {
Path mc = pack.getWorkingPath().resolve("assets" + File.separator + "minecraft");
if (mc.resolve("mcpatcher").toFile().exists()) Files.move(mc.resolve("mcpatcher"), mc.resolve("optifine"));
Path models = pack.getWorkingPath().resolve("assets" + File.separator + "minecraft" + File.separator + "models");
if (models.resolve("blocks").toFile().exists()) Files.move(models.resolve("blocks"), models.resolve("block"));
renameAll(blockMapping, ".json", models.resolve("block"));
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Main-Class: net.hypixel.resourcepack.Main

0 comments on commit ef76aeb

Please sign in to comment.