Interface IForgeEnchantment
- All Known Implementing Classes:
ArrowDamageEnchantment
,ArrowFireEnchantment
,ArrowInfiniteEnchantment
,ArrowKnockbackEnchantment
,ArrowPiercingEnchantment
,BindingCurseEnchantment
,DamageEnchantment
,DigDurabilityEnchantment
,DiggingEnchantment
,Enchantment
,FireAspectEnchantment
,FishingSpeedEnchantment
,FrostWalkerEnchantment
,GlobalLootModifiersTest.SmelterEnchantment
,KnockbackEnchantment
,LootBonusEnchantment
,MendingEnchantment
,MultiShotEnchantment
,OxygenEnchantment
,ProtectionEnchantment
,QuickChargeEnchantment
,SoulSpeedEnchantment
,SweepingEdgeEnchantment
,ThornsEnchantment
,TridentChannelingEnchantment
,TridentImpalerEnchantment
,TridentLoyaltyEnchantment
,TridentRiptideEnchantment
,UntouchingEnchantment
,VanishingCurseEnchantment
,WaterWalkerEnchantment
,WaterWorkerEnchantment
public interface IForgeEnchantment
-
Method Summary
Modifier and TypeMethodDescriptiondefault float
getDamageBonus
(int level, MobType mobType, ItemStack enchantedItem) ItemStack aware version ofEnchantment.getDamageBonus(int, MobType)
private Enchantment
self()
-
Method Details
-
self
-
getDamageBonus
ItemStack aware version ofEnchantment.getDamageBonus(int, MobType)
- Parameters:
level
- the level of the enchantmentmobType
- the mob type being attackedenchantedItem
- the item used for the attack- Returns:
- the damage bonus
-