Interface SocketGem
-
-
Method Summary
Modifier and Type Method Description abstract Boolean
canDropFrom(EntityType entityType)
Determines if this can drop from a given EntityType. abstract List<String>
getPresentableType(List<String> allOfLore, List<String> anyOfLore, List<String> noneOfLore)
abstract List<String>
getPresentableItemGroupType(List<String> allOfLore, List<String> anyOfLore, List<String> noneOfLore)
abstract String
getName()
Name of Socket Gem (appears in item lore) abstract String
getPrefix()
Prefix of Socket Gem (defaults to empty string) abstract String
getSuffix()
Suffix of Socket Gem (defaults to empty string) abstract List<String>
getLore()
Lore of Socket Gem (defaults to empty list) abstract Set<SocketEffect>
getSocketEffects()
Socket Effects of Socket Gem (defaults to empty set) abstract List<ItemGroup>
getAnyOfItemGroups()
Any-Of Item Groups of Socket Gem (defaults to empty list) abstract List<ItemGroup>
getAllOfItemGroups()
Any-Of Item Groups of Socket Gem (defaults to empty list) abstract List<ItemGroup>
getNoneOfItemGroups()
None-Of Item Groups of Socket Gem (defaults to empty list) abstract GemTriggerType
getGemTriggerType()
Gem Type of Socket Gem (defaults to GemTriggerType.ON_HIT_AND_WHEN_HIT) abstract Set<MythicEnchantment>
getEnchantments()
Enchantments of Socket Gem (defaults to empty set) abstract List<SocketCommand>
getCommands()
Commands of Socket Gem (defaults to empty list) abstract Set<EntityType>
getEntityTypesCanDropFrom()
Entity Types that the Socket Gem can drop from (defaults to empty list) abstract String
getFamily()
Family of the Socket Gem abstract Integer
getLevel()
Level of the Socket Gem abstract Set<MythicAttribute>
getAttributes()
Attributes to add to items (defaults to empty set) abstract Boolean
isBroadcastOnFind()
Should be broadcast to server when found? abstract Boolean
getHasCustomModelData()
abstract Integer
getCustomModelData()
abstract SocketType
getSocketType()
abstract Set<ItemFlag>
getItemFlags()
-
-
Method Detail
-
canDropFrom
abstract Boolean canDropFrom(EntityType entityType)
Determines if this can drop from a given EntityType.
- Returns:
true if it can drop, false otherwise
-
getPresentableType
@Deprecated(message = "Use getPresentableItemGroupType instead.", replaceWith = @ReplaceWith(imports = {}, expression = "getPresentableItemGroupType(allOfLore, anyOfLore, noneOfLore)")) abstract List<String> getPresentableType(List<String> allOfLore, List<String> anyOfLore, List<String> noneOfLore)
-
getPresentableItemGroupType
abstract List<String> getPresentableItemGroupType(List<String> allOfLore, List<String> anyOfLore, List<String> noneOfLore)
-
getSocketEffects
abstract Set<SocketEffect> getSocketEffects()
Socket Effects of Socket Gem (defaults to empty set)
-
getAnyOfItemGroups
abstract List<ItemGroup> getAnyOfItemGroups()
Any-Of Item Groups of Socket Gem (defaults to empty list)
-
getAllOfItemGroups
abstract List<ItemGroup> getAllOfItemGroups()
Any-Of Item Groups of Socket Gem (defaults to empty list)
-
getNoneOfItemGroups
abstract List<ItemGroup> getNoneOfItemGroups()
None-Of Item Groups of Socket Gem (defaults to empty list)
-
getGemTriggerType
abstract GemTriggerType getGemTriggerType()
Gem Type of Socket Gem (defaults to GemTriggerType.ON_HIT_AND_WHEN_HIT)
-
getEnchantments
abstract Set<MythicEnchantment> getEnchantments()
Enchantments of Socket Gem (defaults to empty set)
-
getCommands
abstract List<SocketCommand> getCommands()
Commands of Socket Gem (defaults to empty list)
-
getEntityTypesCanDropFrom
abstract Set<EntityType> getEntityTypesCanDropFrom()
Entity Types that the Socket Gem can drop from (defaults to empty list)
-
getAttributes
abstract Set<MythicAttribute> getAttributes()
Attributes to add to items (defaults to empty set)
-
isBroadcastOnFind
abstract Boolean isBroadcastOnFind()
Should be broadcast to server when found?
-
getHasCustomModelData
abstract Boolean getHasCustomModelData()
-
getCustomModelData
abstract Integer getCustomModelData()
-
getSocketType
abstract SocketType getSocketType()
-
getItemFlags
abstract Set<ItemFlag> getItemFlags()
-
-
-
-