Index
All Classes and Interfaces|All Packages
A
- ArmorEquipEvent - Class in com.jeff_media.armorequipevent
-
Called when a player equips or unequips a piece of armor.
- ArmorEquipEvent(Player, ArmorEquipEvent.EquipMethod, ArmorType, ItemStack, ItemStack) - Constructor for class com.jeff_media.armorequipevent.ArmorEquipEvent
-
Creates a new ArmorEquipEvent
- ArmorEquipEvent.EquipMethod - Enum in com.jeff_media.armorequipevent
-
Represents the way of equipping or uneqipping armor.
- ArmorType - Enum in com.jeff_media.armorequipevent
-
Represents the different types of armor.
B
- BOOTS - Enum constant in enum com.jeff_media.armorequipevent.ArmorType
-
Represents boots.
- BROKE - Enum constant in enum com.jeff_media.armorequipevent.ArmorEquipEvent.EquipMethod
-
When an armor piece is removed due to it losing all durability.
C
- CHESTPLATE - Enum constant in enum com.jeff_media.armorequipevent.ArmorType
-
Represents armor belonging to the chestplate slot, e.g. chestplates and elytras.
- com.jeff_media.armorequipevent - package com.jeff_media.armorequipevent
D
- DEATH - Enum constant in enum com.jeff_media.armorequipevent.ArmorEquipEvent.EquipMethod
-
When you die causing all armor to unequip
- DISPENSER - Enum constant in enum com.jeff_media.armorequipevent.ArmorEquipEvent.EquipMethod
-
When in range of a dispenser that shoots an armor piece to equip.
Requires the spigot version to haveBlockDispenseArmorEventimplemented. - DRAG - Enum constant in enum com.jeff_media.armorequipevent.ArmorEquipEvent.EquipMethod
-
When you drag and drop the item to equip or unequip
G
- getHandlerList() - Static method in class com.jeff_media.armorequipevent.ArmorEquipEvent
-
Gets a list of handlers handling this event.
- getHandlers() - Method in class com.jeff_media.armorequipevent.ArmorEquipEvent
-
Gets a list of handlers handling this event.
- getMethod() - Method in class com.jeff_media.armorequipevent.ArmorEquipEvent
-
Gets the method used to either equip or unequip an armor piece.
- getNewArmorPiece() - Method in class com.jeff_media.armorequipevent.ArmorEquipEvent
-
Returns the newly equipped armor or null if the armor was unequipped
- getOldArmorPiece() - Method in class com.jeff_media.armorequipevent.ArmorEquipEvent
-
Returns the last equipped armor piece, could be a piece of armor, or null
- getSlot() - Method in enum com.jeff_media.armorequipevent.ArmorType
-
Returns the raw slot where this piece of armor usually gets equipped
- getType() - Method in class com.jeff_media.armorequipevent.ArmorEquipEvent
-
Returns the type of armor involved in this event
H
- HELMET - Enum constant in enum com.jeff_media.armorequipevent.ArmorType
-
Represents armor belonging to the helmet slot, e.g. helmets, skulls, and carved pumpkins.
- HOTBAR - Enum constant in enum com.jeff_media.armorequipevent.ArmorEquipEvent.EquipMethod
-
When you right click an armor piece in the hotbar without the inventory open to equip.
- HOTBAR_SWAP - Enum constant in enum com.jeff_media.armorequipevent.ArmorEquipEvent.EquipMethod
-
When you press the hotbar slot number while hovering over the armor slot to equip or unequip
I
- isCancelled() - Method in class com.jeff_media.armorequipevent.ArmorEquipEvent
-
Gets if this event is cancelled.
L
M
- matchType(ItemStack) - Static method in enum com.jeff_media.armorequipevent.ArmorType
-
Attempts to match the ArmorType for the specified ItemStack.
P
- PICK_DROP - Enum constant in enum com.jeff_media.armorequipevent.ArmorEquipEvent.EquipMethod
-
When you manually equip or unequip the item.
R
- registerListener(JavaPlugin) - Static method in class com.jeff_media.armorequipevent.ArmorEquipEvent
-
Registers the listeners for this event.
S
- setCancelled(boolean) - Method in class com.jeff_media.armorequipevent.ArmorEquipEvent
-
Sets if this event should be cancelled.
- setNewArmorPiece(ItemStack) - Method in class com.jeff_media.armorequipevent.ArmorEquipEvent
-
Sets the new armor piece
- setOldArmorPiece(ItemStack) - Method in class com.jeff_media.armorequipevent.ArmorEquipEvent
- SHIFT_CLICK - Enum constant in enum com.jeff_media.armorequipevent.ArmorEquipEvent.EquipMethod
-
When you shift click an armor piece to equip or unequip
V
- valueOf(String) - Static method in enum com.jeff_media.armorequipevent.ArmorEquipEvent.EquipMethod
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.jeff_media.armorequipevent.ArmorType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.jeff_media.armorequipevent.ArmorEquipEvent.EquipMethod
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.jeff_media.armorequipevent.ArmorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes and Interfaces|All Packages