add recipe encode pattern crafting blank pattern
add control shift click to encode whole stack
fix import export nane display error
This commit is contained in:
zy committed 2022-09-17 19:05:31 +08:00
1 parent 1d4acb8076
commit c313f51750
15 files changed
+128 -17

No files matched your search

@@ -134,7 +134,10 @@ public class PartFluidPatternTerminal extends FCBasePart {
this.setCraftingRecipe(details.isCraftable());
this.setSubstitution(details.canSubstitute());
if(newStack != null){
NBTTagCompound data = newStack.getTagCompound();
this.setCombineMode(data.getInteger("combine") == 1);
}
for (int i = 0; i < this.crafting.getSizeInventory(); i++) {
this.crafting.setInventorySlotContents(i, null);
}
@@ -160,6 +160,11 @@ public class PartFluidPatternTerminalEx extends FCBasePart {
}
this.setSubstitution(details.canSubstitute());
if(newStack != null){
NBTTagCompound data = newStack.getTagCompound();
this.setCombineMode(data.getInteger("combine") == 1);
this.setPrioritization(data.getInteger("priorization") == 1);
}
this.setInverted(inputsCount <= 8 && outputCount >= 8);
this.setActivePage(0);