| 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> |
|
| public RegistryEntryList<Item> |
| getSupportedItems() |
| method_56109() |
| getApplicableItems() |
|
| public boolean |
|
| public boolean |
|
| public boolean |
|
| 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 |
|
| public static Text |
|
| public boolean |
|
| public <T> List<T> |
|
| public boolean |
|
| 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 |
|
| 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 |
|
| public void |
|
| public void |
|
| 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 |
|
| private static LootContext |
|
| 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 |
|
| 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 |
|
| private static <T> void |
|
| public void |
|
| public void |
|
| public static Enchantment$Builder |
|
| 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 |
|
| private static float |
|
| private static float |
|
| private static float |
|
| 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 |
|
| private static boolean |
|
| 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) |
|