Implemented NBT Saving

1.13: CustomItemTagContainer
1.14: PersistentDataContainer
This commit is contained in:
Sn0wStorm
2019-10-20 21:06:35 +02:00
parent f431c13100
commit 4909e59c90
11 changed files with 222 additions and 29 deletions
+3 -1
View File
@@ -60,7 +60,9 @@ public class BDistiller {
final int fuel = standInv.getHolder().getFuelLevel();
// Now check if we should bother to track it.
trackedDistillers.put(standBlock, new BDistiller(standBlock, fuel)).start();
distiller = new BDistiller(standBlock, fuel);
trackedDistillers.put(standBlock, distiller);
distiller.start();
}
// Returns a Brew or null for every Slot in the BrewerInventory