Class InventoryTracker
java.lang.Object
com.viaversion.viaversion.api.connection.StoredObject
com.viaversion.viarewind.protocol.v1_8to1_7_6_10.storage.InventoryTracker
- All Implemented Interfaces:
com.viaversion.viaversion.api.connection.StorableObject
public class InventoryTracker
extends com.viaversion.viaversion.api.connection.StoredObject
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInventoryTracker(com.viaversion.viaversion.api.connection.UserConnection user) -
Method Summary
Modifier and TypeMethodDescriptionshortget(short windowId) static shortgetInventoryType(String name) voidremove(short windowId) Methods inherited from class com.viaversion.viaversion.api.connection.StoredObject
getUser, userMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.viaversion.viaversion.api.connection.StorableObject
onRemove
-
Field Details
-
WINDOW_TYPE_REGISTRY
-
levelCost
public short levelCost -
anvilId
public short anvilId
-
-
Constructor Details
-
InventoryTracker
public InventoryTracker(com.viaversion.viaversion.api.connection.UserConnection user)
-
-
Method Details
-
getInventoryType
-
get
public short get(short windowId) -
remove
public void remove(short windowId) -
getWindowTypeMap
-
getFurnaceData
-