Interface Trident

All Superinterfaces:
ArrowProjectile, Entity, HoverEventSource<HoverEvent.ShowEntity>, Projectile, SchedulerSource, Sound.Emitter, Sound.Source.Provider

public interface Trident extends ArrowProjectile
A thrown trident (minecraft:trident).

It only damages the first entity it hits. With Loyalty, it then flies back to its thrower.

Since:
0.1.0
  • Method Details

    • hasHit

      boolean hasHit()
      Returns true once this trident hurt an entity.
      Returns:
      true once this trident hurt an entity
      Since:
      0.1.0
    • loyalty

      int loyalty()
      Returns the level of Loyalty of this trident, 0 when it does not come back.
      Returns:
      the level of Loyalty of this trident, 0 when it does not come back
      Since:
      0.1.0