|
|
|
@ -8,6 +8,7 @@
@@ -8,6 +8,7 @@
|
|
|
|
|
|
|
|
|
|
package engine.loot; |
|
|
|
|
|
|
|
|
|
import engine.gameManager.ForgeManager; |
|
|
|
|
import org.jetbrains.annotations.NotNull; |
|
|
|
|
|
|
|
|
|
import java.util.concurrent.Delayed; |
|
|
|
@ -17,6 +18,7 @@ import static java.lang.Math.toIntExact;
@@ -17,6 +18,7 @@ import static java.lang.Math.toIntExact;
|
|
|
|
|
|
|
|
|
|
public class WorkOrder implements Delayed { |
|
|
|
|
|
|
|
|
|
public int workOrder; |
|
|
|
|
public int npcUUID; |
|
|
|
|
public int slotCount; |
|
|
|
|
public int itemCount; |
|
|
|
@ -27,6 +29,7 @@ public class WorkOrder implements Delayed {
@@ -27,6 +29,7 @@ public class WorkOrder implements Delayed {
|
|
|
|
|
|
|
|
|
|
public WorkOrder() { |
|
|
|
|
|
|
|
|
|
this.workOrder = ForgeManager.workOrder.incrementAndGet(); |
|
|
|
|
this.completionTime = System.currentTimeMillis() + 10000; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|