mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-18 13:49:11 +00:00
A lot of GOOD API DOCUMENTATION
This commit is contained in:
1 parent
a6c55ca331
commit
319e774518
131 files changed
+3363
-175
No files matched your search
@@ -9,9 +9,20 @@ import net.minecraft.entity.projectile.EntityArrow;
|
||||
*/
|
||||
public interface IArrow<T extends EntityArrow> extends IEntity<T> {
|
||||
|
||||
/**
|
||||
* Gets the entity that shot this arrow.
|
||||
* @return the shooter entity, or null if none
|
||||
*/
|
||||
IEntity getShooter();
|
||||
|
||||
/**
|
||||
* Gets the base damage of this arrow.
|
||||
* @return the damage value
|
||||
*/
|
||||
double getDamage();
|
||||
|
||||
/**
|
||||
* Removes this arrow from the world.
|
||||
*/
|
||||
void kill();
|
||||
}
|
||||
Reference in new issue
Block a user