Package com.vk2gpz.tokenenchant.api
Interface TEBlockExplodeEnchant
- All Superinterfaces:
CEHandler
,com.vk2gpz.mc.api.enchantment.ICEHandler
,org.bukkit.event.Listener
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vk2gpz.tokenenchant.api.CEHandler
CEHandler.Availability, CEHandler.CECommand, CEHandler.CEMinMax, CEHandler.MergeMode, CEHandler.PermissionMode
Nested classes/interfaces inherited from interface com.vk2gpz.mc.api.enchantment.ICEHandler
com.vk2gpz.mc.api.enchantment.ICEHandler.Cost
-
Field Summary
Fields inherited from interface com.vk2gpz.tokenenchant.api.CEHandler
ENCHANT_KEY, POTION_KEY, rand, WILDCARD
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull Object[]
calcExplode
(org.bukkit.entity.Player p, TEBlockExplodeEnchant handler, org.bukkit.Location centerLocation, float radius) default boolean
canExplode
(org.bukkit.entity.Player p, org.bukkit.block.Block block) boolean
isExplodableBlock
(org.bukkit.block.Block block) static boolean
isInside
(double cx, double cy, double cz, double r, double x, double y, double z) default void
makeExplosion
(org.bukkit.entity.Player p, org.bukkit.Location loc, boolean effect, boolean sound) Methods inherited from interface com.vk2gpz.tokenenchant.api.CEHandler
addAllowed, addConflict, applyOffHand, applyPostDisEnchant, applyPostEnchant, applyPotion, applyState, canApply, canApplyPotion, canBreak, canBreak, canEnchantItem, canExecute, checkCooldown, checkCooldown, cleanup, conflictsWith, conflictsWith, execCommands, finalizeProcess, finalizeProcess, forceCustomModelData, getAlias, getBase, getCastingSound, getCastingSoundPitch, getCastingSoundVolume, getCELevel, getCELevel, getCELevel, getCELevelOnAllArmor, getCELevelOnArmor, getConfig, getConfigInstance, getConflicts, getCooldown, getCooldownFormula, getCostFormula, getCostParams, getCustomModelData, getDescription, getDisplayName, getDuration, getDurationMultiplier, getEffectSound, getEffectSoundPitch, getEffectSoundVolume, getEnchantable, getEnchantChance, getEnchantmentSlotType, getEnumItemSlots, getETMax, getFriendlyName, getInterval, getItemTarget, getKey, getLevel, getLFDescription, getLoreEntry, getLoreEntry, getMaxCostRange, getMaxLevel, getMergeMax, getMergeMode, getMinCostRange, getMinimumOccurrence, getName, getOccurrence, getOccurrenceFormula, getOldAliases, getPermissionMode, getPermissionNode, getPermittedMaxLevel, getPlugin, getPotionEffectType, getPrice, getRarity, getRealName, getRefundRate, getRegisteredName, getScale, getStartLevel, getTE, getVersion, hasConflictWith, isAlias, isAllowed, isAvailable, isCursed, isEnabled, isEnchantTabled, isFishing, isHidden, isInstant, isLoot, isRefundable, isRegistered, isTreasure, isValid, isVanilla, isVillagerTrade, loadConfig, playCastingSound, playEffectSoundPlayerOnly, playSound, playSound, registerAlias, remove, removeAllowed, removeConflict, removePotion, removePotion, removeState, requirFullArmor, resetCooldown, sendMessage, setCustomModelDataMap, setForceCustomModelData, setPotionEffectType, shouldProceed, showDescription, useActionBar, useRomanNumeral
Methods inherited from interface com.vk2gpz.mc.api.enchantment.ICEHandler
getEnchantment, getSupportedItems, setEnchantment
-
Method Details
-
isExplodableBlock
boolean isExplodableBlock(org.bukkit.block.Block block) -
makeExplosion
default void makeExplosion(org.bukkit.entity.Player p, org.bukkit.Location loc, boolean effect, boolean sound) -
isInside
static boolean isInside(double cx, double cy, double cz, double r, double x, double y, double z) -
canExplode
default boolean canExplode(org.bukkit.entity.Player p, org.bukkit.block.Block block) -
calcExplode
@NotNull static @NotNull Object[] calcExplode(org.bukkit.entity.Player p, TEBlockExplodeEnchant handler, org.bukkit.Location centerLocation, float radius)
-