add recipes

This commit is contained in:
PrototypeTrousers
2022-10-11 22:30:54 -03:00
parent de674f72bd
commit 770db27777
3 changed files with 45 additions and 5 deletions
@@ -283,12 +283,11 @@ public class GuiFluidInterfaceConfigurationTerminal extends AEBaseGui implements
this.refreshList = true;
}
for (final Object oKey : in.getKeySet()) {
final String key = (String) oKey;
if (key.startsWith("=")) {
for (final String oKey : in.getKeySet()) {
if (oKey.startsWith("=")) {
try {
final long id = Long.parseLong(key.substring(1), Character.MAX_RADIX);
final NBTTagCompound invData = in.getCompoundTag(key);
final long id = Long.parseLong(oKey.substring(1), Character.MAX_RADIX);
final NBTTagCompound invData = in.getCompoundTag(oKey);
final ClientDCInternalFluidInv current = this.getById(id, invData.getLong("sortBy"), invData.getString("un"));
blockPosHashMap.put(current, NBTUtil.getPosFromTag(invData.getCompoundTag("pos")));
dimHashMap.put(current, invData.getInteger("dim"));
@@ -0,0 +1,22 @@
{
"conditions": [
{
"type": "minecraft:item_exists",
"item": "appliedenergistics2:interface"
}
],
"result": {
"type": "appliedenergistics2:part",
"part": "part.fluid_interface_configuration_terminal"
},
"type": "appliedenergistics2:part_shapeless",
"ingredients": [
{
"type": "appliedenergistics2:part",
"part": "part.interface_terminal"
},
{
"item": "minecraft:bucket"
}
]
}
@@ -0,0 +1,19 @@
{
"conditions": [
{
"type": "minecraft:item_exists",
"item": "appliedenergistics2:interface"
}
],
"result": {
"type": "appliedenergistics2:part",
"part": "part.interface_terminal"
},
"type": "appliedenergistics2:part_shapeless",
"ingredients": [
{
"type": "appliedenergistics2:part",
"part": "part.fluid_interface_configuration_terminal"
}
]
}