Skip to content

Commit

Permalink
feat(api): EnchantmentVisitor
Browse files Browse the repository at this point in the history
  • Loading branch information
WakelessSloth56 committed Sep 18, 2022
1 parent c795bcf commit 0004f97
Showing 1 changed file with 25 additions and 0 deletions.
@@ -0,0 +1,25 @@
package org.auioc.mcmod.arnicalib.api.game.enchantment;

import java.util.function.BiConsumer;
import java.util.function.Consumer;
import org.auioc.mcmod.arnicalib.api.java.function.QuadConsumer;
import org.auioc.mcmod.arnicalib.api.java.function.TriConsumer;
import net.minecraft.world.entity.EquipmentSlot;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.item.enchantment.Enchantment;

public interface EnchantmentVisitor extends Consumer<Enchantment> {

public interface BiEnchantmentVisitor extends BiConsumer<Enchantment, Integer> {

}

public interface TriEnchantmentVisitor extends TriConsumer<ItemStack, Enchantment, Integer> {

}

public interface QuadEnchantmentVisitor extends QuadConsumer<EquipmentSlot, ItemStack, Enchantment, Integer> {

}

}

0 comments on commit 0004f97

Please sign in to comment.