aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/goodgenerator/items
diff options
context:
space:
mode:
authorRaven Szewczyk <git@eigenraven.me>2024-05-25 14:05:54 +0100
committerRaven Szewczyk <git@eigenraven.me>2024-05-25 14:05:54 +0100
commit84481c22d7d4e0834de97a150d257ce6e85ad690 (patch)
treeb988e796d924e443195c370cd9a8d70636d8104d /src/main/java/goodgenerator/items
parent38c0e7b45323f37cf84e54dcaef578e7faf1d473 (diff)
downloadGT5-Unofficial-84481c22d7d4e0834de97a150d257ce6e85ad690.tar.gz
GT5-Unofficial-84481c22d7d4e0834de97a150d257ce6e85ad690.tar.bz2
GT5-Unofficial-84481c22d7d4e0834de97a150d257ce6e85ad690.zip
Update spotless to the GT5u version
Diffstat (limited to 'src/main/java/goodgenerator/items')
-rw-r--r--src/main/java/goodgenerator/items/DepletedFuelRod.java2
-rw-r--r--src/main/java/goodgenerator/items/FuelRod.java37
-rw-r--r--src/main/java/goodgenerator/items/MyItemBlocks.java21
-rw-r--r--src/main/java/goodgenerator/items/MyMaterial.java2284
4 files changed, 1286 insertions, 1058 deletions
diff --git a/src/main/java/goodgenerator/items/DepletedFuelRod.java b/src/main/java/goodgenerator/items/DepletedFuelRod.java
index 62d863adc9..308f149933 100644
--- a/src/main/java/goodgenerator/items/DepletedFuelRod.java
+++ b/src/main/java/goodgenerator/items/DepletedFuelRod.java
@@ -23,7 +23,7 @@ public class DepletedFuelRod extends RadioactiveItem implements IReactorComponen
@Override
public boolean acceptUraniumPulse(IReactor iReactor, ItemStack itemStack, ItemStack itemStack1, int i, int i1,
- int i2, int i3, boolean b) {
+ int i2, int i3, boolean b) {
return false;
}
diff --git a/src/main/java/goodgenerator/items/FuelRod.java b/src/main/java/goodgenerator/items/FuelRod.java
index 5f22826e15..00ca8b3491 100644
--- a/src/main/java/goodgenerator/items/FuelRod.java
+++ b/src/main/java/goodgenerator/items/FuelRod.java
@@ -31,7 +31,7 @@ public class FuelRod extends RadioactiveItem implements IReactorComponent, IBoxa
private final ItemStack result;
public FuelRod(String aName, int aCells, int aEUt, int aHeat, int aRads, int aDuration, ItemStack aResult,
- CreativeTabs Tab) {
+ CreativeTabs Tab) {
super(aName, Tab, aRads);
this.setMaxStackSize(64);
this.numberOfCells = aCells;
@@ -43,7 +43,7 @@ public class FuelRod extends RadioactiveItem implements IReactorComponent, IBoxa
}
public FuelRod(String aName, int aCells, int aEUt, int aHeat, int aRads, int aDuration, float aHeatBonus,
- ItemStack aResult, CreativeTabs Tab) {
+ ItemStack aResult, CreativeTabs Tab) {
super(aName, Tab, aRads);
this.setMaxStackSize(64);
this.numberOfCells = aCells;
@@ -70,9 +70,9 @@ public class FuelRod extends RadioactiveItem implements IReactorComponent, IBoxa
checkPulseable(reactor, x, y + 1, stack, x, y, heatRun);
} else {
pulses += checkPulseable(reactor, x - 1, y, stack, x, y, heatRun)
- + checkPulseable(reactor, x + 1, y, stack, x, y, heatRun)
- + checkPulseable(reactor, x, y - 1, stack, x, y, heatRun)
- + checkPulseable(reactor, x, y + 1, stack, x, y, heatRun);
+ + checkPulseable(reactor, x + 1, y, stack, x, y, heatRun)
+ + checkPulseable(reactor, x, y - 1, stack, x, y, heatRun)
+ + checkPulseable(reactor, x, y + 1, stack, x, y, heatRun);
heat = sumUp(pulses) * this.Heat;
ArrayList<FuelRod.ItemStackCoord> heatAcceptors = new ArrayList<>();
this.checkHeatAcceptor(reactor, x - 1, y, heatAcceptors);
@@ -84,11 +84,11 @@ public class FuelRod extends RadioactiveItem implements IReactorComponent, IBoxa
int dheat = heat / heatAcceptors.size();
heat -= dheat;
dheat = ((IReactorComponent) heatAcceptors.get(0).stack.getItem()).alterHeat(
- reactor,
- heatAcceptors.get(0).stack,
- heatAcceptors.get(0).x,
- heatAcceptors.get(0).y,
- dheat);
+ reactor,
+ heatAcceptors.get(0).stack,
+ heatAcceptors.get(0).x,
+ heatAcceptors.get(0).y,
+ dheat);
heat += dheat;
heatAcceptors.remove(0);
}
@@ -109,9 +109,8 @@ public class FuelRod extends RadioactiveItem implements IReactorComponent, IBoxa
private static int checkPulseable(IReactor reactor, int x, int y, ItemStack me, int mex, int mey, boolean heatrun) {
ItemStack other = reactor.getItemAt(x, y);
return other != null && other.getItem() instanceof IReactorComponent
- && ((IReactorComponent) other.getItem()).acceptUraniumPulse(reactor, other, me, x, y, mex, mey, heatrun)
- ? 1
- : 0;
+ && ((IReactorComponent) other.getItem()).acceptUraniumPulse(reactor, other, me, x, y, mex, mey, heatrun) ? 1
+ : 0;
}
private static int sumUp(int x) {
@@ -121,13 +120,13 @@ public class FuelRod extends RadioactiveItem implements IReactorComponent, IBoxa
private void checkHeatAcceptor(IReactor reactor, int x, int y, ArrayList<FuelRod.ItemStackCoord> heatAcceptors) {
ItemStack thing = reactor.getItemAt(x, y);
if (thing != null && thing.getItem() instanceof IReactorComponent
- && ((IReactorComponent) thing.getItem()).canStoreHeat(reactor, thing, x, y)) {
+ && ((IReactorComponent) thing.getItem()).canStoreHeat(reactor, thing, x, y)) {
heatAcceptors.add(new ItemStackCoord(thing, x, y));
}
}
public boolean acceptUraniumPulse(IReactor reactor, ItemStack yourStack, ItemStack pulsingStack, int youX, int youY,
- int pulseX, int pulseY, boolean heatrun) {
+ int pulseX, int pulseY, boolean heatrun) {
if (!heatrun) {
reactor.addOutput(Power * (1 + HeatBonus * ((float) reactor.getHeat() / (float) reactor.getMaxHeat())));
}
@@ -201,10 +200,10 @@ public class FuelRod extends RadioactiveItem implements IReactorComponent, IBoxa
public void addInformation(ItemStack item, EntityPlayer player, List tooltip, boolean p_77624_4_) {
super.addInformation(item, player, tooltip, p_77624_4_);
tooltip.add(
- String.format(
- addText("fuelrod.tooltip", 1)[0],
- getMaxCustomDamage(item) - getCustomDamage(item),
- getMaxCustomDamage(item)));
+ String.format(
+ addText("fuelrod.tooltip", 1)[0],
+ getMaxCustomDamage(item) - getCustomDamage(item),
+ getMaxCustomDamage(item)));
double tMut = this.Heat / 4.0;
if (this.Heat == 4) {
tooltip.add(StatCollector.translateToLocal("fuelrodheat.tooltip.0"));
diff --git a/src/main/java/goodgenerator/items/MyItemBlocks.java b/src/main/java/goodgenerator/items/MyItemBlocks.java
index b7a3bc6d45..3ee7347e97 100644
--- a/src/main/java/goodgenerator/items/MyItemBlocks.java
+++ b/src/main/java/goodgenerator/items/MyItemBlocks.java
@@ -26,9 +26,9 @@ import gregtech.api.util.GT_LanguageManager;
public class MyItemBlocks extends ItemBlock {
private final String mNoMobsToolTip = GT_LanguageManager
- .addStringLocalization("gt.nomobspawnsonthisblock", "Mobs cannot Spawn on this Block");
+ .addStringLocalization("gt.nomobspawnsonthisblock", "Mobs cannot Spawn on this Block");
private final String mNoTileEntityToolTip = GT_LanguageManager
- .addStringLocalization("gt.notileentityinthisblock", "This is NOT a TileEntity!");
+ .addStringLocalization("gt.notileentityinthisblock", "This is NOT a TileEntity!");
public MyItemBlocks(Block block) {
super(block);
@@ -78,27 +78,28 @@ public class MyItemBlocks extends ItemBlock {
if (tile.getIndex() == 2) {
tooltip.add(StatCollector.translateToLocal("EssentiaOutputHatch.tooltip.0"));
tooltip.add(
- StatCollector.translateToLocal("EssentiaOutputHatch.tooltip.1") + " "
- + EssentiaOutputHatch.CAPACITY);
+ StatCollector.translateToLocal("EssentiaOutputHatch.tooltip.1") + " "
+ + EssentiaOutputHatch.CAPACITY);
}
} else {
tooltip.add(mNoTileEntityToolTip);
}
- if (Block.getBlockFromItem(stack.getItem()).equals(yottaFluidTankCell)) {
+ if (Block.getBlockFromItem(stack.getItem())
+ .equals(yottaFluidTankCell)) {
StringBuilder cap = new StringBuilder();
cap.append(" 1000000");
for (int i = 0; i < stack.getItemDamage(); i++) cap.append("00");
cap.append(" L");
tooltip.add(
- StatCollector.translateToLocal("YOTTankCell.tooltip.0")
- + CharExchanger.formatNumber(cap.toString()));
+ StatCollector.translateToLocal("YOTTankCell.tooltip.0") + CharExchanger.formatNumber(cap.toString()));
tooltip.add(StatCollector.translateToLocal("YOTTankCell.tooltip.1"));
}
- if (Block.getBlockFromItem(stack.getItem()).equals(essentiaCell)) {
- tooltip.add(
- StatCollector.translateToLocal("hatchTier.tooltip.0") + " " + tierName[stack.getItemDamage() + 4]);
+ if (Block.getBlockFromItem(stack.getItem())
+ .equals(essentiaCell)) {
+ tooltip
+ .add(StatCollector.translateToLocal("hatchTier.tooltip.0") + " " + tierName[stack.getItemDamage() + 4]);
}
}
}
diff --git a/src/main/java/goodgenerator/items/MyMaterial.java b/src/main/java/goodgenerator/items/MyMaterial.java
index 47214636e9..1e75167ef0 100644
--- a/src/main/java/goodgenerator/items/MyMaterial.java
+++ b/src/main/java/goodgenerator/items/MyMaterial.java
@@ -17,442 +17,504 @@ public class MyMaterial implements Runnable {
// Uranium Based Fuel Line
public static final Werkstoff graphiteUraniumMixture = new Werkstoff(
- new short[] { 0x3a, 0x77, 0x3d },
- "Graphite-Uranium Mixture",
- subscriptNumbers("C3U"),
- new Werkstoff.Stats(),
- Werkstoff.Types.MIXTURE,
- new Werkstoff.GenerationFeatures().disable().addMixerRecipes().onlyDust(),
- OffsetID,
- TextureSet.SET_DULL,
- new Pair<>(Graphite, 3),
- new Pair<>(Uranium, 1));
+ new short[] { 0x3a, 0x77, 0x3d },
+ "Graphite-Uranium Mixture",
+ subscriptNumbers("C3U"),
+ new Werkstoff.Stats(),
+ Werkstoff.Types.MIXTURE,
+ new Werkstoff.GenerationFeatures().disable()
+ .addMixerRecipes()
+ .onlyDust(),
+ OffsetID,
+ TextureSet.SET_DULL,
+ new Pair<>(Graphite, 3),
+ new Pair<>(Uranium, 1));
public static final Werkstoff uraniumBasedLiquidFuel = new Werkstoff(
- new short[] { 0x00, 0xff, 0x00 },
- "Uranium Based Liquid Fuel",
- subscriptNumbers("U36K8Qt4Rn"),
- new Werkstoff.Stats().setRadioactive(true),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().addCells(),
- OffsetID + 1,
- TextureSet.SET_FLUID);
+ new short[] { 0x00, 0xff, 0x00 },
+ "Uranium Based Liquid Fuel",
+ subscriptNumbers("U36K8Qt4Rn"),
+ new Werkstoff.Stats().setRadioactive(true),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .addCells(),
+ OffsetID + 1,
+ TextureSet.SET_FLUID);
public static final Werkstoff uraniumBasedLiquidFuelExcited = new Werkstoff(
- new short[] { 0x00, 0xff, 0x00 },
- "Uranium Based Liquid Fuel (Excited State)",
- subscriptNumbers("*(U36K8Qt4Rn)*"),
- new Werkstoff.Stats().setRadioactive(true),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().addCells(),
- OffsetID + 2,
- TextureSet.SET_FLUID);
+ new short[] { 0x00, 0xff, 0x00 },
+ "Uranium Based Liquid Fuel (Excited State)",
+ subscriptNumbers("*(U36K8Qt4Rn)*"),
+ new Werkstoff.Stats().setRadioactive(true),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .addCells(),
+ OffsetID + 2,
+ TextureSet.SET_FLUID);
public static final Werkstoff uraniumBasedLiquidFuelDepleted = new Werkstoff(
- new short[] { 0x6e, 0x8b, 0x3d },
- "Uranium Based Liquid Fuel (Depleted)",
- subscriptNumbers("Pb?Bi?Ba?Xe?"),
- new Werkstoff.Stats().setToxic(true),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().addCells(),
- OffsetID + 3,
- TextureSet.SET_FLUID);
+ new short[] { 0x6e, 0x8b, 0x3d },
+ "Uranium Based Liquid Fuel (Depleted)",
+ subscriptNumbers("Pb?Bi?Ba?Xe?"),
+ new Werkstoff.Stats().setToxic(true),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .addCells(),
+ OffsetID + 3,
+ TextureSet.SET_FLUID);
// Thorium Based Fuel
public static final Werkstoff uraniumCarbideThoriumMixture = new Werkstoff(
- new short[] { 0x16, 0x32, 0x07 },
- "Uranium Carbide-Thorium Mixture",
- Werkstoff.Types.MIXTURE,
- new Werkstoff.GenerationFeatures().disable().addMixerRecipes().onlyDust(),
- OffsetID + 4,
- TextureSet.SET_DULL,
- new Pair<>(Thorium, 11),
- new Pair<>(WerkstoffLoader.Thorium232, 1),
- new Pair<>(Uranium235, 1),
- new Pair<>(Carbon, 3));
+ new short[] { 0x16, 0x32, 0x07 },
+ "Uranium Carbide-Thorium Mixture",
+ Werkstoff.Types.MIXTURE,
+ new Werkstoff.GenerationFeatures().disable()
+ .addMixerRecipes()
+ .onlyDust(),
+ OffsetID + 4,
+ TextureSet.SET_DULL,
+ new Pair<>(Thorium, 11),
+ new Pair<>(WerkstoffLoader.Thorium232, 1),
+ new Pair<>(Uranium235, 1),
+ new Pair<>(Carbon, 3));
public static final Werkstoff thoriumBasedLiquidFuel = new Werkstoff(
- new short[] { 0x50, 0x32, 0x66 },
- "Thorium Based Liquid Fuel",
- subscriptNumbers("Th432Li4D2Hg"),
- new Werkstoff.Stats().setRadioactive(true),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().addCells(),
- OffsetID + 5,
- TextureSet.SET_FLUID);
+ new short[] { 0x50, 0x32, 0x66 },
+ "Thorium Based Liquid Fuel",
+ subscriptNumbers("Th432Li4D2Hg"),
+ new Werkstoff.Stats().setRadioactive(true),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .addCells(),
+ OffsetID + 5,
+ TextureSet.SET_FLUID);
public static final Werkstoff thoriumBasedLiquidFuelExcited = new Werkstoff(
- new short[] { 0x50, 0x32, 0x66 },
- "Thorium Based Liquid Fuel (Excited State)",
- subscriptNumbers("*(Th432Li4D2Hg)*"),
- new Werkstoff.Stats().setRadioactive(true),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().addCells(),
- OffsetID + 6,
- TextureSet.SET_FLUID);
+ new short[] { 0x50, 0x32, 0x66 },
+ "Thorium Based Liquid Fuel (Excited State)",
+ subscriptNumbers("*(Th432Li4D2Hg)*"),
+ new Werkstoff.Stats().setRadioactive(true),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .addCells(),
+ OffsetID + 6,
+ TextureSet.SET_FLUID);
public static final Werkstoff thoriumBasedLiquidFuelDepleted = new Werkstoff(
- new short[] { 0x7d, 0x6c, 0x8a },
- "Thorium Based Liquid Fuel (Depleted)",
- subscriptNumbers("Th?Pr?B?In?"),
- new Werkstoff.Stats().setToxic(true),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().addCells(),
- OffsetID + 7,
- TextureSet.SET_FLUID);
+ new short[] { 0x7d, 0x6c, 0x8a },
+ "Thorium Based Liquid Fuel (Depleted)",
+ subscriptNumbers("Th?Pr?B?In?"),
+ new Werkstoff.Stats().setToxic(true),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .addCells(),
+ OffsetID + 7,
+ TextureSet.SET_FLUID);
// Plutonium Based Fuel
public static final Werkstoff plutoniumOxideUraniumMixture = new Werkstoff(
- new short[] { 0xd1, 0x1f, 0x4a },
- "Plutonium Oxide-Uranium Mixture",
- Werkstoff.Types.MIXTURE,
- new Werkstoff.GenerationFeatures().disable().addMixerRecipes().onlyDust(),
- OffsetID + 8,
- TextureSet.SET_SHINY,
- new Pair<>(Plutonium, 10),
- new Pair<>(Oxygen, 12),
- new Pair<>(Uranium, 2),
- new Pair<>(Carbon, 8));
+ new short[] { 0xd1, 0x1f, 0x4a },
+ "Plutonium Oxide-Uranium Mixture",
+ Werkstoff.Types.MIXTURE,
+ new Werkstoff.GenerationFeatures().disable()
+ .addMixerRecipes()
+ .onlyDust(),
+ OffsetID + 8,
+ TextureSet.SET_SHINY,
+ new Pair<>(Plutonium, 10),
+ new Pair<>(Oxygen, 12),
+ new Pair<>(Uranium, 2),
+ new Pair<>(Carbon, 8));
public static final Werkstoff plutoniumBasedLiquidFuel = new Werkstoff(
- new short[] { 0xef, 0x15, 0x15 },
- "Plutonium Based Liquid Fuel",
- subscriptNumbers("Pu45Nt8Cs16Nq2"),
- new Werkstoff.Stats().setRadioactive(true),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().addCells(),
- OffsetID + 9,
- TextureSet.SET_FLUID);
+ new short[] { 0xef, 0x15, 0x15 },
+ "Plutonium Based Liquid Fuel",
+ subscriptNumbers("Pu45Nt8Cs16Nq2"),
+ new Werkstoff.Stats().setRadioactive(true),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .addCells(),
+ OffsetID + 9,
+ TextureSet.SET_FLUID);
public static final Werkstoff plutoniumBasedLiquidFuelExcited = new Werkstoff(
- new short[] { 0xef, 0x15, 0x15 },
- "Plutonium Based Liquid Fuel (Excited State)",
- subscriptNumbers("*(Pu45Nt8Cs16Nq2)*"),
- new Werkstoff.Stats().setRadioactive(true),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().addCells(),
- OffsetID + 10,
- TextureSet.SET_FLUID);
+ new short[] { 0xef, 0x15, 0x15 },
+ "Plutonium Based Liquid Fuel (Excited State)",
+ subscriptNumbers("*(Pu45Nt8Cs16Nq2)*"),
+ new Werkstoff.Stats().setRadioactive(true),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .addCells(),
+ OffsetID + 10,
+ TextureSet.SET_FLUID);
public static final Werkstoff plutoniumBasedLiquidFuelDepleted = new Werkstoff(
- new short[] { 0x67, 0x19, 0x19 },
- "Plutonium Based Liquid Fuel (Depleted)",
- subscriptNumbers("Tn?Ce?Au?Kr?"),
- new Werkstoff.Stats().setToxic(true),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().addCells(),
- OffsetID + 11,
- TextureSet.SET_FLUID);
+ new short[] { 0x67, 0x19, 0x19 },
+ "Plutonium Based Liquid Fuel (Depleted)",
+ subscriptNumbers("Tn?Ce?Au?Kr?"),
+ new Werkstoff.Stats().setToxic(true),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .addCells(),
+ OffsetID + 11,
+ TextureSet.SET_FLUID);
// Thorium-233
public static final Werkstoff oxalate = new Werkstoff(
- new short[] { 0x79, 0xd8, 0x55 },
- "Oxalate",
- Werkstoff.Types.BIOLOGICAL,
- new Werkstoff.GenerationFeatures().disable().addCells(),
- OffsetID + 12,
- TextureSet.SET_FLUID,
- new Pair<>(Hydrogen, 2),
- new Pair<>(Carbon, 2),
- new Pair<>(Oxygen, 4));
+ new short[] { 0x79, 0xd8, 0x55 },
+ "Oxalate",
+ Werkstoff.Types.BIOLOGICAL,
+ new Werkstoff.GenerationFeatures().disable()
+ .addCells(),
+ OffsetID + 12,
+ TextureSet.SET_FLUID,
+ new Pair<>(Hydrogen, 2),
+ new Pair<>(Carbon, 2),
+ new Pair<>(Oxygen, 4));
public static final Werkstoff vanadiumPentoxide = new Werkstoff(
- new short[] { 0xde, 0x8d, 0x12 },
- "Vanadium Pentoxide",
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().onlyDust(),
- OffsetID + 13,
- TextureSet.SET_SHINY,
- new Pair<>(Vanadium, 2),
- new Pair<>(Oxygen, 5));
+ new short[] { 0xde, 0x8d, 0x12 },
+ "Vanadium Pentoxide",
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .onlyDust(),
+ OffsetID + 13,
+ TextureSet.SET_SHINY,
+ new Pair<>(Vanadium, 2),
+ new Pair<>(Oxygen, 5));
public static final Werkstoff thoriumNitrate = new Werkstoff(
- new short[] { 0xba, 0xe8, 0x26 },
- "Thorium Nitrate",
- subscriptNumbers("Th(NO3)4"),
- new Werkstoff.Stats(),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().addCells(),
- OffsetID + 14,
- TextureSet.SET_DULL);
+ new short[] { 0xba, 0xe8, 0x26 },
+ "Thorium Nitrate",
+ subscriptNumbers("Th(NO3)4"),
+ new Werkstoff.Stats(),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .addCells(),
+ OffsetID + 14,
+ TextureSet.SET_DULL);
public static final Werkstoff thoriumOxalate = new Werkstoff(
- new short[] { 0x50, 0x63, 0x13 },
- "Thorium Oxalate",
- subscriptNumbers("Th(C2O4)2"),
- new Werkstoff.Stats(),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().onlyDust(),
- OffsetID + 15,
- TextureSet.SET_DULL);
+ new short[] { 0x50, 0x63, 0x13 },
+ "Thorium Oxalate",
+ subscriptNumbers("Th(C2O4)2"),
+ new Werkstoff.Stats(),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .onlyDust(),
+ OffsetID + 15,
+ TextureSet.SET_DULL);
public static final Werkstoff thoriumHydroxide = new Werkstoff(
- new short[] { 0x92, 0xae, 0x89 },
- "Thorium Hydroxide",
- subscriptNumbers("Th(OH)4"),
- new Werkstoff.Stats(),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().onlyDust(),
- OffsetID + 16,
- TextureSet.SET_SHINY);
+ new short[] { 0x92, 0xae, 0x89 },
+ "Thorium Hydroxide",
+ subscriptNumbers("Th(OH)4"),
+ new Werkstoff.Stats(),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .onlyDust(),
+ OffsetID + 16,
+ TextureSet.SET_SHINY);
public static final Werkstoff sodiumOxalate = new Werkstoff(
- new short[] { 0xe4, 0xf8, 0x9b },
- "Sodium Oxalate",
- subscriptNumbers("Na2C2O4"),
- new Werkstoff.Stats(),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().onlyDust(),
- OffsetID + 17,
- TextureSet.SET_DULL);
+ new short[] { 0xe4, 0xf8, 0x9b },
+ "Sodium Oxalate",
+ subscriptNumbers("Na2C2O4"),
+ new Werkstoff.Stats(),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .onlyDust(),
+ OffsetID + 17,
+ TextureSet.SET_DULL);
public static final Werkstoff thoriumTetrachloride = new Werkstoff(
- new short[] { 0x13, 0x7c, 0x16 },
- "Thorium Tetrachloride",
- subscriptNumbers("ThCl4"),
- new Werkstoff.Stats(),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().addCells(),
- OffsetID + 18,
- TextureSet.SET_FLUID);
+ new short[] { 0x13, 0x7c, 0x16 },
+ "Thorium Tetrachloride",
+ subscriptNumbers("ThCl4"),
+ new Werkstoff.Stats(),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .addCells(),
+ OffsetID + 18,
+ TextureSet.SET_FLUID);
public static final Werkstoff thoriumTetrafluoride = new Werkstoff(
- new short[] { 0x15, 0x6a, 0x6a },
- "Thorium Tetrafluoride",
- subscriptNumbers("ThF4"),
- new Werkstoff.Stats(),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().addCells(),
- OffsetID + 19,
- TextureSet.SET_FLUID);
+ new short[] { 0x15, 0x6a, 0x6a },
+ "Thorium Tetrafluoride",
+ subscriptNumbers("ThF4"),
+ new Werkstoff.Stats(),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .addCells(),
+ OffsetID + 19,
+ TextureSet.SET_FLUID);
public static final Werkstoff thorium232Tetrafluoride = new Werkstoff(
- new short[] { 0x15, 0x6a, 0x6a },
- "Thorium-232 Tetrafluoride",
- new Werkstoff.Stats(),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().addCells(),
- OffsetID + 20,
- TextureSet.SET_FLUID,
- new Pair<>(WerkstoffLoader.Thorium232, 1),
- new Pair<>(Fluorine, 4));
+ new short[] { 0x15, 0x6a, 0x6a },
+ "Thorium-232 Tetrafluoride",
+ new Werkstoff.Stats(),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .addCells(),
+ OffsetID + 20,
+ TextureSet.SET_FLUID,
+ new Pair<>(WerkstoffLoader.Thorium232, 1),
+ new Pair<>(Fluorine, 4));
// Atomic Separation Catalyst
public static final Werkstoff orundum = new Werkstoff(
- new short[] { 0xcd, 0x26, 0x26 },
- "Orundum",
- "Or",
- new Werkstoff.Stats().setProtons(120).setMass(300),
- Werkstoff.Types.ELEMENT,
- new Werkstoff.GenerationFeatures().addGems().addMolten(),
- OffsetID + 22,
- TextureSet.SET_DIAMOND);
+ new short[] { 0xcd, 0x26, 0x26 },
+ "Orundum",
+ "Or",
+ new Werkstoff.Stats().setProtons(120)
+ .setMass(300),
+ Werkstoff.Types.ELEMENT,
+ new Werkstoff.GenerationFeatures().addGems()
+ .addMolten(),
+ OffsetID + 22,
+ TextureSet.SET_DIAMOND);
public static final Werkstoff atomicSeparationCatalyst = new Werkstoff(
- new short[] { 0xe8, 0x5e, 0x0c },
- "Atomic Separation Catalyst",
- "the melting core...",
- new Werkstoff.Stats().setMeltingPoint(5000),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().onlyDust().addMolten().addMetalItems()
- .addSimpleMetalWorkingItems().addCraftingMetalWorkingItems().addMultipleIngotMetalWorkingItems(),
- OffsetID + 21,
- TextureSet.SET_SHINY,
- new Pair<>(MyMaterial.orundum, 2),
- new Pair<>(Plutonium, 1),
- new Pair<>(Naquadah, 2));
+ new short[] { 0xe8, 0x5e, 0x0c },
+ "Atomic Separation Catalyst",
+ "the melting core...",
+ new Werkstoff.Stats().setMeltingPoint(5000),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .onlyDust()
+ .addMolten()
+ .addMetalItems()
+ .addSimpleMetalWorkingItems()
+ .addCraftingMetalWorkingItems()
+ .addMultipleIngotMetalWorkingItems(),
+ OffsetID + 21,
+ TextureSet.SET_SHINY,
+ new Pair<>(MyMaterial.orundum, 2),
+ new Pair<>(Plutonium, 1),
+ new Pair<>(Naquadah, 2));
// Naquadah Fuel Rework
public static final Werkstoff extremelyUnstableNaquadah = new Werkstoff(
- new short[] { 0x06, 0x26, 0x05 },
- "Extremely Unstable Naquadah",
- "Nq" + CharExchanger.shifter(9734),
- new Werkstoff.Stats().setMeltingPoint(7000).setBlastFurnace(true).setProtons(200).setMass(450)
- .setRadioactive(true),
- Werkstoff.Types.ELEMENT,
- new Werkstoff.GenerationFeatures().disable().onlyDust().addMolten().addMetalItems()
- .addSimpleMetalWorkingItems().addCraftingMetalWorkingItems().addMultipleIngotMetalWorkingItems(),
- OffsetID + 23,
- TextureSet.SET_SHINY);
+ new short[] { 0x06, 0x26, 0x05 },
+ "Extremely Unstable Naquadah",
+ "Nq" + CharExchanger.shifter(9734),
+ new Werkstoff.Stats().setMeltingPoint(7000)
+ .setBlastFurnace(true)
+ .setProtons(200)
+ .setMass(450)
+ .setRadioactive(true),
+ Werkstoff.Types.ELEMENT,
+ new Werkstoff.GenerationFeatures().disable()
+ .onlyDust()
+ .addMolten()
+ .addMetalItems()
+ .addSimpleMetalWorkingItems()
+ .addCraftingMetalWorkingItems()
+ .addMultipleIngotMetalWorkingItems(),
+ OffsetID + 23,
+ TextureSet.SET_SHINY);
public static final Werkstoff lightNaquadahFuel = new Werkstoff(
- new short[] { 92, 203, 92 },
- "Light Naquadah Fuel",
- "far from enough",
- new Werkstoff.Stats().setToxic(true).setRadioactive(true),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().addCells(),
- OffsetID + 24,
- TextureSet.SET_FLUID);
+ new short[] { 92, 203, 92 },
+ "Light Naquadah Fuel",
+ "far from enough",
+ new Werkstoff.Stats().setToxic(true)
+ .setRadioactive(true),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .addCells(),
+ OffsetID + 24,
+ TextureSet.SET_FLUID);
public static final Werkstoff heavyNaquadahFuel = new Werkstoff(
- new short[] { 54, 255, 54 },
- "Heavy Naquadah Fuel",
- "still need processing",
- new Werkstoff.Stats().setToxic(true).setRadioactive(true),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().addCells(),
- OffsetID + 25,
- TextureSet.SET_FLUID);
+ new short[] { 54, 255, 54 },
+ "Heavy Naquadah Fuel",
+ "still need processing",
+ new Werkstoff.Stats().setToxic(true)
+ .setRadioactive(true),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .addCells(),
+ OffsetID + 25,
+ TextureSet.SET_FLUID);
public static final Werkstoff naquadahGas = new Werkstoff(
- new short[] { 93, 219, 0 },
- "Naquadah Gas",
- "Who need it?",
- new Werkstoff.Stats().setToxic(true).setRadioactive(true).setGas(true),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().addCells(),
- OffsetID + 26,
- TextureSet.SET_FLUID);
+ new short[] { 93, 219, 0 },
+ "Naquadah Gas",
+ "Who need it?",
+ new Werkstoff.Stats().setToxic(true)
+ .setRadioactive(true)
+ .setGas(true),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .addCells(),
+ OffsetID + 26,
+ TextureSet.SET_FLUID);
public static final Werkstoff naquadahAsphalt = new Werkstoff(
- new short[] { 5, 37, 5 },
- "Naquadah Asphalt",
- "It will damage the reactor.",
- new Werkstoff.Stats().setToxic(true).setRadioactive(true),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().addCells(),
- OffsetID + 27,
- TextureSet.SET_FLUID);
+ new short[] { 5, 37, 5 },
+ "Naquadah Asphalt",
+ "It will damage the reactor.",
+ new Werkstoff.Stats().setToxic(true)
+ .setRadioactive(true),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .addCells(),
+ OffsetID + 27,
+ TextureSet.SET_FLUID);
public static final Werkstoff ether = new Werkstoff(
- new short[] { 0xeb, 0xbc, 0x2f },
- "Ether",
- subscriptNumbers("CH3CH2OCH2CH3"),
- new Werkstoff.Stats().setElektrolysis(true),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().addCells(),
- OffsetID + 28,
- TextureSet.SET_FLUID,
- new Pair<>(Carbon, 4),
- new Pair<>(Hydrogen, 10),
- new Pair<>(Oxygen, 1));
+ new short[] { 0xeb, 0xbc, 0x2f },
+ "Ether",
+ subscriptNumbers("CH3CH2OCH2CH3"),
+ new Werkstoff.Stats().setElektrolysis(true),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .addCells(),
+ OffsetID + 28,
+ TextureSet.SET_FLUID,
+ new Pair<>(Carbon, 4),
+ new Pair<>(Hydrogen, 10),
+ new Pair<>(Oxygen, 1));
public static final Werkstoff antimonyTrichloride = new Werkstoff(
- new short[] { 0x0f, 0xdc, 0x34 },
- "Antimony Trichloride Solution",
- subscriptNumbers("SbCl3"),
- new Werkstoff.Stats(),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().addCells(),
- OffsetID + 29,
- TextureSet.SET_FLUID);
+ new short[] { 0x0f, 0xdc, 0x34 },
+ "Antimony Trichloride Solution",
+ subscriptNumbers("SbCl3"),
+ new Werkstoff.Stats(),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .addCells(),
+ OffsetID + 29,
+ TextureSet.SET_FLUID);
public static final Werkstoff antimonyPentachlorideSolution = new Werkstoff(
- new short[] { 0x15, 0x93, 0x2c },
- "Antimony Pentachloride Solution",
- subscriptNumbers("SbCl5"),
- new Werkstoff.Stats(),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().addCells(),
- OffsetID + 30,
- TextureSet.SET_FLUID);
+ new short[] { 0x15, 0x93, 0x2c },
+ "Antimony Pentachloride Solution",
+ subscriptNumbers("SbCl5"),
+ new Werkstoff.Stats(),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .addCells(),
+ OffsetID + 30,
+ TextureSet.SET_FLUID);
public static final Werkstoff antimonyPentachloride = new Werkstoff(
- new short[] { 0x15, 0x93, 0x2c },
- "Antimony Pentachloride",
- subscriptNumbers("SbCl5"),
- new Werkstoff.Stats(),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().addCells(),
- OffsetID + 31,
- TextureSet.SET_FLUID);
+ new short[] { 0x15, 0x93, 0x2c },
+ "Antimony Pentachloride",
+ subscriptNumbers("SbCl5"),
+ new Werkstoff.Stats(),
+ Werkstoff.Types.COMPOUND,
+ new Werkstoff.GenerationFeatures().disable()
+ .addCells(),
+ OffsetID + 31,
+ TextureSet.SET_FLUID);
public static final Werkstoff antimonyPentafluoride = new Werkstoff(
- new short[] { 0x16, 0xd5, 0xe2 },
- "Antimony Pentafluoride",
- subscriptNumbers("SbF5"),
- new Werkstoff.Stats(),
- Werkstoff.Types.COMPOUND,
- new Werkstoff.GenerationFeatures().disable().addCells(),
- OffsetID + 32,
-