Package net.minecraft.enchantment
Class DensityEnchantment
java.lang.Object
net.minecraft.enchantment.Enchantment
net.minecraft.enchantment.DensityEnchantment
- All Implemented Interfaces:
ToggleableFeature
- Mappings:
Namespace Name named net/minecraft/enchantment/DensityEnchantmentintermediary net/minecraft/class_9468official daa
-
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
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, isAvailableForEnchantedBookOffer, isAvailableForRandomSelection, isCursed, isPrimaryItem, isTreasure, 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
-
DensityEnchantment
public DensityEnchantment()
-
-
Method Details
-
getDamage
public static float getDamage(int level, float fallDistance) - Mappings:
Namespace Name Mixin selector named getDamageLnet/minecraft/enchantment/DensityEnchantment;getDamage(IF)Fintermediary method_58673Lnet/minecraft/class_9468;method_58673(IF)Fofficial aLdaa;a(IF)F
-