Class EnchantedCountIncreaseFunctionMixin

java.lang.Object
tech.anonymoushacker1279.immersiveweapons.mixin.loot.EnchantedCountIncreaseFunctionMixin

public abstract class EnchantedCountIncreaseFunctionMixin extends Object
Loot-related mixins in this package are based on Puzzles Lib's implementation. Provided as a solution to NeoForge issue #1112.
Source
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    run(int enchantmentLevel, net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.storage.loot.LootContext lootContext)
     
    void
    run(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.storage.loot.LootContext context, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<net.minecraft.world.item.ItemStack> callback)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EnchantedCountIncreaseFunctionMixin

      public EnchantedCountIncreaseFunctionMixin()
  • Method Details

    • run

      public int run(int enchantmentLevel, net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.storage.loot.LootContext lootContext)
    • run

      public void run(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.storage.loot.LootContext context, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<net.minecraft.world.item.ItemStack> callback)