Package net.minecraft.enchantment
Class VanishingCurseEnchantment
java.lang.Object
net.minecraft.enchantment.Enchantment
net.minecraft.enchantment.VanishingCurseEnchantment
- Mappings:
Namespace Name official cshintermediary net/minecraft/class_1911named net/minecraft/enchantment/VanishingCurseEnchantment
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.enchantment.Enchantment
Enchantment.Rarity -
Field Summary
Fields inherited from class net.minecraft.enchantment.Enchantment
target, translationKey -
Constructor Summary
ConstructorsConstructorDescriptionVanishingCurseEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes) -
Method Summary
Modifier and TypeMethodDescriptionintgetMaxPower(int level) intgetMinPower(int level) booleanisCursed()booleanMethods inherited from class net.minecraft.enchantment.Enchantment
byRawId, canAccept, canCombine, getAttackDamage, getEquipment, getMaxLevel, getMinLevel, getName, getOrCreateTranslationKey, getProtectionAmount, getRarity, getRegistryEntry, getTranslationKey, isAcceptableItem, isAvailableForEnchantedBookOffer, isAvailableForRandomSelection, onTargetDamaged, onUserDamaged
-
Constructor Details
-
VanishingCurseEnchantment
- Mappings:
Namespace Name Mixin selector official <init>Lcsh;<init>(Lcrj$a;[Lbma;)Vintermediary <init>Lnet/minecraft/class_1911;<init>(Lnet/minecraft/class_1887$class_1888;[Lnet/minecraft/class_1304;)Vnamed <init>Lnet/minecraft/enchantment/VanishingCurseEnchantment;<init>(Lnet/minecraft/enchantment/Enchantment$Rarity;[Lnet/minecraft/entity/EquipmentSlot;)V
-
-
Method Details
-
getMinPower
public int getMinPower(int level) - Overrides:
getMinPowerin classEnchantment- Mappings:
Namespace Name Mixin selector official aLcrj;a(I)Iintermediary method_8182Lnet/minecraft/class_1887;method_8182(I)Inamed getMinPowerLnet/minecraft/enchantment/Enchantment;getMinPower(I)I
-
getMaxPower
public int getMaxPower(int level) - Overrides:
getMaxPowerin classEnchantment- Mappings:
Namespace Name Mixin selector official bLcrj;b(I)Iintermediary method_20742Lnet/minecraft/class_1887;method_20742(I)Inamed getMaxPowerLnet/minecraft/enchantment/Enchantment;getMaxPower(I)I
-
isTreasure
public boolean isTreasure()- Overrides:
isTreasurein classEnchantment- Mappings:
Namespace Name Mixin selector official bLcrj;b()Zintermediary method_8193Lnet/minecraft/class_1887;method_8193()Znamed isTreasureLnet/minecraft/enchantment/Enchantment;isTreasure()Z
-
isCursed
public boolean isCursed()- Overrides:
isCursedin classEnchantment- Mappings:
Namespace Name Mixin selector official cLcrj;c()Zintermediary method_8195Lnet/minecraft/class_1887;method_8195()Znamed isCursedLnet/minecraft/enchantment/Enchantment;isCursed()Z
-