Skip to content

Commit

Permalink
Multiblock machine for Fluid Solidifier (GTNewHorizons#2808)
Browse files Browse the repository at this point in the history
Co-authored-by: Mary Hopson <[email protected]>
Co-authored-by: GDCloud <[email protected]>
Co-authored-by: Dream Master <[email protected]>
Co-authored-by: Caedis <[email protected]>
Co-authored-by: NotAPenguin <[email protected]>
  • Loading branch information
6 people authored Sep 6, 2024
1 parent 1d464dc commit 4368fe3
Show file tree
Hide file tree
Showing 9 changed files with 717 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/gregtech/api/enums/GTValues.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
import gregtech.api.interfaces.internal.IGTMod;
import gregtech.api.interfaces.internal.IGTRecipeAdder;
import gregtech.api.net.IGT_NetworkHandler;
import gregtech.api.util.GTChunkAssociatedData;

/**
* Made for static imports, this Class is just a Helper.
Expand Down Expand Up @@ -657,6 +656,10 @@ public static final class NBT {
+ "Ba"
+ EnumChatFormatting.LIGHT_PURPLE
+ "ps";
public static final String AuthorOmdaCZ = "Author: " + EnumChatFormatting.BLUE
+ "Omda"
+ EnumChatFormatting.RED
+ "CZ";

public static final String AuthorEvgenWarGold = "" + EnumChatFormatting.RED
+ EnumChatFormatting.BOLD
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/gregtech/api/enums/ItemList.java
Original file line number Diff line number Diff line change
Expand Up @@ -1476,6 +1476,10 @@ public enum ItemList implements IItemContainer {
Electromagnet_Tengam,

Machine_Multi_Canner,
Machine_Multi_Solidifier,

Casing_Fluid_Solidifier,
Radiator_Fluid_Solidifier,

Machine_Multi_IndustrialCompressor,
Machine_Multi_HIPCompressor,
Expand Down
1 change: 1 addition & 0 deletions src/main/java/gregtech/api/enums/MetaTileEntityIDs.java
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ public enum MetaTileEntityIDs {
CENTRIFUGE_HV(363),
CENTRIFUGE_EV(364),
CENTRIFUGE_IV(365),
MULTI_SOLIDIFIER_CONTROLLER(366),
ELECTROLYSER_LV(371),
ELECTROLYSER_MV(372),
ELECTROLYSER_HV(373),
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/gregtech/api/enums/Textures.java
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,9 @@ public enum BlockIcons implements IIconContainer, Runnable {
OVERLAY_FRONT_EMS_GLOW,
MACHINE_CASING_EMS,

MACHINE_CASING_MS160,
RADIATOR_MS160,

OVERLAY_FRONT_MULTI_CANNER,
OVERLAY_FRONT_MULTI_CANNER_ACTIVE,
OVERLAY_FRONT_MULTI_CANNER_ACTIVE_GLOW,
Expand Down
7 changes: 7 additions & 0 deletions src/main/java/gregtech/common/blocks/BlockCasings10.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ public BlockCasings10() {
GTLanguageManager
.addStringLocalization(getUnlocalizedName() + ".12.name", "Background Radiation Absorbent Casing");

GTLanguageManager.addStringLocalization(getUnlocalizedName() + ".13.name", "Solidifier Casing");
GTLanguageManager.addStringLocalization(getUnlocalizedName() + ".14.name", "Solidifier Radiator");

ItemList.Casing_Electromagnetic_Separator.set(new ItemStack(this, 1, 0));
ItemList.Casing_Laser.set(new ItemStack(this, 1, 1));
ItemList.BlockQuarkContainmentCasing.set(new ItemStack(this, 1, 2));
Expand All @@ -46,6 +49,8 @@ public BlockCasings10() {
ItemList.Heating_Duct_Casing.set(new ItemStack(this, 1, 10));
ItemList.Extreme_Density_Casing.set(new ItemStack(this, 1, 11));
ItemList.Background_Radiation_Casing.set(new ItemStack(this, 1, 12));
ItemList.Casing_Fluid_Solidifier.set(new ItemStack(this, 1, 13));
ItemList.Radiator_Fluid_Solidifier.set(new ItemStack(this, 1, 14));
}

@Override
Expand All @@ -70,6 +75,8 @@ public IIcon getIcon(int ordinalSide, int aMeta) {
case 10 -> Textures.BlockIcons.MACHINE_CASING_PIPE_BRONZE.getIcon();
case 11 -> Textures.BlockIcons.EXTREME_DENSITY_CASING.getIcon();
case 12 -> Textures.BlockIcons.RADIATION_ABSORBENT_CASING.getIcon();
case 13 -> Textures.BlockIcons.MACHINE_CASING_MS160.getIcon();
case 14 -> Textures.BlockIcons.RADIATOR_MS160.getIcon();
default -> Textures.BlockIcons.MACHINE_CASING_ROBUST_TUNGSTENSTEEL.getIcon();
};
}
Expand Down
Loading

0 comments on commit 4368fe3

Please sign in to comment.