IArrow, IFishHook, IThrowable

This commit is contained in:
Kam committed 2025-07-08 16:56:13 -04:00
1 parent a58b6383aa
commit b60245f21a
3 files changed
+47

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
package noppes.npcs.api.entity;
import net.minecraft.entity.projectile.EntityArrow;
/**
* Represents a arrow entity with additional methods.
*
* @param <T> The underlying Minecraft EntityArrow type.
*/
public interface IArrow<T extends EntityArrow> extends IEntity<T> {
IEntity getShooter();
double getDamage();
void kill();
}