Added an alchemy array, the Array of the Fast Miner

This commit is contained in:
WayofTime 2016-10-22 16:11:30 -04:00
parent 4e671d5132
commit 44e1c47e1c
6 changed files with 109 additions and 0 deletions

View file

@ -1,9 +1,15 @@
package WayofTime.bloodmagic.api.iface;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
/**
* Used for all {@link WayofTime.bloodmagic.api.impl.ItemSigil} <b>EXCEPT</b>
* Sigils of Holdings.
*/
public interface ISigil
{
boolean performArrayEffect(World world, BlockPos pos);
boolean hasArrayEffect();
}

View file

@ -5,6 +5,8 @@ import WayofTime.bloodmagic.api.iface.ISigil;
import WayofTime.bloodmagic.api.util.helper.NBTHelper;
import lombok.Getter;
import net.minecraft.item.ItemStack;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
/**
* Base class for all (static) sigils.
@ -35,4 +37,16 @@ public class ItemSigil extends ItemBindable implements ISigil
stack.getTagCompound().setBoolean(Constants.NBT.UNUSABLE, unusable);
return stack;
}
@Override
public boolean performArrayEffect(World world, BlockPos pos)
{
return false;
}
@Override
public boolean hasArrayEffect()
{
return false;
}
}