diff --git a/StevenDimDoors/README.md b/StevenDimDoors/README.md new file mode 100644 index 0000000..1197485 --- /dev/null +++ b/StevenDimDoors/README.md @@ -0,0 +1,10 @@ +DimDoors +======== + +Dimensional Doors for Minecraft +Adds several items that allow the player to move between and create dimensions + +see the MC forum topic for details + +http://www.minecraftforum.net/topic/1650007-147-dimensional-doors-v110-physics-what-physics-updated-with-fancy-opengl/ + diff --git a/StevenDimDoors/mod_pocketDim/dimHelper.java b/StevenDimDoors/mod_pocketDim/dimHelper.java index 81b9afc..6ea6776 100644 --- a/StevenDimDoors/mod_pocketDim/dimHelper.java +++ b/StevenDimDoors/mod_pocketDim/dimHelper.java @@ -877,11 +877,11 @@ public class dimHelper extends DimensionManager } - // File oldSave=new File( world.getSaveHandler().getMapFileFromName("idcounts").getParent()+"/PocketDimData"); //checks to see if old save data is present - // if(oldSave.exists()) - // { - // OldSaveHandler.handleOldSaveData(oldSave); - // } + File oldSave=new File( world.getSaveHandler().getMapFileFromName("idcounts").getParent()+"/PocketDimData"); //checks to see if old save data is present + if(oldSave.exists()) + { + OldSaveHandler.handleOldSaveData(oldSave); + } saveFile = new FileInputStream(dataStore); diff --git a/build.xml b/build.xml new file mode 100644 index 0000000..3b21e57 --- /dev/null +++ b/build.xml @@ -0,0 +1,200 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/PocketBlockTextures.png b/resources/PocketBlockTextures.png index 059dad5..c9cb640 100644 Binary files a/resources/PocketBlockTextures.png and b/resources/PocketBlockTextures.png differ diff --git a/versionscript.py b/versionscript.py new file mode 100644 index 0000000..d86282a --- /dev/null +++ b/versionscript.py @@ -0,0 +1,29 @@ +import sys +import json +import string + + +argversion = sys.argv + +versionlist = argversion[1].split('R') + +mcversion = versionlist[0] +mfrversion = versionlist[1] +if(len(versionlist) > 2): + mfrversion = versionlist[1]+"R"+versionlist[2] + +mcmod=open('mcmod.info', 'r') + +data = json.load(mcmod) + +for mod in data: + for attribute, value in mod.iteritems(): + if (attribute == 'version'): + mod[attribute] = mfrversion + if (attribute == 'mcversion'): + mod[attribute] = mcversion + +mcmod=open('mcmod.info', 'w') +json.dump(data, mcmod, indent=4) + +print (mfrversion) \ No newline at end of file