public class EnchantmentVengeance
extends net.minecraft.enchantment.Enchantment
| Constructor and Description |
|---|
EnchantmentVengeance() |
| Modifier and Type | Method and Description |
|---|---|
static void |
apply(net.minecraft.world.World world,
int level,
net.minecraft.entity.LivingEntity entity) |
boolean |
canApplyAtEnchantingTable(net.minecraft.item.ItemStack itemStack) |
static int |
getEnchantLevel(net.minecraft.item.ItemStack itemStack) |
int |
getMaxEnchantability(int level) |
int |
getMaxLevel() |
int |
getMinEnchantability(int level) |
boolean |
isAllowedOnBooks() |
boolean |
isCurse() |
void |
onAttack(net.minecraftforge.event.entity.living.LivingAttackEvent event) |
void |
onBlockBreak(net.minecraftforge.event.world.BlockEvent.BreakEvent event) |
calcDamageByCreature, calcModifierDamage, canApply, canApplyTogether, canGenerateInLoot, canVillagerTrade, getDefaultTranslationKey, getDisplayName, getEnchantmentByID, getEntityEquipment, getMinLevel, getName, getRarity, getTags, isCompatibleWith, isIn, isTreasureEnchantment, onEntityDamaged, onUserHurtpublic int getMinEnchantability(int level)
getMinEnchantability in class net.minecraft.enchantment.Enchantmentpublic int getMaxEnchantability(int level)
getMaxEnchantability in class net.minecraft.enchantment.Enchantmentpublic int getMaxLevel()
getMaxLevel in class net.minecraft.enchantment.Enchantmentpublic boolean isCurse()
isCurse in class net.minecraft.enchantment.Enchantmentpublic boolean canApplyAtEnchantingTable(net.minecraft.item.ItemStack itemStack)
canApplyAtEnchantingTable in class net.minecraft.enchantment.Enchantmentpublic boolean isAllowedOnBooks()
isAllowedOnBooks in class net.minecraft.enchantment.Enchantmentpublic void onBlockBreak(net.minecraftforge.event.world.BlockEvent.BreakEvent event)
public void onAttack(net.minecraftforge.event.entity.living.LivingAttackEvent event)
public static int getEnchantLevel(net.minecraft.item.ItemStack itemStack)
public static void apply(net.minecraft.world.World world,
int level,
net.minecraft.entity.LivingEntity entity)