mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-28 16:06:04 +00:00
Refactor Distillery
This commit is contained in:
1 parent
e5f01e82a2
commit
1d96c9d349
12 files changed
+288
-276
No files matched your search
@@ -36,14 +36,12 @@ public class Machine implements INetworkedEntity, INbtReadable, INbtWritable, IN
|
||||
private Map<Class<? extends MachineComponent>, MachineComponent> componentMap;
|
||||
private TileEntity tile;
|
||||
private boolean queuedInventoryUpdate;
|
||||
private int nextProgressBarID;
|
||||
private GameProfile owner;
|
||||
|
||||
public Machine(final MachinePackage pack, final TileEntity tile) {
|
||||
this.componentInterfaceMap = new LinkedHashMap<>();
|
||||
this.componentMap = new LinkedHashMap<>();
|
||||
this.queuedInventoryUpdate = false;
|
||||
this.nextProgressBarID = 0;
|
||||
this.owner = null;
|
||||
this.tile = tile;
|
||||
pack.createMachine(this);
|
||||
@@ -248,10 +246,6 @@ public class Machine implements INetworkedEntity, INbtReadable, INbtWritable, IN
|
||||
}
|
||||
}
|
||||
|
||||
public int getUniqueProgressBarID() {
|
||||
return this.nextProgressBarID++;
|
||||
}
|
||||
|
||||
@Override
|
||||
public GameProfile getOwner() {
|
||||
return this.owner;
|
||||
|
||||
Reference in new issue
Block a user