Class QuantumCache
java.lang.Object
io.github.sefiraat.networks.network.stackcaches.ItemStackCache
io.github.sefiraat.networks.network.stackcaches.QuantumCache
-
Constructor Summary
ConstructorsConstructorDescriptionQuantumCache(ItemStack storedItem, int amount, int limit, boolean voidExcess) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMetaLore(ItemMeta itemMeta) intintgetLimit()intincreaseAmount(int amount) booleanvoidreduceAmount(int amount) voidsetAmount(int amount) voidsetVoidExcess(boolean voidExcess) voidupdateMetaLore(ItemMeta itemMeta) withdrawItem(int amount) Methods inherited from class io.github.sefiraat.networks.network.stackcaches.ItemStackCache
getItemMeta, getItemStack, getItemType, setItemStack
-
Constructor Details
-
QuantumCache
-
-
Method Details
-
getStoredItemMeta
-
getAmount
public int getAmount() -
setAmount
public void setAmount(int amount) -
increaseAmount
public int increaseAmount(int amount) -
reduceAmount
public void reduceAmount(int amount) -
getLimit
public int getLimit() -
isVoidExcess
public boolean isVoidExcess() -
setVoidExcess
public void setVoidExcess(boolean voidExcess) -
withdrawItem
-
withdrawItem
-
addMetaLore
-
updateMetaLore
-