Class BanVersion

java.lang.Object
fr.andross.banitem.utils.BanVersion

public final class BanVersion extends Object
Class that contains some notable versions nodes, so the plugin can handle multiple versions Those variables are used to check versions compatibility
Version:
3.4
Author:
Andross
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final boolean
    In 1.11+, ItemMeta#(set|is)Unbreakable has been added.
    static final boolean
    In 1.12+, the PlayerPickupItemEvent is now deprecated, and should use the EntityPickupItemEvent.
    static final boolean
    In 1.13+, MaterialData are totally removed from ItemStack, and the durability is part of ItemMeta.
    static final boolean
    In 1.14+, CustomModelData has been added.
    static final boolean
    In 1.16+, color codes now support HEX.
    static final boolean
    In 1.8+, armor stand event have been added.
    static final boolean
    In 1.9+, the off hand have been added.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • v16OrMore

      public static final boolean v16OrMore
      In 1.16+, color codes now support HEX.
    • v14OrMore

      public static final boolean v14OrMore
      In 1.14+, CustomModelData has been added.
    • v13OrMore

      public static final boolean v13OrMore
      In 1.13+, MaterialData are totally removed from ItemStack, and the durability is part of ItemMeta. Added NamespacedKey enchantments Added PlayerItemMendEvent event
    • v12OrMore

      public static final boolean v12OrMore
      In 1.12+, the PlayerPickupItemEvent is now deprecated, and should use the EntityPickupItemEvent.
    • v11OrMore

      public static final boolean v11OrMore
      In 1.11+, ItemMeta#(set|is)Unbreakable has been added.
    • v9OrMore

      public static final boolean v9OrMore
      In 1.9+, the off hand have been added. Also added PotionMeta#getBasePotionData(). Also added PrepareAnvilEvent.
    • v8OrMore

      public static final boolean v8OrMore
      In 1.8+, armor stand event have been added.
  • Constructor Details

    • BanVersion

      public BanVersion()