Skip to content

Commit

Permalink
remove energy field projector, cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
serenibyss committed Aug 15, 2021
1 parent 73f6bdc commit 11ecde2
Show file tree
Hide file tree
Showing 10 changed files with 50 additions and 198 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG-GTCEU.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@
- Microwave, Amplifabricator, and Tesla Coil were removed
- Dust-only Materials no longer generate blocks
- GT Chests were removed (in favor of Crates, Super Chests, Quantum Chests)
- Single-Use Batteries were removed (Except the ZPM)
- Energy Field Projector was removed
- Re-breather was removed

### Misc Changes
- Many Material colors and IconSets (their overall appearance) have been updated
Expand Down
142 changes: 0 additions & 142 deletions src/main/java/gregtech/common/items/FieldProjectorEventHandler.java

This file was deleted.

22 changes: 11 additions & 11 deletions src/main/java/gregtech/common/items/MetaItem1.java
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ public void registerSubItems() {
INTEGRATED_CIRCUIT = addItem(461, "circuit.integrated").addComponents(new IntCircuitBehaviour()).setModelAmount(33);
FOAM_SPRAYER = addItem(462, "foam_sprayer").addComponents(new FoamSprayerBehavior()).setMaxStackSize(1);
NANO_SABER = addItem(463, "nano_saber").addComponents(ElectricStats.createElectricItem(4000000L, GTValues.HV)).addComponents(new NanoSaberBehavior()).setMaxStackSize(1);
ENERGY_FIELD_PROJECTOR = addItem(464, "energy_field_projector").addComponents(ElectricStats.createElectricItem(16000000L, GTValues.EV)).setMaxStackSize(1);
// Free ID 464
SCANNER = addItem(465, "scanner").addComponents(ElectricStats.createElectricItem(200_000L, GTValues.LV), new ScannerBehavior(50));
/* CLIPBOARD GOES HERE - ID 466 */

Expand Down Expand Up @@ -520,19 +520,19 @@ public void registerSubItems() {
BATTERY_HULL_HV = addItem(719, "battery.hull.hv").setMaterialInfo(new ItemMaterialInfo(new MaterialStack(Materials.BatteryAlloy, OrePrefix.plate.materialAmount * 9L)));

// Batteries: 731-775
BATTERY_RE_ULV_TANTALUM = addItem(731, "battery.re.ulv.tantalum").addComponents(ElectricStats.createRechargeableBattery(1000, 0));
BATTERY_ULV_TANTALUM = addItem(731, "battery.re.ulv.tantalum").addComponents(ElectricStats.createRechargeableBattery(1000, 0));

BATTERY_RE_LV_SODIUM = addItem(732, "battery.re.lv.sodium").addComponents(ElectricStats.createRechargeableBattery(80000, 1)).setModelAmount(8);
BATTERY_RE_MV_SODIUM = addItem(733, "battery.re.mv.sodium").addComponents(ElectricStats.createRechargeableBattery(360000, 2)).setModelAmount(8);
BATTERY_RE_HV_SODIUM = addItem(734, "battery.re.hv.sodium").addComponents(ElectricStats.createRechargeableBattery(1200000, 3)).setModelAmount(8);
BATTERY_LV_SODIUM = addItem(732, "battery.re.lv.sodium").addComponents(ElectricStats.createRechargeableBattery(80000, 1)).setModelAmount(8);
BATTERY_MV_SODIUM = addItem(733, "battery.re.mv.sodium").addComponents(ElectricStats.createRechargeableBattery(360000, 2)).setModelAmount(8);
BATTERY_HV_SODIUM = addItem(734, "battery.re.hv.sodium").addComponents(ElectricStats.createRechargeableBattery(1200000, 3)).setModelAmount(8);

BATTERY_RE_LV_LITHIUM = addItem(735, "battery.re.lv.lithium").addComponents(ElectricStats.createRechargeableBattery(100000, 1)).setModelAmount(8);
BATTERY_RE_MV_LITHIUM = addItem(736, "battery.re.mv.lithium").addComponents(ElectricStats.createRechargeableBattery(400000, 2)).setModelAmount(8);
BATTERY_RE_HV_LITHIUM = addItem(737, "battery.re.hv.lithium").addComponents(ElectricStats.createRechargeableBattery(1600000, 3)).setModelAmount(8);
BATTERY_LV_LITHIUM = addItem(735, "battery.re.lv.lithium").addComponents(ElectricStats.createRechargeableBattery(100000, 1)).setModelAmount(8);
BATTERY_MV_LITHIUM = addItem(736, "battery.re.mv.lithium").addComponents(ElectricStats.createRechargeableBattery(400000, 2)).setModelAmount(8);
BATTERY_HV_LITHIUM = addItem(737, "battery.re.hv.lithium").addComponents(ElectricStats.createRechargeableBattery(1600000, 3)).setModelAmount(8);

BATTERY_RE_LV_CADMIUM = addItem(738, "battery.re.lv.cadmium").addComponents(ElectricStats.createRechargeableBattery(120000, 1)).setModelAmount(8);
BATTERY_RE_MV_CADMIUM = addItem(739, "battery.re.mv.cadmium").addComponents(ElectricStats.createRechargeableBattery(420000, 2)).setModelAmount(8);
BATTERY_RE_HV_CADMIUM = addItem(740, "battery.re.hv.cadmium").addComponents(ElectricStats.createRechargeableBattery(1800000, 3)).setModelAmount(8);
BATTERY_LV_CADMIUM = addItem(738, "battery.re.lv.cadmium").addComponents(ElectricStats.createRechargeableBattery(120000, 1)).setModelAmount(8);
BATTERY_MV_CADMIUM = addItem(739, "battery.re.mv.cadmium").addComponents(ElectricStats.createRechargeableBattery(420000, 2)).setModelAmount(8);
BATTERY_HV_CADMIUM = addItem(740, "battery.re.hv.cadmium").addComponents(ElectricStats.createRechargeableBattery(1800000, 3)).setModelAmount(8);

ENERGY_CRYSTAL = addItem(741, "energy_crystal").addComponents(ElectricStats.createRechargeableBattery(4000000L, GTValues.HV)).setModelAmount(8).setMaxStackSize(1);
LAPOTRON_CRYSTAL = addItem(742, "lapotron_crystal").addComponents(ElectricStats.createRechargeableBattery(10000000L, GTValues.EV)).setModelAmount(8).setMaxStackSize(1);
Expand Down
21 changes: 10 additions & 11 deletions src/main/java/gregtech/common/items/MetaItems.java
Original file line number Diff line number Diff line change
Expand Up @@ -131,16 +131,16 @@ private MetaItems() {
public static MetaItem<?>.MetaValueItem BATTERY_HULL_MV;
public static MetaItem<?>.MetaValueItem BATTERY_HULL_HV;

public static MetaItem<?>.MetaValueItem BATTERY_RE_ULV_TANTALUM;
public static MetaItem<?>.MetaValueItem BATTERY_RE_LV_CADMIUM;
public static MetaItem<?>.MetaValueItem BATTERY_RE_LV_LITHIUM;
public static MetaItem<?>.MetaValueItem BATTERY_RE_LV_SODIUM;
public static MetaItem<?>.MetaValueItem BATTERY_RE_MV_CADMIUM;
public static MetaItem<?>.MetaValueItem BATTERY_RE_MV_LITHIUM;
public static MetaItem<?>.MetaValueItem BATTERY_RE_MV_SODIUM;
public static MetaItem<?>.MetaValueItem BATTERY_RE_HV_CADMIUM;
public static MetaItem<?>.MetaValueItem BATTERY_RE_HV_LITHIUM;
public static MetaItem<?>.MetaValueItem BATTERY_RE_HV_SODIUM;
public static MetaItem<?>.MetaValueItem BATTERY_ULV_TANTALUM;
public static MetaItem<?>.MetaValueItem BATTERY_LV_CADMIUM;
public static MetaItem<?>.MetaValueItem BATTERY_LV_LITHIUM;
public static MetaItem<?>.MetaValueItem BATTERY_LV_SODIUM;
public static MetaItem<?>.MetaValueItem BATTERY_MV_CADMIUM;
public static MetaItem<?>.MetaValueItem BATTERY_MV_LITHIUM;
public static MetaItem<?>.MetaValueItem BATTERY_MV_SODIUM;
public static MetaItem<?>.MetaValueItem BATTERY_HV_CADMIUM;
public static MetaItem<?>.MetaValueItem BATTERY_HV_LITHIUM;
public static MetaItem<?>.MetaValueItem BATTERY_HV_SODIUM;
public static MetaItem<?>.MetaValueItem ENERGY_CRYSTAL;
public static MetaItem<?>.MetaValueItem LAPOTRON_CRYSTAL;

Expand Down Expand Up @@ -415,7 +415,6 @@ private MetaItems() {
public static MetaItem<?>.MetaValueItem POWER_UNIT_IV;

public static MetaItem<?>.MetaValueItem NANO_SABER;
public static MetaItem<?>.MetaValueItem ENERGY_FIELD_PROJECTOR;
public static MetaItem<?>.MetaValueItem SCANNER;

public static final MetaItem<?>.MetaValueItem[] DYE_ONLY_ITEMS = new MetaItem.MetaValueItem[EnumDyeColor.values().length];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ public static void initializeMetaItems() {
baseMaterials = new Material[]{Materials.Aluminium, Materials.StainlessSteel, Materials.Titanium, Materials.TungstenSteel, Materials.HSSS};
powerUnitItems = new MetaValueItem[]{MetaItems.POWER_UNIT_LV, MetaItems.POWER_UNIT_MV, MetaItems.POWER_UNIT_HV, MetaItems.POWER_UNIT_EV, MetaItems.POWER_UNIT_IV};
batteryItems = new MetaValueItem[][]{
{MetaItems.BATTERY_RE_LV_LITHIUM, MetaItems.BATTERY_RE_LV_CADMIUM, MetaItems.BATTERY_RE_LV_SODIUM},
{MetaItems.BATTERY_RE_MV_LITHIUM, MetaItems.BATTERY_RE_MV_CADMIUM, MetaItems.BATTERY_RE_MV_SODIUM},
{MetaItems.BATTERY_RE_HV_LITHIUM, MetaItems.BATTERY_RE_HV_CADMIUM, MetaItems.BATTERY_RE_HV_SODIUM},
{MetaItems.BATTERY_LV_LITHIUM, MetaItems.BATTERY_LV_CADMIUM, MetaItems.BATTERY_LV_SODIUM},
{MetaItems.BATTERY_MV_LITHIUM, MetaItems.BATTERY_MV_CADMIUM, MetaItems.BATTERY_MV_SODIUM},
{MetaItems.BATTERY_HV_LITHIUM, MetaItems.BATTERY_HV_CADMIUM, MetaItems.BATTERY_HV_SODIUM},
{MetaItems.LAPOTRON_CRYSTAL},
{MetaItems.ENERGY_LAPOTRONIC_ORB}};
}
Expand Down
Loading

0 comments on commit 11ecde2

Please sign in to comment.