Uses of Record Class
net.minecraft.world.item.enchantment.Enchantment.EnchantmentDefinition
-
Uses of Enchantment.EnchantmentDefinition in net.minecraft.world.item.enchantment
Modifier and TypeFieldDescriptionprivate final Enchantment.EnchantmentDefinition
Enchantment.definition
Modifier and TypeMethodDescriptionEnchantment.definition
(TagKey<Item> p_335812_, int p_335506_, int p_335598_, Enchantment.Cost p_336185_, Enchantment.Cost p_335768_, int p_335409_, EquipmentSlot... p_335583_) Enchantment.definition
(TagKey<Item> p_338699_, int p_338488_, int p_338497_, Enchantment.Cost p_338563_, Enchantment.Cost p_338689_, int p_338253_, FeatureFlagSet p_338531_, EquipmentSlot... p_338705_) Enchantment.definition
(TagKey<Item> p_335552_, TagKey<Item> p_336174_, int p_335557_, int p_336051_, Enchantment.Cost p_336176_, Enchantment.Cost p_335380_, int p_335569_, EquipmentSlot... p_335470_) ModifierConstructorDescriptionDamageEnchantment
(Enchantment.EnchantmentDefinition p_336160_, Optional<TagKey<EntityType<?>>> p_319895_) protected
Enchantment
(Enchantment.EnchantmentDefinition p_335940_) protected
ProtectionEnchantment
(Enchantment.EnchantmentDefinition p_335937_, ProtectionEnchantment.Type p_45127_) protected