diff options
| author | GlodBlock <1356392126@qq.com> | 2021-09-03 21:00:20 +0800 |
|---|---|---|
| committer | GlodBlock <1356392126@qq.com> | 2021-09-03 21:00:20 +0800 |
| commit | 678c88f9b64a49e486b171508527a3224978122d (patch) | |
| tree | 405e131ff7857ad837f7ef0d44ea15875c86310d /src/main/java/GoodGenerator/Items | |
| parent | fe31ae9e19422bce20480c97ba7f8a4e6aa11614 (diff) | |
| download | GT5-Unofficial-678c88f9b64a49e486b171508527a3224978122d.tar.gz GT5-Unofficial-678c88f9b64a49e486b171508527a3224978122d.tar.bz2 GT5-Unofficial-678c88f9b64a49e486b171508527a3224978122d.zip | |
optimizate the LNR code, only use 30% time to load now
Diffstat (limited to 'src/main/java/GoodGenerator/Items')
| -rw-r--r-- | src/main/java/GoodGenerator/Items/MyMaterial.java | 50 |
1 files changed, 36 insertions, 14 deletions
diff --git a/src/main/java/GoodGenerator/Items/MyMaterial.java b/src/main/java/GoodGenerator/Items/MyMaterial.java index e4ab266b7a..7bdaeeee00 100644 --- a/src/main/java/GoodGenerator/Items/MyMaterial.java +++ b/src/main/java/GoodGenerator/Items/MyMaterial.java @@ -258,34 +258,37 @@ public class MyMaterial implements Runnable { ); //Atomic Separation Catalyst - public static final Werkstoff atomicSeparationCatalyst = new Werkstoff( - new short[]{0xe8,0x5e,0x0c}, - "Atomic Separation Catalyst", - "the melting core...", - new Werkstoff.Stats().setMeltingPoint(5000).setBlastFurnace(true), - Werkstoff.Types.COMPOUND, - new Werkstoff.GenerationFeatures().disable().onlyDust().addMolten().addMetalItems().addSimpleMetalWorkingItems().addCraftingMetalWorkingItems().addMultipleIngotMetalWorkingItems(), - OffsetID + 21, - TextureSet.SET_SHINY - ); - public static final Werkstoff orundum = new Werkstoff( new short[]{0xcd,0x26,0x26}, "Orundum", "Or", - new Werkstoff.Stats(), + new Werkstoff.Stats().setProtons(120).setMass(300), Werkstoff.Types.ELEMENT, new Werkstoff.GenerationFeatures().addGems(), 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).setBlastFurnace(true), + 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), + new Werkstoff.Stats().setMeltingPoint(7000).setBlastFurnace(true).setProtons(200).setMass(450), Werkstoff.Types.ELEMENT, new Werkstoff.GenerationFeatures().disable().onlyDust().addMolten().addMetalItems().addSimpleMetalWorkingItems().addCraftingMetalWorkingItems().addMultipleIngotMetalWorkingItems(), OffsetID + 23, @@ -604,7 +607,9 @@ public class MyMaterial implements Runnable { Werkstoff.Types.COMPOUND, new Werkstoff.GenerationFeatures().disable().onlyDust().addMolten().addMetalItems(), OffsetID + 52, - TextureSet.SET_SHINY + TextureSet.SET_SHINY, + new Pair<>(Zinc, 1), + new Pair<>(Thorium, 1) ); //Naquadah Rework Materials @@ -974,6 +979,23 @@ public class MyMaterial implements Runnable { new Pair<>(Nickel, 1) ); + public static final Werkstoff Incoloy903 = new Werkstoff( + new short[]{0xa4,0x8f,0x8b}, + "Incoloy-903", + subscriptNumbers("Fe12Ni10Co8Ti4Mo2Al"), + new Werkstoff.Stats().setCentrifuge(true).setBlastFurnace(true).setMeltingPoint(3700), + Werkstoff.Types.MIXTURE, + new Werkstoff.GenerationFeatures().onlyDust().addMolten().addMetalItems().addCraftingMetalWorkingItems().addSimpleMetalWorkingItems(), + OffsetID + 83, + TextureSet.SET_METALLIC, + new Pair<>(Iron, 12), + new Pair<>(Nickel, 10), + new Pair<>(Cobalt, 8), + new Pair<>(Titanium, 4), + new Pair<>(Molybdenum, 2), + new Pair<>(Aluminium, 1) + ); + @Override public void run() { } } |
