Rename to CE-modern, a 1.7.10 port of CE
Position this mod as a port of CE instead of BCx. - Rename the mod to CE-modern (modid cemodern) and the package to net.kanawo.cemodern; the main class is now CEModern. - Move assets to assets/cemodern and rename the lang key and EMC save data to match. - Describe the mod as a port of CE in the README and mcmod.info. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
28b1841c2a
commit
af0afcb98f
20 files changed
+49
-49
No files matched your search
@@ -0,0 +1,22 @@
|
||||
package net.kanawo.cemodern.block;
|
||||
|
||||
import net.kanawo.cemodern.tile.TileEMCBuilder;
|
||||
|
||||
import buildcraft.builders.schematics.SchematicBuilderLike;
|
||||
|
||||
/**
|
||||
* Blueprint schematic that, like the Builder's, drops the build state, and also drops the owner, so a copy built by
|
||||
* someone else does not draw on the original owner's EMC.
|
||||
*/
|
||||
public class SchematicEMCBuilder extends SchematicBuilderLike {
|
||||
|
||||
@Override
|
||||
public void onNBTLoaded() {
|
||||
super.onNBTLoaded();
|
||||
|
||||
if (tileNBT != null) {
|
||||
tileNBT.removeTag(TileEMCBuilder.OWNER_MOST);
|
||||
tileNBT.removeTag(TileEMCBuilder.OWNER_LEAST);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user