Skip to content

Commit

Permalink
added ender and nether air
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Dec 6, 2024
1 parent 0fd9a74 commit 86990c7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ public void onUpdate() {
if (level.getGameTime() % 360 == (30 + (60L * side.get3DDataValue()))){
if (level.dimension() == Level.OVERWORLD){
cap.get().insertFluid(Materials.Air.getGas(64000), false);
} else if (level.dimension() == Level.NETHER){
cap.get().insertFluid(Materials.NetherAir.getGas(64000), false);
} else if (level.dimension() == Level.END){
cap.get().insertFluid(Materials.EnderAir.getGas(64000), false);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -570,8 +570,10 @@ public static void onMaterialEvent(GregTechMaterialEvent event){
**/
event.setMaterial(Materials.Air).asGas().fluidDensity(0);
event.setMaterial(Materials.Ammonia).asGas().flags(ACID).fluidDensity(-263);
event.setMaterial(Materials.EnderAir).asGas().fluidDensity(0);
event.setMaterial(Materials.DinitrogenTetroxide).asGas();
event.setMaterial(Materials.HydrogenSulfide).asGas();
event.setMaterial(Materials.NetherAir).asGas().fluidDensity(0);
event.setMaterial(Materials.NitrogenMonoxide).asGas();
event.setMaterial(Materials.NitrogenDioxide).asGas();
event.setMaterial(Materials.NobleGases).asGas(0,790);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,9 @@ public class Materials {
public static Material Air = AntimatterAPI.register(Material.class, new Material(GT5RRef.ID, "air", 0xc9e3fc, NONE));
public static Material Ammonia = AntimatterAPI.register(Material.class, new Material(GT5RRef.ID, "ammonia", 0x3f3480, NONE));
public static Material DinitrogenTetroxide = AntimatterAPI.register(Material.class, new Material(GT5RRef.ID, "dinitrogen_tetroxide", 0x004184, NONE));
public static Material EnderAir = AntimatterAPI.register(Material.class, new Material(GT5RRef.ID, "ender_air", 0x556fbc, NONE));
public static Material HydrogenSulfide = AntimatterAPI.register(Material.class, new Material(GT5RRef.ID, "hydrogen_sulfide", 0xffffff, NONE));
public static Material NetherAir = AntimatterAPI.register(Material.class, new Material(GT5RRef.ID, "nether_air", 0xad7070, NONE));
public static Material NitrogenMonoxide = AntimatterAPI.register(Material.class, new Material(GT5RRef.ID, "nitrogen_monoxide", 0x7dc8f0, NONE));
public static Material NitrogenDioxide = AntimatterAPI.register(Material.class, new Material(GT5RRef.ID, "nitrogen_dioxide", 0x64afff, NONE));
public static Material NobleGases = AntimatterAPI.register(Material.class, new Material(GT5RRef.ID, "noble_gases", 0xc9e3fc, NONE));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ public static void init() {
new FluidProduct(Methane, 750),
new FluidProduct(Helium, 20));
CRYO_DISTILLATION.RB().fi(Air.getGas(200)).fo(Helium.getGas(1), Neon.getGas(1), Argon.getGas(1), Nitrogen.getGas(143), Oxygen.getGas(50), CarbonDioxide.getGas(10)).add("air_distillation", 64, 64);
CRYO_DISTILLATION.RB().fi(EnderAir.getGas(200)).fo(Krypton.getGas(1), Xenon.getGas(1), Radon.getGas(1), Nitrogen.getGas(143), Oxygen.getGas(50), CarbonDioxide.getGas(10)).add("ender_air_distillation", 64, 64);
CRYO_DISTILLATION.RB().fi(NetherAir.getGas(200)).fo(Helium.getGas(1), Neon.getGas(1), Argon.getGas(1), Nitrogen.getGas(143), Oxygen.getGas(50), SulfurDioxide.getGas(10)).add("nether_air_distillation", 64, 64);
}

private static void initCracked(){
Expand Down

0 comments on commit 86990c7

Please sign in to comment.