Package net.minecraft.enchantment
Class SoulSpeedEnchantment
java.lang.Object
net.minecraft.enchantment.Enchantment
net.minecraft.enchantment.SoulSpeedEnchantment
- Mappings:
Namespace Name official cyq
intermediary net/minecraft/class_4948
named net/minecraft/enchantment/SoulSpeedEnchantment
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.enchantment.Enchantment
Enchantment.Cost, Enchantment.Properties
-
Field Summary
Fields inherited from class net.minecraft.enchantment.Enchantment
translationKey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether this enchantment will appear in the enchanted book trade offers of librarian villagers.boolean
Returns whether this enchantment will appear in the enchanting table or loots with random enchant function.boolean
Methods inherited from class net.minecraft.enchantment.Enchantment
byRawId, canAccept, canCombine, constantCost, getAnvilCost, getApplicableItems, getAttackDamage, getEquipment, getMaxLevel, getMaxPower, getMinLevel, getMinPower, getName, getOrCreateTranslationKey, getProtectionAmount, getRegistryEntry, getTranslationKey, getWeight, isAcceptableItem, isCursed, isPrimaryItem, leveledCost, onTargetDamaged, onUserDamaged, properties, properties
-
Constructor Details
-
SoulSpeedEnchantment
- Mappings:
Namespace Name Mixin selector official <init>
Lcyg;<init>(Lcyg$b;)V
intermediary <init>
Lnet/minecraft/class_1887;<init>(Lnet/minecraft/class_1887$class_9427;)V
named <init>
Lnet/minecraft/enchantment/Enchantment;<init>(Lnet/minecraft/enchantment/Enchantment$Properties;)V
-
-
Method Details
-
isTreasure
public boolean isTreasure()- Overrides:
isTreasure
in classEnchantment
- Mappings:
Namespace Name Mixin selector official a
Lcyg;a()Z
intermediary method_8193
Lnet/minecraft/class_1887;method_8193()Z
named isTreasure
Lnet/minecraft/enchantment/Enchantment;isTreasure()Z
-
isAvailableForEnchantedBookOffer
public boolean isAvailableForEnchantedBookOffer()Returns whether this enchantment will appear in the enchanted book trade offers of librarian villagers.- Overrides:
isAvailableForEnchantedBookOffer
in classEnchantment
- Returns:
- whether this enchantment will appear in the enchanted book trade offers of librarian villagers
- Mappings:
Namespace Name Mixin selector official j
Lcyg;j()Z
intermediary method_25949
Lnet/minecraft/class_1887;method_25949()Z
named isAvailableForEnchantedBookOffer
Lnet/minecraft/enchantment/Enchantment;isAvailableForEnchantedBookOffer()Z
-
isAvailableForRandomSelection
public boolean isAvailableForRandomSelection()Returns whether this enchantment will appear in the enchanting table or loots with random enchant function.- Overrides:
isAvailableForRandomSelection
in classEnchantment
- Returns:
- whether this enchantment will appear in the enchanting table or loots with random enchant function
- Mappings:
Namespace Name Mixin selector official k
Lcyg;k()Z
intermediary method_25950
Lnet/minecraft/class_1887;method_25950()Z
named isAvailableForRandomSelection
Lnet/minecraft/enchantment/Enchantment;isAvailableForRandomSelection()Z
-