mirror of
https://github.com/Theta-Dev/ConstructionWand.git
synced 2025-08-05 02:15:27 +02:00
14 lines
481 B
Java
14 lines
481 B
Java
package thetadev.constructionwand.api;
|
|
|
|
import net.minecraft.entity.player.PlayerEntity;
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
/**
|
|
* Created by james on 28/12/16.
|
|
*/
|
|
public interface IContainerHandler
|
|
{
|
|
boolean matches(PlayerEntity player, ItemStack itemStack, ItemStack inventoryStack);
|
|
int countItems(PlayerEntity player, ItemStack itemStack, ItemStack inventoryStack);
|
|
int useItems(PlayerEntity player, ItemStack itemStack, ItemStack inventoryStack, int count);
|
|
}
|