ConstructionWand/src/main/java/thetadev/constructionwand/api/IContainerHandler.java
Theta-Dev bb3d36fa56 BIG Refactoring.
Modular WandActions and WandSuppliers.
Wand Cores and Wand Reservoirs can be added to your wand, they determine which action and supplier gets used.
2021-02-14 02:20:53 +01:00

13 lines
442 B
Java

package thetadev.constructionwand.api;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.ItemStack;
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);
}