Package ac.boar.anticheat.data.inventory
Interface BoarItemStack
public interface BoarItemStack
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanisEmpty()item()static BoarItemStackstatic BoarItemStackof(ac.boar.api.anticheat.model.NetworkSession session, org.cloudburstmc.protocol.bedrock.data.inventory.ItemData data) org.cloudburstmc.protocol.bedrock.data.inventory.ItemDatatoItemData(ac.boar.api.anticheat.model.NetworkSession session)
-
Method Details
-
item
Item item() -
is
-
is
-
isEmpty
boolean isEmpty() -
toItemData
org.cloudburstmc.protocol.bedrock.data.inventory.ItemData toItemData(ac.boar.api.anticheat.model.NetworkSession session) -
of
static BoarItemStack of(ac.boar.api.anticheat.model.NetworkSession session, org.cloudburstmc.protocol.bedrock.data.inventory.ItemData data) -
of
static BoarItemStack of(ac.boar.api.anticheat.model.NetworkSession session, Reference<Item> item, int amount)
-