net.minecraft.enchantment

public record Enchantment

net.minecraft.world.item.enchantment.Enchantment
net.minecraft.class_1887
net.minecraft.enchantment.Enchantment

Field summary

Modifier and TypeField
private final Text
description
comp_2686
description
private final Enchantment$Definition
definition
comp_2687
definition
private final RegistryEntryList<Enchantment>
exclusiveSet
comp_2688
exclusiveSet
private final ComponentMap
effects
comp_2689
effects
public static final int
MAX_LEVEL
field_51949
MAX_LEVEL
public static final com.mojang.serialization.Codec<Enchantment>
DIRECT_CODEC
field_51643
CODEC
public static final com.mojang.serialization.Codec<RegistryEntry<Enchantment>>
CODEC
field_51644
ENTRY_CODEC
public static final PacketCodec<RegistryByteBuf, RegistryEntry<Enchantment>>
STREAM_CODEC
field_51950
ENTRY_PACKET_CODEC

Constructor summary

ModifierConstructor
public (Text description, Enchantment$Definition definition, RegistryEntryList<Enchantment> exclusiveSet, ComponentMap effects)

Method summary

Modifier and TypeMethod
public static Enchantment$Cost
constantCost(int base)
method_58440(int arg0)
constantCost(int base)
public static Enchantment$Cost
dynamicCost(int base, int perLevel)
method_58441(int arg0, int arg1)
leveledCost(int base, int perLevel)
public static Enchantment$Definition
definition(HolderSet<Item> supportedItems, HolderSet<Item> primaryItems, int weight, int maxLevel, Enchantment$Cost minCost, Enchantment$Cost maxCost, int anvilCost, EquipmentSlotGroup... slots)
method_58443(class_6885<class_1792> arg0, class_6885<class_1792> arg1, int arg2, int arg3, class_1887$class_9426 arg4, class_1887$class_9426 arg5, int arg6, class_9274... arg7)
definition(RegistryEntryList<Item> supportedItems, RegistryEntryList<Item> primaryItems, int weight, int maxLevel, Enchantment$Cost minCost, Enchantment$Cost maxCost, int anvilCost, AttributeModifierSlot... slots)
public static Enchantment$Definition
definition(HolderSet<Item> supportedItems, int weight, int maxLevel, Enchantment$Cost minCost, Enchantment$Cost maxCost, int anvilCost, EquipmentSlotGroup... slots)
method_58442(class_6885<class_1792> arg0, int arg1, int arg2, class_1887$class_9426 arg3, class_1887$class_9426 arg4, int arg5, class_9274... arg6)
definition(RegistryEntryList<Item> supportedItems, int weight, int maxLevel, Enchantment$Cost minCost, Enchantment$Cost maxCost, int anvilCost, AttributeModifierSlot... slots)
public Map<EquipmentSlot, ItemStack>
getSlotItems(LivingEntity entity)
method_8185(class_1309 arg0)
getEquipment(LivingEntity entity)
public RegistryEntryList<Item>
getSupportedItems()
method_56109()
getApplicableItems()
public boolean
matchingSlot(EquipmentSlot slot)
method_60026(class_1304 arg0)
slotMatches(EquipmentSlot slot)
public boolean
isPrimaryItem(ItemStack item)
method_58444(class_1799 arg0)
isPrimaryItem(ItemStack stack)
public boolean
isSupportedItem(ItemStack item)
method_60046(class_1799 arg0)
isSupportedItem(ItemStack stack)
public int
getWeight()
method_58445()
getWeight()
public int
getAnvilCost()
method_58446()
getAnvilCost()
public int
getMinLevel()
method_8187()
getMinLevel()
public int
getMaxLevel()
method_8183()
getMaxLevel()
public int
getMinCost(int level)
method_8182(int arg0)
getMinPower(int level)
public int
getMaxCost(int level)
method_20742(int arg0)
getMaxPower(int level)
public static boolean
areCompatible(Holder<Enchantment> enchantment, Holder<Enchantment> other)
method_60033(class_6880<class_1887> arg0, class_6880<class_1887> arg1)
canBeCombined(RegistryEntry<Enchantment> first, RegistryEntry<Enchantment> second)
public static Text
getFullname(Holder<Enchantment> enchantment, int level)
method_8179(class_6880<class_1887> arg0, int arg1)
getName(RegistryEntry<Enchantment> enchantment, int level)
public boolean
canEnchant(ItemStack itemStack)
method_8192(class_1799 arg0)
isAcceptableItem(ItemStack stack)
public <T> List<T>
getEffects(DataComponentType<List<T>> type)
method_60034(class_9331<List<T>> arg0)
getEffect(ComponentType<List<T>> type)
public boolean
isImmuneToDamage(ServerLevel serverLevel, int enchantmentLevel, Entity victim, DamageSource source)
method_60014(class_3218 arg0, int arg1, class_1297 arg2, class_1282 arg3)
hasDamageImmunityTo(ServerWorld world, int level, Entity user, DamageSource damageSource)
public void
modifyDamageProtection(ServerLevel serverLevel, int enchantmentLevel, ItemStack item, Entity victim, DamageSource source, org.apache.commons.lang3.mutable.MutableFloat protection)
method_60018(class_3218 arg0, int arg1, class_1799 arg2, class_1297 arg3, class_1282 arg4, org.apache.commons.lang3.mutable.MutableFloat arg5)
modifyDamageProtection(ServerWorld world, int level, ItemStack stack, Entity user, DamageSource damageSource, org.apache.commons.lang3.mutable.MutableFloat damageProtection)
public void
modifyDurabilityChange(ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, org.apache.commons.lang3.mutable.MutableFloat change)
method_60020(class_3218 arg0, int arg1, class_1799 arg2, org.apache.commons.lang3.mutable.MutableFloat arg3)
modifyItemDamage(ServerWorld world, int level, ItemStack stack, org.apache.commons.lang3.mutable.MutableFloat itemDamage)
public void
modifyAmmoCount(ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, org.apache.commons.lang3.mutable.MutableFloat change)
method_60043(class_3218 arg0, int arg1, class_1799 arg2, org.apache.commons.lang3.mutable.MutableFloat arg3)
modifyAmmoUse(ServerWorld world, int level, ItemStack projectileStack, org.apache.commons.lang3.mutable.MutableFloat ammoUse)
public void
modifyPiercingCount(ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, org.apache.commons.lang3.mutable.MutableFloat count)
method_60050(class_3218 arg0, int arg1, class_1799 arg2, org.apache.commons.lang3.mutable.MutableFloat arg3)
modifyProjectilePiercing(ServerWorld world, int level, ItemStack stack, org.apache.commons.lang3.mutable.MutableFloat projectilePiercing)
public void
modifyBlockExperience(ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, org.apache.commons.lang3.mutable.MutableFloat count)
method_60053(class_3218 arg0, int arg1, class_1799 arg2, org.apache.commons.lang3.mutable.MutableFloat arg3)
modifyBlockExperience(ServerWorld world, int level, ItemStack stack, org.apache.commons.lang3.mutable.MutableFloat blockExperience)
public void
modifyMobExperience(ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, Entity killer, org.apache.commons.lang3.mutable.MutableFloat experience)
method_60019(class_3218 arg0, int arg1, class_1799 arg2, class_1297 arg3, org.apache.commons.lang3.mutable.MutableFloat arg4)
modifyMobExperience(ServerWorld world, int level, ItemStack stack, Entity user, org.apache.commons.lang3.mutable.MutableFloat mobExperience)
public void
modifyDurabilityToRepairFromXp(ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, org.apache.commons.lang3.mutable.MutableFloat change)
method_60056(class_3218 arg0, int arg1, class_1799 arg2, org.apache.commons.lang3.mutable.MutableFloat arg3)
modifyRepairWithExperience(ServerWorld world, int level, ItemStack stack, org.apache.commons.lang3.mutable.MutableFloat repairWithExperience)
public void
modifyTridentReturnToOwnerAcceleration(ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, Entity trident, org.apache.commons.lang3.mutable.MutableFloat count)
method_60042(class_3218 arg0, int arg1, class_1799 arg2, class_1297 arg3, org.apache.commons.lang3.mutable.MutableFloat arg4)
modifyTridentReturnAcceleration(ServerWorld world, int level, ItemStack stack, Entity user, org.apache.commons.lang3.mutable.MutableFloat tridentReturnAcceleration)
public void
modifyTridentSpinAttackStrength(RandomSource random, int enchantmentLevel, org.apache.commons.lang3.mutable.MutableFloat strength)
method_60049(class_5819 arg0, int arg1, org.apache.commons.lang3.mutable.MutableFloat arg2)
modifyTridentSpinAttackStrength(Random random, int level, org.apache.commons.lang3.mutable.MutableFloat tridentSpinAttackStrength)
public void
modifyFishingTimeReduction(ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, Entity fisher, org.apache.commons.lang3.mutable.MutableFloat timeReduction)
method_60052(class_3218 arg0, int arg1, class_1799 arg2, class_1297 arg3, org.apache.commons.lang3.mutable.MutableFloat arg4)
modifyFishingTimeReduction(ServerWorld world, int level, ItemStack stack, Entity user, org.apache.commons.lang3.mutable.MutableFloat fishingTimeReduction)
public void
modifyFishingLuckBonus(ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, Entity fisher, org.apache.commons.lang3.mutable.MutableFloat luck)
method_60055(class_3218 arg0, int arg1, class_1799 arg2, class_1297 arg3, org.apache.commons.lang3.mutable.MutableFloat arg4)
modifyFishingLuckBonus(ServerWorld world, int level, ItemStack stack, Entity user, org.apache.commons.lang3.mutable.MutableFloat fishingLuckBonus)
public void
modifyDamage(ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, Entity victim, DamageSource damageSource, org.apache.commons.lang3.mutable.MutableFloat amount)
method_60041(class_3218 arg0, int arg1, class_1799 arg2, class_1297 arg3, class_1282 arg4, org.apache.commons.lang3.mutable.MutableFloat arg5)
modifyDamage(ServerWorld world, int level, ItemStack stack, Entity user, DamageSource damageSource, org.apache.commons.lang3.mutable.MutableFloat damage)
public void
modifyFallBasedDamage(ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, Entity victim, DamageSource damageSource, org.apache.commons.lang3.mutable.MutableFloat amount)
method_60048(class_3218 arg0, int arg1, class_1799 arg2, class_1297 arg3, class_1282 arg4, org.apache.commons.lang3.mutable.MutableFloat arg5)
modifySmashDamagePerFallenBlock(ServerWorld world, int level, ItemStack stack, Entity user, DamageSource damageSource, org.apache.commons.lang3.mutable.MutableFloat smashDamagePerFallenBlock)
public void
modifyKnockback(ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, Entity victim, DamageSource damageSource, org.apache.commons.lang3.mutable.MutableFloat amount)
method_60051(class_3218 arg0, int arg1, class_1799 arg2, class_1297 arg3, class_1282 arg4, org.apache.commons.lang3.mutable.MutableFloat arg5)
modifyKnockback(ServerWorld world, int level, ItemStack stack, Entity user, DamageSource damageSource, org.apache.commons.lang3.mutable.MutableFloat knockback)
public void
modifyArmorEffectivness(ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, Entity victim, DamageSource damageSource, org.apache.commons.lang3.mutable.MutableFloat amount)
method_60054(class_3218 arg0, int arg1, class_1799 arg2, class_1297 arg3, class_1282 arg4, org.apache.commons.lang3.mutable.MutableFloat arg5)
modifyArmorEffectiveness(ServerWorld world, int level, ItemStack stack, Entity user, DamageSource damageSource, org.apache.commons.lang3.mutable.MutableFloat armorEffectiveness)
public void
doPostAttack(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, EnchantmentTarget forTarget, Entity victim, DamageSource damageSource)
method_8189(class_3218 arg0, int arg1, class_9699 arg2, class_9703 arg3, class_1297 arg4, class_1282 arg5)
onTargetDamaged(ServerWorld world, int level, EnchantmentEffectContext context, EnchantmentEffectTarget target, Entity user, DamageSource damageSource)
public static void
doPostAttack(TargetedConditionalEffect<EnchantmentEntityEffect> effect, ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity victim, DamageSource damageSource)
method_60031(class_9710<class_9721> arg0, class_3218 arg1, int arg2, class_9699 arg3, class_1297 arg4, class_1282 arg5)
applyTargetedEffect(TargetedEnchantmentEffect<EnchantmentEntityEffect> effect, ServerWorld world, int level, EnchantmentEffectContext context, Entity user, DamageSource damageSource)
public void
doPostPiercingAttack(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity user)
method_75251(class_3218 arg0, int arg1, class_9699 arg2, class_1297 arg3)
onPiercingAttack(ServerWorld world, int level, EnchantmentEffectContext context, Entity attacker)
public void
modifyProjectileCount(ServerLevel serverLevel, int enchantmentLevel, ItemStack weapon, Entity shooter, org.apache.commons.lang3.mutable.MutableFloat count)
method_60057(class_3218 arg0, int arg1, class_1799 arg2, class_1297 arg3, org.apache.commons.lang3.mutable.MutableFloat arg4)
modifyProjectileCount(ServerWorld world, int level, ItemStack stack, Entity user, org.apache.commons.lang3.mutable.MutableFloat projectileCount)
public void
modifyProjectileSpread(ServerLevel serverLevel, int enchantmentLevel, ItemStack weapon, Entity shooter, org.apache.commons.lang3.mutable.MutableFloat angle)
method_60059(class_3218 arg0, int arg1, class_1799 arg2, class_1297 arg3, org.apache.commons.lang3.mutable.MutableFloat arg4)
modifyProjectileSpread(ServerWorld world, int level, ItemStack stack, Entity user, org.apache.commons.lang3.mutable.MutableFloat projectileSpread)
public void
modifyCrossbowChargeTime(RandomSource random, int enchantmentLevel, org.apache.commons.lang3.mutable.MutableFloat time)
method_60058(class_5819 arg0, int arg1, org.apache.commons.lang3.mutable.MutableFloat arg2)
modifyCrossbowChargeTime(Random random, int level, org.apache.commons.lang3.mutable.MutableFloat crossbowChargeTime)
public void
modifyUnfilteredValue(DataComponentType<EnchantmentValueEffect> component, RandomSource random, int enchantmentLevel, org.apache.commons.lang3.mutable.MutableFloat value)
method_60506(class_9331<class_9723> arg0, class_5819 arg1, int arg2, org.apache.commons.lang3.mutable.MutableFloat arg3)
modifyValue(ComponentType<EnchantmentValueEffect> type, Random random, int level, org.apache.commons.lang3.mutable.MutableFloat value)
public void
tick(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity entity)
method_60021(class_3218 arg0, int arg1, class_9699 arg2, class_1297 arg3)
onTick(ServerWorld world, int level, EnchantmentEffectContext context, Entity user)
public void
onProjectileSpawned(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse weapon, Entity projectile)
method_60044(class_3218 arg0, int arg1, class_9699 arg2, class_1297 arg3)
onProjectileSpawned(ServerWorld world, int level, EnchantmentEffectContext context, Entity user)
public void
onHitBlock(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse weapon, Entity projectile, Vec3 position, BlockState hitBlock)
method_60023(class_3218 arg0, int arg1, class_9699 arg2, class_1297 arg3, class_243 arg4, class_2680 arg5)
onHitBlock(ServerWorld world, int level, EnchantmentEffectContext context, Entity enchantedEntity, Vec3d pos, BlockState state)
private void
modifyItemFilteredCount(DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>> effectType, ServerLevel serverLevel, int enchantmentLevel, ItemInstance itemStack, org.apache.commons.lang3.mutable.MutableFloat value)
method_60037(class_9331<List<class_9698<class_9723>>> arg0, class_3218 arg1, int arg2, class_1_96 arg3, org.apache.commons.lang3.mutable.MutableFloat arg4)
modifyValue(ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> type, ServerWorld world, int level, ItemStackView arg3, org.apache.commons.lang3.mutable.MutableFloat value)
private void
modifyEntityFilteredValue(DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>> effectType, ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, Entity entity, org.apache.commons.lang3.mutable.MutableFloat value)
method_60036(class_9331<List<class_9698<class_9723>>> arg0, class_3218 arg1, int arg2, class_1799 arg3, class_1297 arg4, org.apache.commons.lang3.mutable.MutableFloat arg5)
modifyValue(ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> type, ServerWorld world, int level, ItemStack stack, Entity user, org.apache.commons.lang3.mutable.MutableFloat value)
private void
modifyDamageFilteredValue(DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>> effectType, ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, Entity victim, DamageSource damageSource, org.apache.commons.lang3.mutable.MutableFloat value)
method_60035(class_9331<List<class_9698<class_9723>>> arg0, class_3218 arg1, int arg2, class_1799 arg3, class_1297 arg4, class_1282 arg5, org.apache.commons.lang3.mutable.MutableFloat arg6)
modifyValue(ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> type, ServerWorld world, int level, ItemStack stack, Entity user, DamageSource damageSource, org.apache.commons.lang3.mutable.MutableFloat value)
public static LootContext
damageContext(ServerLevel serverLevel, int enchantmentLevel, Entity victim, DamageSource source)
method_60040(class_3218 arg0, int arg1, class_1297 arg2, class_1282 arg3)
createEnchantedDamageLootContext(ServerWorld world, int level, Entity entity, DamageSource damageSource)
private static LootContext
itemContext(ServerLevel serverLevel, int enchantmentLevel, ItemInstance itemStack)
method_60017(class_3218 arg0, int arg1, class_1_96 arg2)
createEnchantedItemLootContext(ServerWorld world, int level, ItemStackView arg2)
private static LootContext
locationContext(ServerLevel serverLevel, int enchantmentLevel, Entity entity, boolean active)
method_60016(class_3218 arg0, int arg1, class_1297 arg2, boolean arg3)
createEnchantedLocationLootContext(ServerWorld world, int level, Entity entity, boolean enchantmentActive)
private static LootContext
entityContext(ServerLevel serverLevel, int enchantmentLevel, Entity entity, Vec3 position)
method_60015(class_3218 arg0, int arg1, class_1297 arg2, class_243 arg3)
createEnchantedEntityLootContext(ServerWorld world, int level, Entity entity, Vec3d pos)
private static LootContext
blockHitContext(ServerLevel serverLevel, int enchantmentLevel, Entity entity, Vec3 position, BlockState hitBlock)
method_60768(class_3218 arg0, int arg1, class_1297 arg2, class_243 arg3, class_2680 arg4)
createHitBlockLootContext(ServerWorld world, int level, Entity entity, Vec3d pos, BlockState state)
private static <T> void
applyEffects(List<ConditionalEffect<T>> effects, LootContext filterData, Enchantment$GenericAction<T> action)
method_1_565(List<class_9698<T>> arg0, class_47 arg1, class_1887$class_1_34<T> arg2)
applyEnchantmentEffects(List<EnchantmentEffectEntry<T>> effects, LootContext context, Enchantment$EffectApplier<T> applier)
private static <T> void
applyEffects(List<ConditionalEffect<T>> effects, LootContext filterData, org.apache.commons.lang3.mutable.MutableFloat value, Enchantment$FloatAction<T> action)
method_1_566(List<class_9698<T>> arg0, class_47 arg1, org.apache.commons.lang3.mutable.MutableFloat arg2, class_1887$class_1_33<T> arg3)
adjustByEnchantmentEffects(List<EnchantmentEffectEntry<T>> effects, LootContext context, org.apache.commons.lang3.mutable.MutableFloat value, Enchantment$ValueAdjuster<T> adjuster)
public void
runLocationChangedEffects(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, LivingEntity entity)
method_60025(class_3218 arg0, int arg1, class_9699 arg2, class_1309 arg3)
applyLocationBasedEffects(ServerWorld world, int level, EnchantmentEffectContext context, LivingEntity user)
public void
stopLocationBasedEffects(int enchantmentLevel, EnchantedItemInUse item, LivingEntity entity)
method_60013(int arg0, class_9699 arg1, class_1309 arg2)
removeLocationBasedEffects(int level, EnchantmentEffectContext context, LivingEntity user)
public static Enchantment$Builder
enchantment(Enchantment$EnchantmentDefinition definition)
method_60030(class_1887$class_9427 arg0)
builder(Enchantment$Definition definition)
public Text
description()
comp_2686()
description()
public Enchantment$Definition
definition()
comp_2687()
definition()
public RegistryEntryList<Enchantment>
exclusiveSet()
comp_2688()
exclusiveSet()
public ComponentMap
effects()
comp_2689()
effects()
private static void
lambda$runLocationChangedEffects$0(EnchantedItemInUse arg0, LivingEntity arg1, int arg2, EnchantmentLocationBasedEffect arg3)
method_60029(class_9699 arg0, class_1309 arg1, int arg2, class_9722 arg3)
method_60029(EnchantmentEffectContext arg0, LivingEntity arg1, int arg2, EnchantmentLocationBasedEffect effect)
private static float
lambda$modifyDamageFilteredValue$0(int arg0, Entity arg1, EnchantmentValueEffect arg2, float arg3)
method_1_567(int arg0, class_1297 arg1, class_9723 arg2, float arg3)
method_1_567(int arg0, Entity arg1, EnchantmentValueEffect arg2, float arg3)
private static float
lambda$modifyEntityFilteredValue$0(int arg0, Entity arg1, EnchantmentValueEffect arg2, float arg3)
method_1_569(int arg0, class_1297 arg1, class_9723 arg2, float arg3)
method_1_569(int arg0, Entity arg1, EnchantmentValueEffect arg2, float arg3)
private static float
lambda$modifyItemFilteredCount$0(int arg0, ServerLevel arg1, EnchantmentValueEffect arg2, float arg3)
method_1_570(int arg0, class_3218 arg1, class_9723 arg2, float arg3)
method_1_570(int arg0, ServerWorld arg1, EnchantmentValueEffect arg2, float arg3)
private static void
lambda$onHitBlock$0(ServerLevel arg0, int arg1, EnchantedItemInUse arg2, Entity arg3, Vec3 arg4, EnchantmentEntityEffect arg5)
method_60024(class_3218 arg0, int arg1, class_9699 arg2, class_1297 arg3, class_243 arg4, class_9721 arg5)
method_60024(ServerWorld arg0, int arg1, EnchantmentEffectContext arg2, Entity arg3, Vec3d arg4, EnchantmentEntityEffect effect)
private static void
lambda$onProjectileSpawned$0(ServerLevel arg0, int arg1, EnchantedItemInUse arg2, Entity arg3, EnchantmentEntityEffect arg4)
method_60022(class_3218 arg0, int arg1, class_9699 arg2, class_1297 arg3, class_9721 arg4)
method_60022(ServerWorld arg0, int arg1, EnchantmentEffectContext arg2, Entity arg3, EnchantmentEntityEffect effect)
private static void
lambda$tick$0(ServerLevel arg0, int arg1, EnchantedItemInUse arg2, Entity arg3, EnchantmentEntityEffect arg4)
method_60045(class_3218 arg0, int arg1, class_9699 arg2, class_1297 arg3, class_9721 arg4)
method_60045(ServerWorld arg0, int arg1, EnchantmentEffectContext arg2, Entity arg3, EnchantmentEntityEffect effect)
private static void
lambda$doPostPiercingAttack$0(ServerLevel arg0, int arg1, EnchantedItemInUse arg2, Entity arg3, EnchantmentEntityEffect arg4)
method_75252(class_3218 arg0, int arg1, class_9699 arg2, class_1297 arg3, class_9721 arg4)
method_75252(ServerWorld arg0, int arg1, EnchantmentEffectContext arg2, Entity arg3, EnchantmentEntityEffect effect)
private static float
lambda$modifyDamageProtection$0(int arg0, Entity arg1, EnchantmentValueEffect arg2, float arg3)
method_1_568(int arg0, class_1297 arg1, class_9723 arg2, float arg3)
method_1_568(int arg0, Entity arg1, EnchantmentValueEffect valueEffect, float value)
private static boolean
lambda$matchingSlot$0(EquipmentSlot arg0, EquipmentSlotGroup arg1)
method_60027(class_1304 arg0, class_9274 arg1)
method_60027(EquipmentSlot arg0, AttributeModifierSlot slotx)
private static com.mojang.datafixers.kinds.App
lambda$static$0(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_60028(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_60028(com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)