mirror of
https://github.com/Theta-Dev/ConstructionWand.git
synced 2026-04-02 12:28:00 +02:00
13 lines
430 B
Java
13 lines
430 B
Java
package thetadev.constructionwand.api;
|
|
|
|
import net.minecraft.world.entity.player.Player;
|
|
import net.minecraft.world.item.ItemStack;
|
|
|
|
public interface IContainerHandler
|
|
{
|
|
boolean matches(Player player, ItemStack itemStack, ItemStack inventoryStack);
|
|
|
|
int countItems(Player player, ItemStack itemStack, ItemStack inventoryStack);
|
|
|
|
int useItems(Player player, ItemStack itemStack, ItemStack inventoryStack, int count);
|
|
}
|