mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-14 13:14:44 +00:00
24 lines
550 B
Java
24 lines
550 B
Java
package noppes.npcs.api.entity;
|
|
|
|
import net.minecraft.entity.Entity;
|
|
|
|
/**
|
|
* A thin, wide blade projectile that slices through targets.
|
|
* <p>
|
|
* Slicers travel in a straight line, cutting through entities in their path.
|
|
*/
|
|
public interface IEnergySlicer<T extends Entity> extends IEnergyProjectile<T> {
|
|
|
|
/**
|
|
* Width of the slicer blade.
|
|
* @return the width of each slice in blocks
|
|
*/
|
|
float getSliceWidth();
|
|
|
|
void setSliceWidth(float width);
|
|
|
|
float getSliceThickness();
|
|
|
|
void setSliceThickness(float thickness);
|
|
}
|