Class SentinelAPIBreakageFix

java.lang.Object
org.mcmonkey.sentinel.utilities.SentinelAPIBreakageFix

public class SentinelAPIBreakageFix extends Object
Fixes for Spigot breaking API between updates.
  • Field Details

    • ENTITY_TYPE_MUSHROOM_COW

      public static org.bukkit.entity.EntityType ENTITY_TYPE_MUSHROOM_COW
    • ENTITY_TYPE_SNOWMAN

      public static org.bukkit.entity.EntityType ENTITY_TYPE_SNOWMAN
    • ENTITY_TYPE_FIREWORK

      public static org.bukkit.entity.EntityType ENTITY_TYPE_FIREWORK
    • ENCHANTMENT_DAMAGE_ALL

      public static org.bukkit.enchantments.Enchantment ENCHANTMENT_DAMAGE_ALL
    • ENCHANTMENT_ARROW_DAMAGE

      public static org.bukkit.enchantments.Enchantment ENCHANTMENT_ARROW_DAMAGE
    • ENCHANTMENT_ARROW_FIRE

      public static org.bukkit.enchantments.Enchantment ENCHANTMENT_ARROW_FIRE
    • ENCHANTMENT_PROTECTION_FIRE

      public static org.bukkit.enchantments.Enchantment ENCHANTMENT_PROTECTION_FIRE
    • POTION_TYPE_UNCRAFTABLE

      public static org.bukkit.potion.PotionType POTION_TYPE_UNCRAFTABLE
    • PARTICLE_SPELL

      public static Object PARTICLE_SPELL
    • ATTRIBUTE_GENERIC_KNOCKBACK_RESISTANCE

      public static Object ATTRIBUTE_GENERIC_KNOCKBACK_RESISTANCE
  • Constructor Details

    • SentinelAPIBreakageFix

      public SentinelAPIBreakageFix()
  • Method Details

    • _getEnumValue

      public static <T> T _getEnumValue(Class<T> clazz, String... name)
      Note: not necessarily actually an enum.