Interface Salmon

All Superinterfaces:
Attributable, CommandSender, Creature, Damageable, Entity, Fish, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator, WaterMob

public interface Salmon extends Fish
Represents a salmon fish.
  • Method Details

    • getVariant

      @NotNull Salmon.Variant getVariant()
      Get the variant of this salmon.
      Returns:
      salmon variant
    • setVariant

      void setVariant(@NotNull Salmon.Variant variant)
      Set the variant of this salmon.
      Parameters:
      variant - salmon variant