mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-26 15:03:03 +00:00
21 lines
531 B
Java
21 lines
531 B
Java
package buildcraft.api.transport;
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.item.ItemStack;
|
|
import net.minecraft.world.World;
|
|
import net.minecraftforge.common.util.ForgeDirection;
|
|
|
|
public interface IStripesHandler {
|
|
public static enum StripesHandlerType {
|
|
ITEM_USE,
|
|
BLOCK_BREAK
|
|
}
|
|
|
|
StripesHandlerType getType();
|
|
|
|
boolean shouldHandle(ItemStack stack);
|
|
|
|
boolean handle(World world, int x, int y, int z, ForgeDirection direction,
|
|
ItemStack stack, EntityPlayer player, IStripesPipe pipe);
|
|
}
|