Class CompatImpl
java.lang.Object
studio.magemonkey.codex.nms.v1_21_7.CompatImpl
- All Implemented Interfaces:
studio.magemonkey.codex.compat.Compat
-
Field Summary
Fields inherited from interface studio.magemonkey.codex.compat.Compat
ATTRIBUTE_BONUS_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintconvertSlot(org.bukkit.event.inventory.InventoryEvent event, int slot) org.bukkit.attribute.AttributeModifiercreateAttributeModifier(studio.magemonkey.codex.api.meta.NBTAttribute attribute, double amount, org.bukkit.attribute.AttributeModifier.Operation operation) getAttributeKey(org.bukkit.attribute.AttributeModifier attributeModifier) getAttributeKey(studio.magemonkey.codex.api.meta.NBTAttribute attribute) org.bukkit.inventory.InventorygetBottomInventory(org.bukkit.event.inventory.InventoryEvent event) org.bukkit.inventory.InventorygetInventory(org.bukkit.event.inventory.InventoryEvent event, int slot) org.bukkit.inventory.ItemStackgetItem(org.bukkit.event.inventory.InventoryEvent event, int slot) getItemName(org.bukkit.inventory.ItemStack item) org.bukkit.inventory.InventorygetTopInventory(org.bukkit.entity.Player player) org.bukkit.inventory.InventorygetTopInventory(org.bukkit.event.inventory.InventoryEvent event) voidsetCursor(org.bukkit.event.inventory.InventoryEvent event, org.bukkit.inventory.ItemStack item) voidsetItem(org.bukkit.entity.Player player, int slot, org.bukkit.inventory.ItemStack item)
-
Constructor Details
-
CompatImpl
public CompatImpl()
-
-
Method Details
-
createAttributeModifier
public org.bukkit.attribute.AttributeModifier createAttributeModifier(studio.magemonkey.codex.api.meta.NBTAttribute attribute, double amount, org.bukkit.attribute.AttributeModifier.Operation operation) - Specified by:
createAttributeModifierin interfacestudio.magemonkey.codex.compat.Compat
-
getAttributeKey
- Specified by:
getAttributeKeyin interfacestudio.magemonkey.codex.compat.Compat
-
getAttributeKey
- Specified by:
getAttributeKeyin interfacestudio.magemonkey.codex.compat.Compat
-
getTopInventory
public org.bukkit.inventory.Inventory getTopInventory(org.bukkit.event.inventory.InventoryEvent event) - Specified by:
getTopInventoryin interfacestudio.magemonkey.codex.compat.Compat
-
getTopInventory
@NotNull public org.bukkit.inventory.Inventory getTopInventory(org.bukkit.entity.Player player) - Specified by:
getTopInventoryin interfacestudio.magemonkey.codex.compat.Compat
-
getBottomInventory
public org.bukkit.inventory.Inventory getBottomInventory(org.bukkit.event.inventory.InventoryEvent event) - Specified by:
getBottomInventoryin interfacestudio.magemonkey.codex.compat.Compat
-
setCursor
public void setCursor(org.bukkit.event.inventory.InventoryEvent event, org.bukkit.inventory.ItemStack item) - Specified by:
setCursorin interfacestudio.magemonkey.codex.compat.Compat
-
setItem
public void setItem(org.bukkit.entity.Player player, int slot, org.bukkit.inventory.ItemStack item) - Specified by:
setItemin interfacestudio.magemonkey.codex.compat.Compat
-
getInventory
public org.bukkit.inventory.Inventory getInventory(org.bukkit.event.inventory.InventoryEvent event, int slot) - Specified by:
getInventoryin interfacestudio.magemonkey.codex.compat.Compat
-
getItem
public org.bukkit.inventory.ItemStack getItem(org.bukkit.event.inventory.InventoryEvent event, int slot) - Specified by:
getItemin interfacestudio.magemonkey.codex.compat.Compat
-
convertSlot
public int convertSlot(org.bukkit.event.inventory.InventoryEvent event, int slot) - Specified by:
convertSlotin interfacestudio.magemonkey.codex.compat.Compat
-
getItemName
- Specified by:
getItemNamein interfacestudio.magemonkey.codex.compat.Compat
-