Skip to content

Commit

Permalink
Retier CRIB, proxy, adv stocking hatch
Browse files Browse the repository at this point in the history
  • Loading branch information
serenibyss committed Jan 9, 2025
1 parent 322f717 commit 057bc6b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -345,10 +345,10 @@ public MTEHatchCraftingInputME(int aID, String aName, String aNameRegional, bool
aID,
aName,
aNameRegional,
supportFluids ? 11 : 6,
supportFluids ? 10 : 6,
MAX_INV_COUNT,
new String[] { "Advanced item input for Multiblocks",
"Hatch Tier: " + TIER_COLORS[supportFluids ? 11 : 6] + VN[supportFluids ? 11 : 6],
"Hatch Tier: " + TIER_COLORS[supportFluids ? 10 : 6] + VN[supportFluids ? 10 : 6],
"Processes patterns directly from ME",
supportFluids ? "It supports patterns including fluids"
: "It does not support patterns including fluids",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package gregtech.common.tileentities.machines;

import static gregtech.api.enums.GTValues.TIER_COLORS;
import static gregtech.api.enums.GTValues.VN;
import static gregtech.api.enums.Textures.BlockIcons.OVERLAY_ME_CRAFTING_INPUT_SLAVE;

import java.util.ArrayList;
Expand Down Expand Up @@ -41,9 +43,9 @@ public MTEHatchCraftingInputSlave(int aID, String aName, String aNameRegional) {
aID,
aName,
aNameRegional,
6,
11,
0,
new String[] { "Proxy for Crafting Input Buffer/Bus",
new String[] { "Proxy for Crafting Input Buffer/Bus", "Hatch Tier: " + TIER_COLORS[11] + VN[11],
"Link with Crafting Input Buffer/Bus using Data Stick to share inventory",
"Left click on the Crafting Input Buffer/Bus, then right click on this block to link them", });
disableSort = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public class MTEHatchInputME extends MTEHatchInput implements IPowerChannelState
protected static final FluidStack[] EMPTY_FLUID_STACK = new FluidStack[0];

public MTEHatchInputME(int aID, boolean autoPullAvailable, String aName, String aNameRegional) {
super(aID, aName, aNameRegional, autoPullAvailable ? 10 : 8, 1, getDescriptionArray(autoPullAvailable));
super(aID, aName, aNameRegional, autoPullAvailable ? 9 : 8, 1, getDescriptionArray(autoPullAvailable));
this.autoPullAvailable = autoPullAvailable;
}

Expand Down Expand Up @@ -929,7 +929,7 @@ public void getWailaNBTData(EntityPlayerMP player, TileEntity tile, NBTTagCompou
private static String[] getDescriptionArray(boolean autoPullAvailable) {
List<String> strings = new ArrayList<>(8);
strings.add("Advanced fluid input for Multiblocks");
strings.add("Hatch Tier: " + TIER_COLORS[autoPullAvailable ? 10 : 8] + VN[autoPullAvailable ? 10 : 8]);
strings.add("Hatch Tier: " + TIER_COLORS[autoPullAvailable ? 9 : 8] + VN[autoPullAvailable ? 9 : 8]);
strings.add("Retrieves directly from ME");
strings.add("Keeps 16 fluid types in stock");

Expand Down

0 comments on commit 057bc6b

Please sign in to comment.