Package fr.andross.banitem.utils
Class BanVersion
java.lang.Object
fr.andross.banitem.utils.BanVersion
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
Modifier and TypeFieldDescriptionstatic 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
-
Method Summary
-
Field Details
-
v16OrMore
public static final boolean v16OrMoreIn 1.16+, color codes now support HEX. -
v14OrMore
public static final boolean v14OrMoreIn 1.14+, CustomModelData has been added. -
v13OrMore
public static final boolean v13OrMoreIn 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 v12OrMoreIn 1.12+, the PlayerPickupItemEvent is now deprecated, and should use the EntityPickupItemEvent. -
v11OrMore
public static final boolean v11OrMoreIn 1.11+, ItemMeta#(set|is)Unbreakable has been added. -
v9OrMore
public static final boolean v9OrMoreIn 1.9+, the off hand have been added. Also added PotionMeta#getBasePotionData(). Also added PrepareAnvilEvent. -
v8OrMore
public static final boolean v8OrMoreIn 1.8+, armor stand event have been added.
-
-
Constructor Details
-
BanVersion
public BanVersion()
-