Package net.minecraft.enchantment
Class SoulSpeedEnchantment
java.lang.Object
net.minecraft.enchantment.Enchantment
net.minecraft.enchantment.SoulSpeedEnchantment
- All Implemented Interfaces:
ToggleableFeature
- Mappings:
Namespace Name named net/minecraft/enchantment/SoulSpeedEnchantmentintermediary net/minecraft/class_4948official dam
-
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
translationKeyFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether this enchantment will appear in the enchanted book trade offers of librarian villagers.booleanReturns whether this enchantment will appear in the enchanting table or loots with random enchant function.booleanMethods inherited from class net.minecraft.enchantment.Enchantment
byRawId, canAccept, canCombine, constantCost, getAnvilCost, getApplicableItems, getAttackDamage, getEquipment, getMaxLevel, getMaxPower, getMinLevel, getMinPower, getName, getOrCreateTranslationKey, getProtectionAmount, getRegistryEntry, getRequiredFeatures, getTranslationKey, getWeight, isAcceptableItem, isCursed, isPrimaryItem, leveledCost, onAttack, onTargetDamaged, onUserDamaged, properties, properties, propertiesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Constructor Details
-
SoulSpeedEnchantment
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/enchantment/Enchantment;<init>(Lnet/minecraft/enchantment/Enchantment$Properties;)Vintermediary <init>Lnet/minecraft/class_1887;<init>(Lnet/minecraft/class_1887$class_9427;)Vofficial <init>Ldac;<init>(Ldac$b;)V
-
-
Method Details
-
isTreasure
public boolean isTreasure()- Overrides:
isTreasurein classEnchantment- Mappings:
Namespace Name Mixin selector named isTreasureLnet/minecraft/enchantment/Enchantment;isTreasure()Zintermediary method_8193Lnet/minecraft/class_1887;method_8193()Zofficial aLdac;a()Z
-
isAvailableForEnchantedBookOffer
public boolean isAvailableForEnchantedBookOffer()Returns whether this enchantment will appear in the enchanted book trade offers of librarian villagers.- Overrides:
isAvailableForEnchantedBookOfferin classEnchantment- Returns:
- whether this enchantment will appear in the enchanted book trade offers of librarian villagers
- Mappings:
Namespace Name Mixin selector named isAvailableForEnchantedBookOfferLnet/minecraft/enchantment/Enchantment;isAvailableForEnchantedBookOffer()Zintermediary method_25949Lnet/minecraft/class_1887;method_25949()Zofficial kLdac;k()Z
-
isAvailableForRandomSelection
public boolean isAvailableForRandomSelection()Returns whether this enchantment will appear in the enchanting table or loots with random enchant function.- Overrides:
isAvailableForRandomSelectionin classEnchantment- Returns:
- whether this enchantment will appear in the enchanting table or loots with random enchant function
- Mappings:
Namespace Name Mixin selector named isAvailableForRandomSelectionLnet/minecraft/enchantment/Enchantment;isAvailableForRandomSelection()Zintermediary method_25950Lnet/minecraft/class_1887;method_25950()Zofficial lLdac;l()Z
-