Files
CE-modern/src/main/java/net/kanawo/cemodern/block/SchematicEMCBuilder.java
T
agomizi1cmandClaude Opus 5.5 af0afcb98f 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>
2026-10-27 10:22:15 +09:00

23 lines
637 B
Java

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);
}
}
}