Interface IEnergySlicer<T extends net.minecraft.entity.Entity>

  • All Superinterfaces:
    IEnergyAbility<T>, IEnergyProjectile<T>, IEntity<T>

    public interface IEnergySlicer<T extends net.minecraft.entity.Entity>
    extends IEnergyProjectile<T>
    A thin, wide blade projectile that slices through targets.

    Slicers travel in a straight line, cutting through entities in their path.

    • Method Detail

      • getSliceWidth

        float getSliceWidth()
        Width of the slicer blade.
        Returns:
        the width of each slice in blocks
      • setSliceWidth

        void setSliceWidth​(float width)
      • getSliceThickness

        float getSliceThickness()
      • setSliceThickness

        void setSliceThickness​(float thickness)