Class EnchantedCountIncreaseFunctionMixin
java.lang.Object
tech.anonymoushacker1279.immersiveweapons.mixin.loot.EnchantedCountIncreaseFunctionMixin
Loot-related mixins in this package are based on Puzzles Lib's implementation.
Provided as a solution to NeoForge
issue #1112.
Source
Source
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintrun(int enchantmentLevel, net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.storage.loot.LootContext lootContext) voidrun(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)
-
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)
-