2016-05-14 13:51:18 +02:00
|
|
|
package de.ellpeck.actuallyadditions.api.internal;
|
|
|
|
|
|
|
|
import de.ellpeck.actuallyadditions.api.recipe.CoffeeIngredient;
|
2016-05-14 14:14:06 +02:00
|
|
|
import net.minecraft.block.state.IBlockState;
|
2016-05-14 13:51:18 +02:00
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
import net.minecraft.potion.PotionEffect;
|
2016-05-14 14:14:06 +02:00
|
|
|
import net.minecraft.util.math.BlockPos;
|
2016-05-14 13:51:18 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* This is the internal method handler.
|
|
|
|
* Use ActuallyAdditionsAPI.methodHandler for calling
|
|
|
|
* This is not supposed to be implemented.
|
|
|
|
*/
|
|
|
|
public interface IMethodHandler{
|
|
|
|
|
|
|
|
boolean addEffectToStack(ItemStack stack, CoffeeIngredient ingredient);
|
|
|
|
|
|
|
|
PotionEffect getSameEffectFromStack(ItemStack stack, PotionEffect effect);
|
|
|
|
|
|
|
|
void addEffectProperties(ItemStack stack, PotionEffect effect, boolean addDur, boolean addAmp);
|
|
|
|
|
|
|
|
void addEffectToStack(ItemStack stack, PotionEffect effect);
|
|
|
|
|
|
|
|
PotionEffect[] getEffectsFromStack(ItemStack stack);
|
2016-05-14 14:14:06 +02:00
|
|
|
|
|
|
|
boolean invokeConversionLens(IBlockState hitState, BlockPos hitBlock, IAtomicReconstructor tile);
|
2016-05-14 13:51:18 +02:00
|
|
|
}
|