mirror of
https://github.com/LegacyModdingMC/ChunkAPI.git
synced 2026-10-27 14:53:37 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a05638f671 | ||
|
|
e68cbb570b | ||
|
|
7b885a5f12 | ||
|
|
18f7d15f3a | ||
|
|
039017a286 | ||
|
|
40d27c7ee6 | ||
|
|
d7b4afe9c3 | ||
|
|
1ba33b64a0 |
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user