mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-16 10:34:40 +00:00
Test
Test
This commit is contained in:
1 parent
1998750489
commit
6aa1a877e5
6 files changed
+100
-1
No files matched your search
@@ -38,7 +38,11 @@ public class PartFluidPatternTerminalEx extends FCBasePart {
|
||||
private final AppEngInternalInventory pattern = new AppEngInternalInventory( this, 2 );
|
||||
|
||||
private boolean substitute = false;
|
||||
<<<<<<< HEAD
|
||||
private boolean combine = false;
|
||||
=======
|
||||
private boolean priorization = false;
|
||||
>>>>>>> b51bff6 (Test)
|
||||
private boolean inverted = false;
|
||||
private int activePage = 0;
|
||||
|
||||
@@ -88,6 +92,7 @@ public class PartFluidPatternTerminalEx extends FCBasePart {
|
||||
this.crafting.readFromNBT( data, "craftingGrid" );
|
||||
|
||||
this.setSubstitution( data.getBoolean( "substitute" ) );
|
||||
this.setPrioritization( data.getBoolean( "priorization") );
|
||||
this.setInverted( data.getBoolean( "inverted" ) );
|
||||
this.setActivePage( data.getInteger( "activePage" ) );
|
||||
}
|
||||
@@ -102,7 +107,7 @@ public class PartFluidPatternTerminalEx extends FCBasePart {
|
||||
this.pattern.writeToNBT( data, "pattern" );
|
||||
this.output.writeToNBT( data, "outputList" );
|
||||
this.crafting.writeToNBT( data, "craftingGrid" );
|
||||
|
||||
data.setBoolean("priorization", this.priorization);
|
||||
data.setBoolean( "substitute", this.substitute );
|
||||
data.setBoolean( "inverted", this.inverted );
|
||||
data.setInteger( "activePage", this.activePage );
|
||||
@@ -225,6 +230,10 @@ public class PartFluidPatternTerminalEx extends FCBasePart {
|
||||
{
|
||||
this.substitute = canSubstitute;
|
||||
}
|
||||
public void setPrioritization( boolean canPrioritize )
|
||||
{
|
||||
this.priorization = canPrioritize;
|
||||
}
|
||||
|
||||
public void onChangeCrafting(IAEItemStack[] newCrafting, IAEItemStack[] newOutput) {
|
||||
IInventory crafting = this.getInventoryByName("crafting");
|
||||
|
||||
Reference in new issue
Block a user