mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-06-08 08:33:37 +02:00
17 lines
500 B
Java
17 lines
500 B
Java
package powercrystals.minefactoryreloaded.api;
|
|
|
|
import net.minecraft.entity.Entity;
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.item.ItemStack;
|
|
import net.minecraft.world.World;
|
|
|
|
public interface INeedleAmmo {
|
|
|
|
public boolean onHitEntity(ItemStack stac, EntityPlayer owner, Entity hit, double distance);
|
|
|
|
public void onHitBlock(ItemStack stac, EntityPlayer owner, World world, int x, int y, int z, int side, double distance);
|
|
|
|
public float getSpread(ItemStack stack);
|
|
|
|
}
|