Modifier and Type | Field and Description |
---|---|
private Enchantment |
EnchantmentPredicate.enchantment |
Modifier and Type | Method and Description |
---|---|
boolean |
EnchantmentPredicate.test(java.util.Map<Enchantment,java.lang.Integer> enchantmentsIn) |
Constructor and Description |
---|
EnchantmentPredicate(Enchantment enchantment,
MinMaxBounds levels) |
Modifier and Type | Class and Description |
---|---|
class |
EnchantmentArrowDamage |
class |
EnchantmentArrowFire |
class |
EnchantmentArrowInfinite |
class |
EnchantmentArrowKnockback |
class |
EnchantmentBindingCurse |
class |
EnchantmentDamage |
class |
EnchantmentDigging |
class |
EnchantmentDurability |
class |
EnchantmentFireAspect |
class |
EnchantmentFishingSpeed |
class |
EnchantmentFrostWalker |
class |
EnchantmentKnockback |
class |
EnchantmentLootBonus |
class |
EnchantmentMending |
class |
EnchantmentOxygen |
class |
EnchantmentProtection |
class |
EnchantmentSweepingEdge |
class |
EnchantmentThorns |
class |
EnchantmentUntouching |
class |
EnchantmentVanishingCurse |
class |
EnchantmentWaterWalker |
class |
EnchantmentWaterWorker |
Modifier and Type | Field and Description |
---|---|
Enchantment |
EnchantmentData.enchantment |
Modifier and Type | Field and Description |
---|---|
static RegistryNamespaced<ResourceLocation,Enchantment> |
Enchantment.REGISTRY |
Modifier and Type | Method and Description |
---|---|
static Enchantment |
Enchantment.getEnchantmentByID(int id) |
static Enchantment |
Enchantment.getEnchantmentByLocation(java.lang.String location) |
Enchantment |
Enchantment.setName(java.lang.String enchName) |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<Enchantment,java.lang.Integer> |
EnchantmentHelper.getEnchantments(ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
void |
EnchantmentHelper.DamageIterator.calculateModifier(Enchantment enchantmentIn,
int enchantmentLevel) |
void |
EnchantmentHelper.HurtIterator.calculateModifier(Enchantment enchantmentIn,
int enchantmentLevel) |
void |
EnchantmentHelper.IModifier.calculateModifier(Enchantment enchantmentIn,
int enchantmentLevel) |
void |
EnchantmentHelper.ModifierDamage.calculateModifier(Enchantment enchantmentIn,
int enchantmentLevel) |
void |
EnchantmentHelper.ModifierLiving.calculateModifier(Enchantment enchantmentIn,
int enchantmentLevel) |
boolean |
EnchantmentProtection.canApplyTogether(Enchantment ench) |
protected boolean |
Enchantment.canApplyTogether(Enchantment ench) |
boolean |
EnchantmentDamage.canApplyTogether(Enchantment ench) |
boolean |
EnchantmentArrowInfinite.canApplyTogether(Enchantment ench) |
boolean |
EnchantmentWaterWalker.canApplyTogether(Enchantment ench) |
boolean |
EnchantmentFrostWalker.canApplyTogether(Enchantment ench) |
boolean |
EnchantmentUntouching.canApplyTogether(Enchantment ench) |
boolean |
EnchantmentLootBonus.canApplyTogether(Enchantment ench) |
static ItemStack |
EnchantmentHelper.getEnchantedItem(Enchantment p_92099_0_,
EntityLivingBase p_92099_1_) |
static int |
Enchantment.getEnchantmentID(Enchantment enchantmentIn) |
static int |
EnchantmentHelper.getEnchantmentLevel(Enchantment enchID,
ItemStack stack) |
static int |
EnchantmentHelper.getMaxEnchantmentLevel(Enchantment p_185284_0_,
EntityLivingBase p_185284_1_) |
boolean |
Enchantment.isCompatibleWith(Enchantment p_191560_1_) |
Modifier and Type | Method and Description |
---|---|
static void |
EnchantmentHelper.setEnchantments(java.util.Map<Enchantment,java.lang.Integer> enchMap,
ItemStack stack) |
Constructor and Description |
---|
EnchantmentData(Enchantment enchantmentObj,
int enchLevel) |
Modifier and Type | Field and Description |
---|---|
static Enchantment |
Enchantments.AQUA_AFFINITY |
static Enchantment |
Enchantments.BANE_OF_ARTHROPODS |
static Enchantment |
Enchantments.BINDING_CURSE |
static Enchantment |
Enchantments.BLAST_PROTECTION |
static Enchantment |
Enchantments.DEPTH_STRIDER |
static Enchantment |
Enchantments.EFFICIENCY |
static Enchantment |
Enchantments.FEATHER_FALLING |
static Enchantment |
Enchantments.FIRE_ASPECT |
static Enchantment |
Enchantments.FIRE_PROTECTION |
static Enchantment |
Enchantments.FLAME |
static Enchantment |
Enchantments.FORTUNE |
static Enchantment |
Enchantments.FROST_WALKER |
static Enchantment |
Enchantments.INFINITY |
static Enchantment |
Enchantments.KNOCKBACK |
static Enchantment |
Enchantments.LOOTING |
static Enchantment |
Enchantments.LUCK_OF_THE_SEA |
static Enchantment |
Enchantments.LURE |
static Enchantment |
Enchantments.MENDING |
static Enchantment |
Enchantments.POWER |
static Enchantment |
Enchantments.PROJECTILE_PROTECTION |
static Enchantment |
Enchantments.PROTECTION |
static Enchantment |
Enchantments.PUNCH |
static Enchantment |
Enchantments.RESPIRATION |
static Enchantment |
Enchantments.SHARPNESS |
static Enchantment |
Enchantments.SILK_TOUCH |
static Enchantment |
Enchantments.SMITE |
static Enchantment |
Enchantments.SWEEPING |
static Enchantment |
Enchantments.THORNS |
static Enchantment |
Enchantments.UNBREAKING |
static Enchantment |
Enchantments.VANISHING_CURSE |
Modifier and Type | Method and Description |
---|---|
private static Enchantment |
Enchantments.getRegisteredEnchantment(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
void |
ItemStack.addEnchantment(Enchantment ench,
int level) |
boolean |
Item.canApplyAtEnchantingTable(ItemStack stack,
Enchantment enchantment)
Checks whether an item can be enchanted with a certain enchantment.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<Enchantment> |
EnchantRandomly.enchantments |
Constructor and Description |
---|
EnchantRandomly(LootCondition[] conditionsIn,
java.util.List<Enchantment> enchantmentsIn) |
Modifier and Type | Field and Description |
---|---|
static IForgeRegistry<Enchantment> |
ForgeRegistries.ENCHANTMENTS |