net.minecraft.world.item.enchantment

public class EnchantmentHelper

dae
net.minecraft.world.item.enchantment.EnchantmentHelper
net.minecraft.class_1890
net.minecraft.unmapped.C_jakrppis
net.minecraft.enchantment.EnchantmentHelper
net.minecraft.enchantment.EnchantmentHelper
net.minecraft.src.C_1522_
net.minecraft.world.item.enchantment.EnchantmentManager

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static int
a(jm<dac> arg0, cuq arg1)
getItemEnchantmentLevel(Holder<Enchantment> arg0, ItemStack arg1)
method_8225(class_6880<class_1887> arg0, class_1799 arg1)
m_byjosehc(C_cjzoxshv<C_jxtrubuh> arg0, C_sddaxwyk arg1)
getLevel(RegistryEntry<Enchantment> enchantment, ItemStack stack)
getLevel(Holder<Enchantment> enchantment, ItemStack stack)
m_44843_(C_203228_<C_1505_> p_344652_, C_1391_ p_44845_)
public static ItemEnchantments
a(cuq arg0, Consumer<dai$a> arg1)
updateEnchantments(ItemStack arg0, Consumer<ItemEnchantments$Mutable> arg1)
method_57531(class_1799 arg0, Consumer<class_9304$class_9305> arg1)
m_iefpfmdo(C_sddaxwyk arg0, Consumer<C_qlclfxvn$C_vbojeisc> arg1)
apply(ItemStack stack, Consumer<ItemEnchantmentsComponent$Builder> applier)
applyEnchantments(ItemStack stack, Consumer<ItemEnchantmentsComponent$Builder> applier)
m_320959_(C_1391_ p_333740_, Consumer<C_313873_$C_313506_> p_328467_)
public static boolean
a(cuq arg0)
canStoreEnchantments(ItemStack arg0)
method_57529(class_1799 arg0)
m_mimuzvcl(C_sddaxwyk arg0)
canHaveEnchantments(ItemStack stack)
supportsEnchantments(ItemStack stack)
m_320740_(C_1391_ p_333572_)
public static void
a(cuq arg0, dai arg1)
setEnchantments(ItemStack arg0, ItemEnchantments arg1)
method_57530(class_1799 arg0, class_9304 arg1)
m_ybhxtwqv(C_sddaxwyk arg0, C_qlclfxvn arg1)
set(ItemStack stack, ItemEnchantmentsComponent enchantments)
set(ItemStack stack, ItemEnchantmentsComponent value)
m_44865_(C_1391_ p_44867_, C_313873_ p_330134_)
public static ItemEnchantments
b(cuq arg0)
getEnchantmentsForCrafting(ItemStack arg0)
method_57532(class_1799 arg0)
m_uyoiclvv(C_sddaxwyk arg0)
getEnchantments(ItemStack stack)
getEnchantments(ItemStack stack)
m_324152_(C_1391_ p_335659_)
private static DataComponentType<ItemEnchantments>
d(cuq arg0)
getComponentType(ItemStack arg0)
method_57533(class_1799 arg0)
m_fbcdwuju(C_sddaxwyk arg0)
getEnchantmentsComponentType(ItemStack stack)
getComponentType(ItemStack stack)
m_322805_(C_1391_ p_335414_)
public static boolean
c(cuq arg0)
hasAnyEnchantments(ItemStack arg0)
method_58117(class_1799 arg0)
m_koeurtnx(C_sddaxwyk arg0)
hasEnchantments(ItemStack stack)
hasEnchantments(ItemStack stack)
m_322755_(C_1391_ p_335287_)
public static int
a(aqu arg0, cuq arg1, int arg2)
processDurabilityChange(ServerLevel arg0, ItemStack arg1, int arg2)
method_60117(class_3218 arg0, class_1799 arg1, int arg2)
m_chdruiod(C_bdwnwhiu arg0, C_sddaxwyk arg1, int arg2)
getItemDamage(ServerWorld world, ItemStack stack, int baseItemDamage)
getDurabilityChange(ServerWorld world, ItemStack stack, int baseDamage)
m_338768_(C_12_ p_344040_, C_1391_ p_345474_, int p_342600_)
public static int
a(aqu arg0, cuq arg1, cuq arg2, int arg3)
processAmmoUse(ServerLevel arg0, ItemStack arg1, ItemStack arg2, int arg3)
method_60129(class_3218 arg0, class_1799 arg1, class_1799 arg2, int arg3)
m_pvuxrowe(C_bdwnwhiu arg0, C_sddaxwyk arg1, C_sddaxwyk arg2, int arg3)
getAmmoUse(ServerWorld world, ItemStack rangedWeaponStack, ItemStack projectileStack, int baseAmmoUse)
getAmmoUse(ServerWorld world, ItemStack weapon, ItemStack projectile, int baseAmmoUse)
m_339550_(C_12_ p_344585_, C_1391_ p_344182_, C_1391_ p_343578_, int p_342951_)
public static int
b(aqu arg0, cuq arg1, int arg2)
processBlockExperience(ServerLevel arg0, ItemStack arg1, int arg2)
method_60157(class_3218 arg0, class_1799 arg1, int arg2)
m_mcehpxsn(C_bdwnwhiu arg0, C_sddaxwyk arg1, int arg2)
getBlockExperience(ServerWorld world, ItemStack stack, int baseBlockExperience)
getBlockExperience(ServerWorld world, ItemStack stack, int baseBlockExperience)
m_340586_(C_12_ p_343042_, C_1391_ p_343624_, int p_342499_)
public static int
a(aqu arg0, bsr arg1, bsr arg2, int arg3)
processMobExperience(ServerLevel arg0, Entity arg1, Entity arg2, int arg3)
method_60109(class_3218 arg0, class_1297 arg1, class_1297 arg2, int arg3)
m_uxlmovdv(C_bdwnwhiu arg0, C_astfners arg1, C_astfners arg2, int arg3)
getMobExperience(ServerWorld world, Entity attacker, Entity mob, int baseMobExperience)
getMobExperience(ServerWorld world, Entity attacker, Entity mob, int baseExperience)
m_340460_(C_12_ p_343500_, C_507_ p_345230_, C_507_ p_344218_, int p_342604_)
private static void
a(cuq arg0, dae$b arg1)
runIterationOnItem(ItemStack arg0, EnchantmentHelper$EnchantmentVisitor arg1)
method_8220(class_1799 arg0, class_1890$class_1891 arg1)
m_akhrohzh(C_sddaxwyk arg0, C_jakrppis$C_jdhxivxn arg1)
forEachEnchantment(ItemStack stack, EnchantmentHelper$Consumer consumer)
forEachEnchantment(ItemStack stack, EnchantmentHelper$Consumer enchantmentConsumer)
m_340521_(C_1391_ p_343610_, C_1522_$C_1523_ p_342837_)
private static void
a(cuq arg0, bsy arg1, btn arg2, dae$a arg3)
runIterationOnItem(ItemStack arg0, EquipmentSlot arg1, LivingEntity arg2, EnchantmentHelper$EnchantmentInSlotVisitor arg3)
method_60139(class_1799 arg0, class_1304 arg1, class_1309 arg2, class_1890$class_9702 arg3)
m_xdjgfpqn(C_sddaxwyk arg0, C_yuycoehb arg1, C_usxaxydn arg2, C_jakrppis$C_wtxpyhvg arg3)
forEachEnchantment(ItemStack stack, EquipmentSlot slot, LivingEntity entity, EnchantmentHelper$ContextAwareConsumer contextAwareConsumer)
forEachEnchantment(ItemStack stack, EquipmentSlot inSlot, LivingEntity owner, EnchantmentHelper$ContextAwareConsumer enchantmentConsumer)
m_44850_(C_1391_ p_44852_, C_516_ p_344793_, C_524_ p_344959_, C_1522_$C_336577_ p_342058_)
private static void
a(btn arg0, dae$a arg1)
runIterationOnEquipment(LivingEntity arg0, EnchantmentHelper$EnchantmentInSlotVisitor arg1)
method_8209(class_1309 arg0, class_1890$class_9702 arg1)
m_kvkboaps(C_usxaxydn arg0, C_jakrppis$C_wtxpyhvg arg1)
forEachEnchantment(LivingEntity entity, EnchantmentHelper$ContextAwareConsumer contextAwareConsumer)
forEachEquippedEnchantment(LivingEntity entity, EnchantmentHelper$ContextAwareConsumer enchantmentConsumer)
m_339299_(C_524_ p_344171_, C_1522_$C_336577_ p_343067_)
public static boolean
a(aqu arg0, btn arg1, brk arg2)
isImmuneToDamage(ServerLevel arg0, LivingEntity arg1, DamageSource arg2)
method_60112(class_3218 arg0, class_1309 arg1, class_1282 arg2)
m_gqfvpbsm(C_bdwnwhiu arg0, C_usxaxydn arg1, C_sbxfkpyv arg2)
isInvulnerableTo(ServerWorld world, LivingEntity user, DamageSource damageSource)
getImmuneToDamageFrom(ServerWorld world, LivingEntity entity, DamageSource source)
m_339358_(C_12_ p_343151_, C_524_ p_344523_, C_489_ p_343996_)
public static float
b(aqu arg0, btn arg1, brk arg2)
getDamageProtection(ServerLevel arg0, LivingEntity arg1, DamageSource arg2)
method_8219(class_3218 arg0, class_1309 arg1, class_1282 arg2)
m_jfbiswcz(C_bdwnwhiu arg0, C_usxaxydn arg1, C_sbxfkpyv arg2)
getProtectionAmount(ServerWorld world, LivingEntity user, DamageSource damageSource)
getDamageProtection(ServerWorld world, LivingEntity entity, DamageSource source)
m_44856_(C_12_ p_345416_, C_524_ p_342248_, C_489_ p_44858_)
public static float
a(aqu arg0, cuq arg1, bsr arg2, brk arg3, float arg4)
modifyDamage(ServerLevel arg0, ItemStack arg1, Entity arg2, DamageSource arg3, float arg4)
method_60120(class_3218 arg0, class_1799 arg1, class_1297 arg2, class_1282 arg3, float arg4)
m_xevkkzlv(C_bdwnwhiu arg0, C_sddaxwyk arg1, C_astfners arg2, C_sbxfkpyv arg3, float arg4)
getDamage(ServerWorld world, ItemStack stack, Entity target, DamageSource damageSource, float baseDamage)
getDamage(ServerWorld world, ItemStack stack, Entity entity, DamageSource source, float baseDamage)
m_338960_(C_12_ p_343245_, C_1391_ p_342430_, C_507_ p_344044_, C_489_ p_344705_, float p_344247_)
public static float
b(aqu arg0, cuq arg1, bsr arg2, brk arg3, float arg4)
modifyFallBasedDamage(ServerLevel arg0, ItemStack arg1, Entity arg2, DamageSource arg3, float arg4)
method_60160(class_3218 arg0, class_1799 arg1, class_1297 arg2, class_1282 arg3, float arg4)
m_gihyytey(C_bdwnwhiu arg0, C_sddaxwyk arg1, C_astfners arg2, C_sbxfkpyv arg3, float arg4)
getSmashDamagePerFallenBlock(ServerWorld world, ItemStack stack, Entity target, DamageSource damageSource, float baseSmashDamagePerFallenBlock)
getFallBasedDamage(ServerWorld world, ItemStack stack, Entity entity, DamageSource source, float baseDamage)
m_338992_(C_12_ p_345393_, C_1391_ p_344524_, C_507_ p_343535_, C_489_ p_343627_, float p_342940_)
public static float
c(aqu arg0, cuq arg1, bsr arg2, brk arg3, float arg4)
modifyArmorEffectiveness(ServerLevel arg0, ItemStack arg1, Entity arg2, DamageSource arg3, float arg4)
method_60170(class_3218 arg0, class_1799 arg1, class_1297 arg2, class_1282 arg3, float arg4)
m_rrxecqvc(C_bdwnwhiu arg0, C_sddaxwyk arg1, C_astfners arg2, C_sbxfkpyv arg3, float arg4)
getArmorEffectiveness(ServerWorld world, ItemStack stack, Entity user, DamageSource damageSource, float baseArmorEffectiveness)
getArmorEffectiveness(ServerWorld world, ItemStack stack, Entity entity, DamageSource source, float baseEffectiveness)
m_340291_(C_12_ p_345408_, C_1391_ p_344868_, C_507_ p_345361_, C_489_ p_343275_, float p_345487_)
public static float
d(aqu arg0, cuq arg1, bsr arg2, brk arg3, float arg4)
modifyKnockback(ServerLevel arg0, ItemStack arg1, Entity arg2, DamageSource arg3, float arg4)
method_60175(class_3218 arg0, class_1799 arg1, class_1297 arg2, class_1282 arg3, float arg4)
m_imfnnaau(C_bdwnwhiu arg0, C_sddaxwyk arg1, C_astfners arg2, C_sbxfkpyv arg3, float arg4)
modifyKnockback(ServerWorld world, ItemStack stack, Entity target, DamageSource damageSource, float baseKnockback)
getKnockback(ServerWorld world, ItemStack stack, Entity entity, DamageSource source, float baseKnockback)
m_340065_(C_12_ p_344591_, C_1391_ p_345053_, C_507_ p_343711_, C_489_ p_344321_, float p_343554_)
public static void
a(aqu arg0, bsr arg1, brk arg2)
doPostAttackEffects(ServerLevel arg0, Entity arg1, DamageSource arg2)
method_60107(class_3218 arg0, class_1297 arg1, class_1282 arg2)
m_rixuxzms(C_bdwnwhiu arg0, C_astfners arg1, C_sbxfkpyv arg2)
onTargetDamaged(ServerWorld world, Entity target, DamageSource damageSource)
onEntityDamaged(ServerWorld world, Entity entity, DamageSource source)
m_338760_(C_12_ p_343618_, C_507_ p_343098_, C_489_ p_342187_)
public static void
a(aqu arg0, bsr arg1, brk arg2, cuq arg3)
doPostAttackEffectsWithItemSource(ServerLevel arg0, Entity arg1, DamageSource arg2, ItemStack arg3)
method_60619(class_3218 arg0, class_1297 arg1, class_1282 arg2, class_1799 arg3)
m_swhrpoib(C_bdwnwhiu arg0, C_astfners arg1, C_sbxfkpyv arg2, C_sddaxwyk arg3)
onTargetDamaged(ServerWorld world, Entity target, DamageSource damageSource, ItemStack weapon)
onEntityHitWithItem(ServerWorld world, Entity entity, DamageSource source, ItemStack stack)
m_339422_(C_12_ p_345038_, C_507_ p_342420_, C_489_ p_344777_, C_1391_ p_344587_)
public static void
a(aqu arg0, btn arg1)
runLocationChangedEffects(ServerLevel arg0, LivingEntity arg1)
method_60111(class_3218 arg0, class_1309 arg1)
m_unfnerqk(C_bdwnwhiu arg0, C_usxaxydn arg1)
applyLocationBasedEffects(ServerWorld world, LivingEntity user)
applyLocationBasedEffects(ServerWorld world, LivingEntity entity)
m_339289_(C_12_ p_342390_, C_524_ p_344486_)
public static void
a(aqu arg0, cuq arg1, btn arg2, bsy arg3)
runLocationChangedEffects(ServerLevel arg0, ItemStack arg1, LivingEntity arg2, EquipmentSlot arg3)
method_60125(class_3218 arg0, class_1799 arg1, class_1309 arg2, class_1304 arg3)
m_aqtkrfxn(C_bdwnwhiu arg0, C_sddaxwyk arg1, C_usxaxydn arg2, C_yuycoehb arg3)
applyLocationBasedEffects(ServerWorld world, ItemStack stack, LivingEntity user, EquipmentSlot slot)
applyLocationBasedEffects(ServerWorld world, ItemStack stack, LivingEntity owner, EquipmentSlot inSlot)
m_339954_(C_12_ p_342666_, C_1391_ p_342169_, C_524_ p_343458_, C_516_ p_344449_)
public static void
a(btn arg0)
stopLocationBasedEffects(LivingEntity arg0)
method_60135(class_1309 arg0)
m_rgjmrwbl(C_usxaxydn arg0)
removeLocationBasedEffects(LivingEntity user)
removeLocationBasedEffects(LivingEntity entity)
m_339583_(C_524_ p_342428_)
public static void
a(cuq arg0, btn arg1, bsy arg2)
stopLocationBasedEffects(ItemStack arg0, LivingEntity arg1, EquipmentSlot arg2)
method_60141(class_1799 arg0, class_1309 arg1, class_1304 arg2)
m_rpbekwgr(C_sddaxwyk arg0, C_usxaxydn arg1, C_yuycoehb arg2)
removeLocationBasedEffects(ItemStack stack, LivingEntity user, EquipmentSlot slot)
removeLocationBasedEffects(ItemStack stack, LivingEntity owner, EquipmentSlot inSlot)
m_338633_(C_1391_ p_343782_, C_524_ p_342864_, C_516_ p_342427_)
public static void
b(aqu arg0, btn arg1)
tickEffects(ServerLevel arg0, LivingEntity arg1)
method_60154(class_3218 arg0, class_1309 arg1)
m_anckqezf(C_bdwnwhiu arg0, C_usxaxydn arg1)
onTick(ServerWorld world, LivingEntity user)
tick(ServerWorld world, LivingEntity entity)
m_339915_(C_12_ p_344571_, C_524_ p_343172_)
public static int
a(jm<dac> arg0, btn arg1)
getEnchantmentLevel(Holder<Enchantment> arg0, LivingEntity arg1)
method_8203(class_6880<class_1887> arg0, class_1309 arg1)
m_wfidublc(C_cjzoxshv<C_jxtrubuh> arg0, C_usxaxydn arg1)
getEquipmentLevel(RegistryEntry<Enchantment> enchantment, LivingEntity entity)
getHighestEquippedLevel(Holder<Enchantment> enchantment, LivingEntity entity)
m_44836_(C_203228_<C_1505_> p_342592_, C_524_ p_44838_)
public static int
a(aqu arg0, cuq arg1, bsr arg2, int arg3)
processProjectileCount(ServerLevel arg0, ItemStack arg1, Entity arg2, int arg3)
method_60119(class_3218 arg0, class_1799 arg1, class_1297 arg2, int arg3)
m_hsagtbhc(C_bdwnwhiu arg0, C_sddaxwyk arg1, C_astfners arg2, int arg3)
getProjectileCount(ServerWorld world, ItemStack stack, Entity user, int baseProjectileCount)
getProjectileCount(ServerWorld world, ItemStack stack, Entity entity, int baseCount)
m_338952_(C_12_ p_344575_, C_1391_ p_345314_, C_507_ p_343374_, int p_343111_)
public static float
a(aqu arg0, cuq arg1, bsr arg2, float arg3)
processProjectileSpread(ServerLevel arg0, ItemStack arg1, Entity arg2, float arg3)
method_60118(class_3218 arg0, class_1799 arg1, class_1297 arg2, float arg3)
m_lkbuzftr(C_bdwnwhiu arg0, C_sddaxwyk arg1, C_astfners arg2, float arg3)
getProjectileSpread(ServerWorld world, ItemStack stack, Entity user, float baseProjectileSpread)
getProjectileSpeed(ServerWorld world, ItemStack stack, Entity entity, float baseSpeed)
m_339938_(C_12_ p_342105_, C_1391_ p_345162_, C_507_ p_343316_, float p_342659_)
public static int
a(aqu arg0, cuq arg1, cuq arg2)
getPiercingCount(ServerLevel arg0, ItemStack arg1, ItemStack arg2)
method_60128(class_3218 arg0, class_1799 arg1, class_1799 arg2)
m_hilwldki(C_bdwnwhiu arg0, C_sddaxwyk arg1, C_sddaxwyk arg2)
getProjectilePiercing(ServerWorld world, ItemStack weaponStack, ItemStack projectileStack)
getProjectilePiercing(ServerWorld world, ItemStack weapon, ItemStack projectile)
m_340317_(C_12_ p_343271_, C_1391_ p_345451_, C_1391_ p_343657_)
public static void
a(aqu arg0, cuq arg1, cnd arg2, Consumer<cul> arg3)
onProjectileSpawned(ServerLevel arg0, ItemStack arg1, AbstractArrow arg2, Consumer<Item> arg3)
method_60127(class_3218 arg0, class_1799 arg1, class_1665 arg2, Consumer<class_1792> arg3)
m_yolmdyfp(C_bdwnwhiu arg0, C_sddaxwyk arg1, C_gstiksvs arg2, Consumer<C_vorddnax> arg3)
onProjectileSpawned(ServerWorld world, ItemStack weaponStack, PersistentProjectileEntity projectileEntity, Consumer<Item> onBreak)
onProjectileSpawned(ServerWorld world, ItemStack stack, PersistentProjectileEntity projectile, Consumer<Item> onBreak)
m_340210_(C_12_ p_343338_, C_1391_ p_344853_, C_1151_ p_345004_, Consumer<C_1381_> p_345317_)
public static void
a(aqu arg0, cuq arg1, btn arg2, bsr arg3, bsy arg4, exc arg5, dtc arg6, Consumer<cul> arg7)
onHitBlock(ServerLevel arg0, ItemStack arg1, LivingEntity arg2, Entity arg3, EquipmentSlot arg4, Vec3 arg5, BlockState arg6, Consumer<Item> arg7)
method_60124(class_3218 arg0, class_1799 arg1, class_1309 arg2, class_1297 arg3, class_1304 arg4, class_243 arg5, class_2680 arg6, Consumer<class_1792> arg7)
m_etohkgai(C_bdwnwhiu arg0, C_sddaxwyk arg1, C_usxaxydn arg2, C_astfners arg3, C_yuycoehb arg4, C_vgpupfxx arg5, C_txtbiemp arg6, Consumer<C_vorddnax> arg7)
onHitBlock(ServerWorld world, ItemStack stack, LivingEntity user, Entity enchantedEntity, EquipmentSlot slot, Vec3d pos, BlockState state, Consumer<Item> onBreak)
onHitBlock(ServerWorld world, ItemStack stack, LivingEntity owner, Entity entity, EquipmentSlot inSlot, Vec3d pos, BlockState state, Consumer<Item> onBreak)
m_338456_(C_12_ p_344864_, C_1391_ p_342595_, C_524_ p_345505_, C_507_ p_345420_, C_516_ p_343177_, C_3046_ p_343033_, C_2064_ p_343989_, Consumer<C_1381_> p_344574_)
public static int
c(aqu arg0, cuq arg1, int arg2)
modifyDurabilityToRepairFromXp(ServerLevel arg0, ItemStack arg1, int arg2)
method_60168(class_3218 arg0, class_1799 arg1, int arg2)
m_efgilggg(C_bdwnwhiu arg0, C_sddaxwyk arg1, int arg2)
getRepairWithXp(ServerWorld world, ItemStack stack, int baseRepairWithXp)
getRepairFromXp(ServerWorld world, ItemStack stack, int baseRepair)
m_339646_(C_12_ p_345080_, C_1391_ p_343144_, int p_342792_)
public static float
a(aqu arg0, btn arg1, brk arg2, float arg3)
processEquipmentDropChance(ServerLevel arg0, LivingEntity arg1, DamageSource arg2, float arg3)
method_60113(class_3218 arg0, class_1309 arg1, class_1282 arg2, float arg3)
m_wbtbmiwo(C_bdwnwhiu arg0, C_usxaxydn arg1, C_sbxfkpyv arg2, float arg3)
getEquipmentDropChance(ServerWorld world, LivingEntity attacker, DamageSource damageSource, float baseEquipmentDropChance)
getEquipmentDropChance(ServerWorld world, LivingEntity attacker, DamageSource source, float baseDropChance)
m_339734_(C_12_ p_342296_, C_524_ p_342126_, C_489_ p_344732_, float p_343626_)
public static void
a(cuq arg0, bsz arg1, BiConsumer<jm<bur>, buu> arg2)
forEachModifier(ItemStack arg0, EquipmentSlotGroup arg1, BiConsumer<Holder<Attribute>, AttributeModifier> arg2)
method_60622(class_1799 arg0, class_9274 arg1, BiConsumer<class_6880<class_1320>, class_1322> arg2)
m_cjzxcjvw(C_sddaxwyk arg0, C_qfoqahef arg1, BiConsumer<C_cjzoxshv<C_ppzfbbsy>, C_hdbqsqsm> arg2)
applyAttributeModifiers(ItemStack stack, AttributeModifierSlot slot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> attributeModifierConsumer)
applyAttributeModifiers(ItemStack stack, EquipmentSlotGroup group, BiConsumer<Holder<EntityAttribute>, EntityAttributeModifier> applicator)
m_338728_(C_1391_ p_344460_, C_313414_ p_343938_, BiConsumer<C_203228_<C_552_>, C_555_> p_345426_)
public static void
a(cuq arg0, bsy arg1, BiConsumer<jm<bur>, buu> arg2)
forEachModifier(ItemStack arg0, EquipmentSlot arg1, BiConsumer<Holder<Attribute>, AttributeModifier> arg2)
method_60140(class_1799 arg0, class_1304 arg1, BiConsumer<class_6880<class_1320>, class_1322> arg2)
m_zkmvjzhi(C_sddaxwyk arg0, C_yuycoehb arg1, BiConsumer<C_cjzoxshv<C_ppzfbbsy>, C_hdbqsqsm> arg2)
applyAttributeModifiers(ItemStack stack, EquipmentSlot slot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> attributeModifierConsumer)
applyAttributeModifiers(ItemStack stack, EquipmentSlot slot, BiConsumer<Holder<EntityAttribute>, EntityAttributeModifier> applicator)
m_340623_(C_1391_ p_343035_, C_516_ p_342305_, BiConsumer<C_203228_<C_552_>, C_555_> p_342639_)
public static int
a(aqu arg0, cuq arg1, bsr arg2)
getFishingLuckBonus(ServerLevel arg0, ItemStack arg1, Entity arg2)
method_8223(class_3218 arg0, class_1799 arg1, class_1297 arg2)
m_qhyhygvf(C_bdwnwhiu arg0, C_sddaxwyk arg1, C_astfners arg2)
getFishingLuckBonus(ServerWorld world, ItemStack stack, Entity user)
getFishingLuckBonus(ServerWorld world, ItemStack stack, Entity entity)
m_44904_(C_12_ p_345183_, C_1391_ p_44905_, C_507_ p_344199_)
public static float
b(aqu arg0, cuq arg1, bsr arg2)
getFishingTimeReduction(ServerLevel arg0, ItemStack arg1, Entity arg2)
method_60158(class_3218 arg0, class_1799 arg1, class_1297 arg2)
m_eordtwww(C_bdwnwhiu arg0, C_sddaxwyk arg1, C_astfners arg2)
getFishingTimeReduction(ServerWorld world, ItemStack stack, Entity user)
getFishingTimeReduction(ServerWorld world, ItemStack stack, Entity entity)
m_340139_(C_12_ p_344336_, C_1391_ p_343914_, C_507_ p_342898_)
public static int
c(aqu arg0, cuq arg1, bsr arg2)
getTridentReturnToOwnerAcceleration(ServerLevel arg0, ItemStack arg1, Entity arg2)
method_60169(class_3218 arg0, class_1799 arg1, class_1297 arg2)
m_zrsoxtbx(C_bdwnwhiu arg0, C_sddaxwyk arg1, C_astfners arg2)
getTridentReturnAcceleration(ServerWorld world, ItemStack stack, Entity user)
getTridentReturnAcceleration(ServerWorld world, ItemStack stack, Entity entity)
m_338753_(C_12_ p_342510_, C_1391_ p_342608_, C_507_ p_343773_)
public static float
a(cuq arg0, btn arg1, float arg2)
modifyCrossbowChargingTime(ItemStack arg0, LivingEntity arg1, float arg2)
method_60159(class_1799 arg0, class_1309 arg1, float arg2)
m_kcdilbhw(C_sddaxwyk arg0, C_usxaxydn arg1, float arg2)
getCrossbowChargeTime(ItemStack stack, LivingEntity user, float baseCrossbowChargeTime)
getCrossbowChargeTime(ItemStack stack, LivingEntity entity, float baseChargeTime)
m_338554_(C_1391_ p_344573_, C_524_ p_343136_, float p_343873_)
public static float
a(cuq arg0, btn arg1)
getTridentSpinAttackStrength(ItemStack arg0, LivingEntity arg1)
method_60123(class_1799 arg0, class_1309 arg1)
m_urcuarne(C_sddaxwyk arg0, C_usxaxydn arg1)
getTridentSpinAttackStrength(ItemStack stack, LivingEntity user)
getTridentSpinAttackStrength(ItemStack stack, LivingEntity entity)
m_340158_(C_1391_ p_345397_, C_524_ p_342067_)
public static boolean
a(cuq arg0, awu<dac> arg1)
hasTag(ItemStack arg0, TagKey<Enchantment> arg1)
method_60138(class_1799 arg0, class_6862<class_1887> arg1)
m_ruiicrds(C_sddaxwyk arg0, C_ednuhnnn<C_jxtrubuh> arg1)
hasAnyEnchantmentsIn(ItemStack stack, TagKey<Enchantment> tag)
hasTag(ItemStack stack, TagKey<Enchantment> enchantment)
m_338959_(C_1391_ p_344479_, C_203208_<C_1505_> p_343396_)
public static boolean
a(cuq arg0, kp<?> arg1)
has(ItemStack arg0, DataComponentType<?> arg1)
method_60142(class_1799 arg0, class_9331<?> arg1)
m_plpqcodb(C_sddaxwyk arg0, C_pscqxfcs<?> arg1)
hasAnyEnchantmentsWith(ItemStack stack, ComponentType<?> componentType)
has(ItemStack stack, DataComponentType<?> componentType)
m_340193_(C_1391_ p_345483_, C_313543_<?> p_344623_)
public static <T> Optional<T>
b(cuq arg0, kp<List<T>> arg1)
pickHighestLevel(ItemStack arg0, DataComponentType<List<T>> arg1)
method_60165(class_1799 arg0, class_9331<List<T>> arg1)
m_pbsmenak(C_sddaxwyk arg0, C_pscqxfcs<List<T>> arg1)
getEffect(ItemStack stack, ComponentType<List<T>> componentType)
pickHighestLevel(ItemStack stack, DataComponentType<List<T>> componentType)
m_338539_(C_1391_ p_343484_, C_313543_<List<T>> p_342070_)
public static <T> com.mojang.datafixers.util.Pair<T, Integer>
c(cuq arg0, kp<T> arg1)
getHighestLevel(ItemStack arg0, DataComponentType<T> arg1)
method_60174(class_1799 arg0, class_9331<T> arg1)
m_hkpckyyg(C_sddaxwyk arg0, C_pscqxfcs<T> arg1)
getEffectListAndLevel(ItemStack stack, ComponentType<T> componentType)
getHighestLevel(ItemStack stack, DataComponentType<T> componentType)
m_338726_(C_1391_ p_345335_, C_313543_<T> p_344437_)
public static Optional<EnchantedItemInUse>
a(kp<?> arg0, btn arg1, Predicate<cuq> arg2)
getRandomItemWith(DataComponentType<?> arg0, LivingEntity arg1, Predicate<ItemStack> arg2)
method_8204(class_9331<?> arg0, class_1309 arg1, Predicate<class_1799> arg2)
m_obijpcqw(C_pscqxfcs<?> arg0, C_usxaxydn arg1, Predicate<C_sddaxwyk> arg2)
chooseEquipmentWith(ComponentType<?> componentType, LivingEntity entity, Predicate<ItemStack> stackPredicate)
getContextForRandomEquipmentWith(DataComponentType<?> componentType, LivingEntity entity, Predicate<ItemStack> stackPredicate)
m_44906_(C_313543_<?> p_345106_, C_524_ p_44908_, Predicate<C_1391_> p_345112_)
public static int
a(ayw arg0, int arg1, int arg2, cuq arg3)
getEnchantmentCost(RandomSource arg0, int arg1, int arg2, ItemStack arg3)
method_8227(class_5819 arg0, int arg1, int arg2, class_1799 arg3)
m_pcunrpng(C_rlomrsco arg0, int arg1, int arg2, C_sddaxwyk arg3)
calculateRequiredExperienceLevel(Random random, int slotIndex, int bookshelfCount, ItemStack stack)
calculateRequiredExperienceLevel(RandomGenerator random, int slotIndex, int bookshelfCount, ItemStack stack)
m_220287_(C_212974_ p_220288_, int p_220289_, int p_220290_, C_1391_ p_220291_)
public static ItemStack
a(ayw arg0, cuq arg1, int arg2, ka arg3, Optional<? extends jq<dac>> arg4)
enchantItem(RandomSource arg0, ItemStack arg1, int arg2, RegistryAccess arg3, Optional<? extends HolderSet<Enchantment>> arg4)
method_60133(class_5819 arg0, class_1799 arg1, int arg2, class_5455 arg3, Optional<? extends class_6885<class_1887>> arg4)
m_zzbecydw(C_rlomrsco arg0, C_sddaxwyk arg1, int arg2, C_wqxmvzdq arg3, Optional<? extends C_odfnijdo<C_jxtrubuh>> arg4)
enchant(Random random, ItemStack stack, int level, DynamicRegistryManager dynamicRegistryManager, Optional<? extends RegistryEntryList<Enchantment>> enchantments)
enchant(RandomGenerator random, ItemStack stack, int level, DynamicRegistryManager registryManager, Optional<? extends HolderSet<Enchantment>> enchantments)
m_340557_(C_212974_ p_344212_, C_1391_ p_345193_, int p_344120_, C_4706_ p_345399_, Optional<? extends C_203233_<C_1505_>> p_342141_)
public static ItemStack
a(ayw arg0, cuq arg1, int arg2, Stream<jm<dac>> arg3)
enchantItem(RandomSource arg0, ItemStack arg1, int arg2, Stream<Holder<Enchantment>> arg3)
method_8233(class_5819 arg0, class_1799 arg1, int arg2, Stream<class_6880<class_1887>> arg3)
m_xnhbdqna(C_rlomrsco arg0, C_sddaxwyk arg1, int arg2, Stream<C_cjzoxshv<C_jxtrubuh>> arg3)
enchant(Random random, ItemStack stack, int level, Stream<RegistryEntry<Enchantment>> possibleEnchantments)
enchant(RandomGenerator random, ItemStack stack, int level, Stream<Holder<Enchantment>> possibleEnchantments)
m_220292_(C_212974_ p_220293_, C_1391_ p_220294_, int p_220295_, Stream<C_203228_<C_1505_>> p_344664_)
public static List<EnchantmentInstance>
b(ayw arg0, cuq arg1, int arg2, Stream<jm<dac>> arg3)
selectEnchantment(RandomSource arg0, ItemStack arg1, int arg2, Stream<Holder<Enchantment>> arg3)
method_8230(class_5819 arg0, class_1799 arg1, int arg2, Stream<class_6880<class_1887>> arg3)
m_udfcqeza(C_rlomrsco arg0, C_sddaxwyk arg1, int arg2, Stream<C_cjzoxshv<C_jxtrubuh>> arg3)
generateEnchantments(Random random, ItemStack stack, int level, Stream<RegistryEntry<Enchantment>> possibleEnchantments)
generateEnchantments(RandomGenerator random, ItemStack stack, int level, Stream<Holder<Enchantment>> possibleEnchantments)
m_220297_(C_212974_ p_220298_, C_1391_ p_220299_, int p_220300_, Stream<C_203228_<C_1505_>> p_342119_)
public static void
a(List<daf> arg0, daf arg1)
filterCompatibleEnchantments(List<EnchantmentInstance> arg0, EnchantmentInstance arg1)
method_8231(List<class_1889> arg0, class_1889 arg1)
m_pdlnvjwf(List<C_gsnkkurc> arg0, C_gsnkkurc arg1)
removeConflicts(List<EnchantmentLevelEntry> possibleEntries, EnchantmentLevelEntry pickedEntry)
removeConflicts(List<EnchantmentLevelEntry> possibleEntries, EnchantmentLevelEntry pickedEntry)
m_44862_(List<C_1524_> p_44863_, C_1524_ p_44864_)
public static boolean
a(Collection<jm<dac>> arg0, jm<dac> arg1)
isEnchantmentCompatible(Collection<Holder<Enchantment>> arg0, Holder<Enchantment> arg1)
method_8201(Collection<class_6880<class_1887>> arg0, class_6880<class_1887> arg1)
m_ecxgwxiu(Collection<C_cjzoxshv<C_jxtrubuh>> arg0, C_cjzoxshv<C_jxtrubuh> arg1)
isCompatible(Collection<RegistryEntry<Enchantment>> existing, RegistryEntry<Enchantment> candidate)
isCompatible(Collection<Holder<Enchantment>> currentEnchantments, Holder<Enchantment> newEnchantment)
m_44859_(Collection<C_203228_<C_1505_>> p_44860_, C_203228_<C_1505_> p_345339_)
public static List<EnchantmentInstance>
a(int arg0, cuq arg1, Stream<jm<dac>> arg2)
getAvailableEnchantmentResults(int arg0, ItemStack arg1, Stream<Holder<Enchantment>> arg2)
method_8229(int arg0, class_1799 arg1, Stream<class_6880<class_1887>> arg2)
m_pngonrhw(int arg0, C_sddaxwyk arg1, Stream<C_cjzoxshv<C_jxtrubuh>> arg2)
getPossibleEntries(int level, ItemStack stack, Stream<RegistryEntry<Enchantment>> possibleEnchantments)
getPossibleLevelEntries(int level, ItemStack stack, Stream<Holder<Enchantment>> possibleEnchantments)
m_44817_(int p_44818_, C_1391_ p_44819_, Stream<C_203228_<C_1505_>> p_342857_)
public static void
a(cuq arg0, ka arg1, akq<dbj> arg2, bqp arg3, ayw arg4)
enchantItemFromProvider(ItemStack arg0, RegistryAccess arg1, ResourceKey<EnchantmentProvider> arg2, DifficultyInstance arg3, RandomSource arg4)
method_60137(class_1799 arg0, class_5455 arg1, class_5321<class_9741> arg2, class_1266 arg3, class_5819 arg4)
m_spmqbsrk(C_sddaxwyk arg0, C_wqxmvzdq arg1, C_xhhleach<C_qraehchg> arg2, C_jiailwzt arg3, C_rlomrsco arg4)
applyEnchantmentProvider(ItemStack stack, DynamicRegistryManager registryManager, RegistryKey<EnchantmentProvider> providerKey, LocalDifficulty localDifficulty, Random random)
enchantFromProvider(ItemStack stack, DynamicRegistryManager registryManager, RegistryKey<EnchantmentProvider> registryKey, LocalDifficulty difficulty, RandomGenerator random)
m_338695_(C_1391_ p_344649_, C_4706_ p_345511_, C_5264_<C_336442_> p_342294_, C_469_ p_343182_, C_212974_ p_344701_)