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:
agomizi1cmandClaude Opus 5.5 committed 2026-10-27 10:22:15 +09:00
1 parent 28b1841c2a
commit af0afcb98f
20 files changed
+49 -49

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
# BCx-modern
# CE-modern
Minecraft 1.2.5 時代の BuildCraft × Equivalent Exchange アドオン「BCx」を、Minecraft 1.7.10 (Forge 10.13.4.1614) 向けに移植したものです。
mod「CE」を Minecraft 1.7.10 (Forge 10.13.4.1614) 向けに移植したものです。
## 追加要素
+4 -4
View File
@@ -3,15 +3,15 @@
gtnh.settings.blowdryerTag = 0.2.2
# Human-readable mod name, available for mcmod.info population.
modName = BCx-modern
modName = CE-modern
# Case-sensitive identifier string, available for mcmod.info population and used for automatic mixin JSON generation.
# Conventionally lowercase.
modId = bcxmodern
modId = cemodern
# Root package of the mod, used to find various classes in other properties,
# mcmod.info substitution, enabling assertions in run tasks, etc.
modGroup = net.kanawo.bcxmodern
modGroup = net.kanawo.cemodern
# Whether to use modGroup as the maven publishing group.
# When false, com.github.GTNewHorizons is used.
@@ -74,7 +74,7 @@ enableGenericInjection = true
# Generate a class with a String field for the mod version named as defined below.
# If generateGradleTokenClass is empty or not missing, no such class will be generated.
# If gradleTokenVersion is empty or missing, the field will not be present in the class.
generateGradleTokenClass = net.kanawo.bcxmodern.Tags
generateGradleTokenClass = net.kanawo.cemodern.Tags
# Name of the token containing the project's current version to generate/replace.
gradleTokenVersion = VERSION
@@ -1,4 +1,4 @@
package net.kanawo.bcxmodern;
package net.kanawo.cemodern;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
@@ -9,20 +9,20 @@ import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
@Mod(
modid = BCxModern.MODID,
modid = CEModern.MODID,
version = Tags.VERSION,
name = "BCx-modern",
name = "CE-modern",
acceptedMinecraftVersions = "[1.7.10]",
dependencies = "required-after:BuildCraft|Builders;required-after:ProjectE")
public class BCxModern {
public class CEModern {
public static final String MODID = "bcxmodern";
public static final String MODID = "cemodern";
public static final Logger LOG = LogManager.getLogger(MODID);
@Mod.Instance(MODID)
public static BCxModern instance;
public static CEModern instance;
@SidedProxy(clientSide = "net.kanawo.bcxmodern.ClientProxy", serverSide = "net.kanawo.bcxmodern.CommonProxy")
@SidedProxy(clientSide = "net.kanawo.cemodern.ClientProxy", serverSide = "net.kanawo.cemodern.CommonProxy")
public static CommonProxy proxy;
@Mod.EventHandler
@@ -1,6 +1,6 @@
package net.kanawo.bcxmodern;
package net.kanawo.cemodern;
import net.kanawo.bcxmodern.tile.TileEMCBuilder;
import net.kanawo.cemodern.tile.TileEMCBuilder;
import buildcraft.core.render.RenderBuilder;
import cpw.mods.fml.client.registry.ClientRegistry;
@@ -1,9 +1,9 @@
package net.kanawo.bcxmodern;
package net.kanawo.cemodern;
import net.kanawo.bcxmodern.block.BlockEMCBuilder;
import net.kanawo.bcxmodern.block.SchematicEMCBuilder;
import net.kanawo.bcxmodern.gui.GuiHandler;
import net.kanawo.bcxmodern.tile.TileEMCBuilder;
import net.kanawo.cemodern.block.BlockEMCBuilder;
import net.kanawo.cemodern.block.SchematicEMCBuilder;
import net.kanawo.cemodern.gui.GuiHandler;
import net.kanawo.cemodern.tile.TileEMCBuilder;
import net.minecraft.item.ItemStack;
import buildcraft.BuildCraftBuilders;
@@ -21,11 +21,11 @@ public class CommonProxy {
public void preInit(FMLPreInitializationEvent event) {
emcBuilderBlock = new BlockEMCBuilder();
GameRegistry.registerBlock(emcBuilderBlock, "emcBuilder");
GameRegistry.registerTileEntity(TileEMCBuilder.class, BCxModern.MODID + ":EMCBuilder");
GameRegistry.registerTileEntity(TileEMCBuilder.class, CEModern.MODID + ":EMCBuilder");
}
public void init(FMLInitializationEvent event) {
NetworkRegistry.INSTANCE.registerGuiHandler(BCxModern.instance, new GuiHandler());
NetworkRegistry.INSTANCE.registerGuiHandler(CEModern.instance, new GuiHandler());
BuilderAPI.schematicRegistry.registerSchematicBlock(emcBuilderBlock, SchematicEMCBuilder.class);
@@ -1,8 +1,8 @@
package net.kanawo.bcxmodern.block;
package net.kanawo.cemodern.block;
import net.kanawo.bcxmodern.BCxModern;
import net.kanawo.bcxmodern.gui.GuiHandler;
import net.kanawo.bcxmodern.tile.TileEMCBuilder;
import net.kanawo.cemodern.CEModern;
import net.kanawo.cemodern.gui.GuiHandler;
import net.kanawo.cemodern.tile.TileEMCBuilder;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
@@ -21,7 +21,7 @@ import cpw.mods.fml.relauncher.SideOnly;
public class BlockEMCBuilder extends BlockBuilder {
private static final String TEXTURE_PREFIX = BCxModern.MODID + ":emcbuilderBlock";
private static final String TEXTURE_PREFIX = CEModern.MODID + ":emcbuilderBlock";
public BlockEMCBuilder() {
super();
@@ -68,7 +68,7 @@ public class BlockEMCBuilder extends BlockBuilder {
boolean filledTank = builder != null
&& TankUtils.handleRightClick(builder, ForgeDirection.UNKNOWN, player, true, false);
if (!filledTank && !world.isRemote) {
player.openGui(BCxModern.instance, GuiHandler.EMC_BUILDER, world, x, y, z);
player.openGui(CEModern.instance, GuiHandler.EMC_BUILDER, world, x, y, z);
}
return true;
@@ -1,6 +1,6 @@
package net.kanawo.bcxmodern.block;
package net.kanawo.cemodern.block;
import net.kanawo.bcxmodern.tile.TileEMCBuilder;
import net.kanawo.cemodern.tile.TileEMCBuilder;
import buildcraft.builders.schematics.SchematicBuilderLike;
@@ -1,6 +1,6 @@
package net.kanawo.bcxmodern.gui;
package net.kanawo.cemodern.gui;
import net.kanawo.bcxmodern.tile.TileEMCBuilder;
import net.kanawo.cemodern.tile.TileEMCBuilder;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.IInventory;
@@ -1,10 +1,10 @@
package net.kanawo.bcxmodern.gui;
package net.kanawo.cemodern.gui;
import java.util.ArrayList;
import java.util.List;
import net.kanawo.bcxmodern.BCxModern;
import net.kanawo.bcxmodern.tile.TileEMCBuilder;
import net.kanawo.cemodern.CEModern;
import net.kanawo.cemodern.tile.TileEMCBuilder;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiButton;
import net.minecraft.inventory.IInventory;
@@ -34,7 +34,7 @@ public class GuiEMCBuilder extends GuiAdvancedInterface {
/** BuildCraft's builder.png with the EMC consume slot added. */
private static final ResourceLocation REGULAR_TEXTURE = new ResourceLocation(
BCxModern.MODID,
CEModern.MODID,
"textures/gui/emcbuilder.png");
private static final ResourceLocation BLUEPRINT_TEXTURE = new ResourceLocation(
"buildcraftbuilders:textures/gui/builder_blueprint.png");
@@ -69,7 +69,7 @@ public class GuiEMCBuilder extends GuiAdvancedInterface {
drawCenteredString(
StatCollector.translateToLocalFormatted(
"gui.bcxmodern.stored",
"gui.cemodern.stored",
Constants.EMC_FORMATTER.format(builder.getStoredEmc())),
178 / 2,
51,
@@ -1,6 +1,6 @@
package net.kanawo.bcxmodern.gui;
package net.kanawo.cemodern.gui;
import net.kanawo.bcxmodern.tile.TileEMCBuilder;
import net.kanawo.cemodern.tile.TileEMCBuilder;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
@@ -1,6 +1,6 @@
package net.kanawo.bcxmodern.gui;
package net.kanawo.cemodern.gui;
import net.kanawo.bcxmodern.tile.TileEMCBuilder;
import net.kanawo.cemodern.tile.TileEMCBuilder;
import net.minecraft.inventory.InventoryBasic;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
@@ -1,4 +1,4 @@
package net.kanawo.bcxmodern.tile;
package net.kanawo.cemodern.tile;
import java.util.HashMap;
import java.util.Map;
@@ -12,13 +12,13 @@ import net.minecraft.world.storage.MapStorage;
import net.minecraftforge.common.util.Constants;
/**
* EMC stored for EMC Builders, one balance per player, saved with the world (data/bcxmodern_emc.dat). All
* EMC stored for EMC Builders, one balance per player, saved with the world (data/cemodern_emc.dat). All
* dimensions of a world share the same storage, so every EMC Builder a player owns in the world draws from the same
* balance. Server side only.
*/
public class EmcPool extends WorldSavedData {
private static final String NAME = "bcxmodern_emc";
private static final String NAME = "cemodern_emc";
private static final double MAX_EMC = moze_intel.projecte.utils.Constants.TILE_MAX_EMC;
private final Map<UUID, Double> balances = new HashMap<>();
@@ -1,4 +1,4 @@
package net.kanawo.bcxmodern.tile;
package net.kanawo.cemodern.tile;
import java.util.ArrayList;
import java.util.List;
@@ -1,2 +1,2 @@
tile.emcBuilder.name=EMC Builder
gui.bcxmodern.stored=EMC: %s
gui.cemodern.stored=EMC: %s
@@ -1,2 +1,2 @@
tile.emcBuilder.name=EMCビルダー
gui.bcxmodern.stored=EMC: %s
gui.cemodern.stored=EMC: %s
+2 -2
View File
@@ -3,13 +3,13 @@
"modList": [{
"modid": "${modId}",
"name": "${modName}",
"description": "A Minecraft 1.7.10 port of BCx, a BuildCraft x Equivalent Exchange addon from the 1.2.5 era. Adds the EMC Builder, a BuildCraft Builder that pays for its materials with EMC.",
"description": "A Minecraft 1.7.10 port of CE. Adds the EMC Builder, a BuildCraft Builder that pays for its materials with EMC.",
"version": "${modVersion}",
"mcversion": "${minecraftVersion}",
"url": "",
"updateUrl": "",
"authorList": ["agomizi1cm"],
"credits": "Original BCx for Minecraft 1.2.5. Built on BuildCraft and ProjectE.",
"credits": "Original CE. Built on BuildCraft and ProjectE.",
"logoFile": "",
"screenshots": [],
"parent": "",