Package net.minecraft.enchantment
Class WindBurstEnchantment
java.lang.Object
net.minecraft.enchantment.Enchantment
net.minecraft.enchantment.WindBurstEnchantment
- All Implemented Interfaces:
ToggleableFeature
- Mappings:
Namespace Name named net/minecraft/enchantment/WindBurstEnchantment
intermediary net/minecraft/class_9469
official dat
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final class
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
Fields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS
-
Constructor Summary
-
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.void
onAttack
(LivingEntity attacket, Entity target, int level) Methods 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, isTreasure, leveledCost, onTargetDamaged, onUserDamaged, properties, properties, properties
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Constructor Details
-
WindBurstEnchantment
public WindBurstEnchantment()
-
-
Method Details
-
onAttack
- Overrides:
onAttack
in classEnchantment
- Mappings:
Namespace Name Mixin selector named onAttack
Lnet/minecraft/enchantment/Enchantment;onAttack(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/Entity;I)V
intermediary method_58675
Lnet/minecraft/class_1887;method_58675(Lnet/minecraft/class_1309;Lnet/minecraft/class_1297;I)V
official c
Ldac;c(Lbtr;Lbsw;I)V
-
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 named isAvailableForEnchantedBookOffer
Lnet/minecraft/enchantment/Enchantment;isAvailableForEnchantedBookOffer()Z
intermediary method_25949
Lnet/minecraft/class_1887;method_25949()Z
official k
Ldac;k()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 named isAvailableForRandomSelection
Lnet/minecraft/enchantment/Enchantment;isAvailableForRandomSelection()Z
intermediary method_25950
Lnet/minecraft/class_1887;method_25950()Z
official l
Ldac;l()Z
-