Class CompatImpl

java.lang.Object
studio.magemonkey.codex.nms.v1_19_4.CompatImpl
All Implemented Interfaces:
studio.magemonkey.codex.compat.Compat

public class CompatImpl extends Object implements studio.magemonkey.codex.compat.Compat
  • Field Summary

    Fields inherited from interface studio.magemonkey.codex.compat.Compat

    ATTRIBUTE_BONUS_UUID
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.attribute.AttributeModifier
    createAttributeModifier(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)
     
    getItemName(org.bukkit.inventory.ItemStack item)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface studio.magemonkey.codex.compat.Compat

    convertSlot, getBottomInventory, getInventory, getItem, getTopInventory, getTopInventory, setCursor, setItem
  • 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:
      createAttributeModifier in interface studio.magemonkey.codex.compat.Compat
    • getAttributeKey

      public String getAttributeKey(org.bukkit.attribute.AttributeModifier attributeModifier)
      Specified by:
      getAttributeKey in interface studio.magemonkey.codex.compat.Compat
    • getAttributeKey

      public String getAttributeKey(studio.magemonkey.codex.api.meta.NBTAttribute attribute)
      Specified by:
      getAttributeKey in interface studio.magemonkey.codex.compat.Compat
    • getItemName

      public String getItemName(org.bukkit.inventory.ItemStack item)
      Specified by:
      getItemName in interface studio.magemonkey.codex.compat.Compat