From 9705e977fb9efc8da7138aac716a72c50def5f48 Mon Sep 17 00:00:00 2001 From: GlodBlock <60341015+GlodBlock@users.noreply.github.com> Date: Sun, 18 Apr 2021 23:08:57 +0800 Subject: Create MyMaterial.java --- src/main/java/GoodGenerator/Items/MyMaterial.java | 50 +++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 src/main/java/GoodGenerator/Items/MyMaterial.java (limited to 'src/main/java/GoodGenerator/Items') diff --git a/src/main/java/GoodGenerator/Items/MyMaterial.java b/src/main/java/GoodGenerator/Items/MyMaterial.java new file mode 100644 index 0000000000..335a5f5364 --- /dev/null +++ b/src/main/java/GoodGenerator/Items/MyMaterial.java @@ -0,0 +1,50 @@ +package GoodGenerator.Items; + +import com.github.bartimaeusnek.bartworks.system.material.Werkstoff; +import gregtech.api.enums.TextureSet; +import com.github.bartimaeusnek.bartworks.util.Pair; + +import static com.github.bartimaeusnek.bartworks.util.BW_Util.subscriptNumbers; +import static gregtech.api.enums.Materials.*; + + +public class MyMaterial implements Runnable { + + 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(), + 31000, + 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("U36Rb8Qt4Rn"), + new Werkstoff.Stats().setRadioactive(true), + Werkstoff.Types.COMPOUND, + new Werkstoff.GenerationFeatures().disable().addCells(), + 31001, + TextureSet.SET_FLUID + ); + + public static final Werkstoff uraniumBasedLiquidFuelExcited = new Werkstoff( + new short[]{0x00,0xff,0x00}, + "Uranium Based Liquid Fuel (Excited State)", + subscriptNumbers("*(U36Rb8Qt4Rn)*"), + new Werkstoff.Stats().setRadioactive(true), + Werkstoff.Types.COMPOUND, + new Werkstoff.GenerationFeatures().disable().addCells(), + 31002, + TextureSet.SET_FLUID + ); + + @Override + public void run() { } +} -- cgit