mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-17 18:05:12 +00:00
Add Hit Type to Projectiles
This commit is contained in:
1 parent
a9c77d20eb
commit
0d31b56a12
4 files changed
+17
-5
No files matched your search
@@ -33,6 +33,14 @@ public interface IAbilityEnergyProjectile extends IAbility {
|
||||
|
||||
void setExplosionDamageFalloff(float falloff);
|
||||
|
||||
int getHitType();
|
||||
|
||||
void setHitType(int hitType);
|
||||
|
||||
int getMultiHitDelayTicks();
|
||||
|
||||
void setMultiHitDelayTicks(int delayTicks);
|
||||
|
||||
// Lifespan
|
||||
float getMaxDistance();
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ package noppes.npcs.api.entity;
|
||||
import net.minecraft.entity.Entity;
|
||||
|
||||
/**
|
||||
* Represents an energy laser projectile - a fast expanding piercing line.
|
||||
* Represents an energy laser projectile - a fast expanding line.
|
||||
*/
|
||||
public interface IEnergyLaser<T extends Entity> extends IEnergyProjectile<T> {
|
||||
|
||||
|
||||
@@ -76,6 +76,14 @@ public interface IEnergyProjectile<T extends Entity> extends IEnergyAbility<T> {
|
||||
|
||||
void setExplosionDamageFalloff(float falloff);
|
||||
|
||||
int getHitType();
|
||||
|
||||
void setHitType(int hitType);
|
||||
|
||||
int getMultiHitDelayTicks();
|
||||
|
||||
void setMultiHitDelayTicks(int delayTicks);
|
||||
|
||||
// ==================== MOVEMENT ====================
|
||||
|
||||
float getSpeed();
|
||||
|
||||
@@ -14,8 +14,4 @@ public interface IEnergySlicer<T extends Entity> extends IEnergyProjectile<T> {
|
||||
float getSliceThickness();
|
||||
|
||||
void setSliceThickness(float thickness);
|
||||
|
||||
boolean isPiercing();
|
||||
|
||||
void setPiercing(boolean piercing);
|
||||
}
|
||||
Reference in new issue
Block a user