8 Commits
4 changed files with 42 additions and 6 deletions

No files matched your search

+19
View File
@@ -11,6 +11,15 @@ loading hooks, and more.
### Mod logo by Houstonruss
NotEnoughIDs Compatibility Notice
-----
This mod is NOT compatible with NotEnoughIDs (both the original and the GTNH variant). use [EndlessIDs](https://github.com/GTMEGA/EndlessIDs) instead.
**BACKUP YOUR SAVE FIRST!**
If you only need ID extension on block/item IDs, you can turn off the extensions of other ID types in EndlessIDs to prevent compatibility issues!
Goals
-----
@@ -112,7 +121,17 @@ Manager data:
| 4 | int | (m) Manager data length |
| m | byte[m] | Manager data |
## Strict No LLM / No AI Policy
No LLMs for issues.
No LLMs for patches / pull requests.
No LLMs for comments on the bug tracker, including translation.
English is encouraged, but not required. You are welcome to post in your native
language and rely on others to have their own translation tools of choice to
interpret your words.
Dependencies
------------
@@ -413,11 +413,14 @@ public class DataRegistryImpl {
StartupQuery.abort();
}
try {
ZipperUtil.backupWorld();
} catch (IOException e) {
StartupQuery.notify("The world backup couldn't be created.\n\n" + e);
StartupQuery.abort();
String skip = System.getProperty("fml.doNotBackup");
if (skip == null || !"true".equals(skip)) {
try {
ZipperUtil.backupWorld();
} catch (IOException e) {
StartupQuery.notify("The world backup couldn't be created.\n\n" + e);
StartupQuery.abort();
}
}
}
}
@@ -122,7 +122,7 @@ public enum Mixin implements IMixins {
{
try
{
Class.forName("thermos.Thermos");
Class.forName("thermos.ThermosClassTransformer");
return true;
}
catch(ClassNotFoundException ignored) {
@@ -57,6 +57,20 @@ public class SkylightManager extends NibbleManager implements DataManager.SubChu
}
}
@Override
public void writeToBuffer(Chunk chunk, ExtendedBlockStorage blockStorage, ByteBuffer buffer) {
if (!chunk.worldObj.provider.hasNoSky) {
super.writeToBuffer(chunk, blockStorage, buffer);
}
}
@Override
public void readFromBuffer(Chunk chunk, ExtendedBlockStorage blockStorage, ByteBuffer buffer) {
if (!chunk.worldObj.provider.hasNoSky) {
super.readFromBuffer(chunk, blockStorage, buffer);
}
}
@Override
public boolean subChunkPrivilegedAccess() {
return true;