Interface IFishHook<T extends net.minecraft.entity.projectile.EntityFishHook>

  • Type Parameters:
    T - The underlying Minecraft EntityFishHook type.
    All Superinterfaces:
    IEntity<T>

    public interface IFishHook<T extends net.minecraft.entity.projectile.EntityFishHook>
    extends IEntity<T>
    Represents a fish hook entity with additional methods.
    • Method Detail

      • getCaster

        IPlayer getCaster()
        Returns the player who cast this fish hook.
        Returns:
        the casting player, or null if none.
      • kill

        void kill()
        Removes this fish hook entity from the world.