Package net.minecraft.enchantment
Class VanishingCurseEnchantment
java.lang.Object
net.minecraft.enchantment.Enchantment
net.minecraft.enchantment.VanishingCurseEnchantment
- Mappings:
Namespace Name official cjwintermediary 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
translationKey, type -
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, getTranslationKey, isAcceptableItem, isAvailableForEnchantedBookOffer, isAvailableForRandomSelection, onTargetDamaged, onUserDamaged
-
Constructor Details
-
VanishingCurseEnchantment
- Mappings:
Namespace Name Mixin selector official <init>Lcjw;<init>(Lciy$a;[Lbeq;)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 aLciy;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 bLciy;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 bLciy;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 cLciy;c()Zintermediary method_8195Lnet/minecraft/class_1887;method_8195()Znamed isCursedLnet/minecraft/enchantment/Enchantment;isCursed()Z
-