Class TropicalFishMock

All Implemented Interfaces:
MessageTarget, io.papermc.paper.entity.Bucketable, io.papermc.paper.entity.Frictional, io.papermc.paper.entity.SchoolableFish, net.kyori.adventure.audience.Audience, net.kyori.adventure.pointer.Pointered, net.kyori.adventure.sound.Sound.Emitter, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, org.bukkit.attribute.Attributable, org.bukkit.command.CommandSender, org.bukkit.entity.Creature, org.bukkit.entity.Damageable, org.bukkit.entity.Entity, org.bukkit.entity.Fish, org.bukkit.entity.LivingEntity, org.bukkit.entity.Mob, org.bukkit.entity.TropicalFish, org.bukkit.entity.WaterMob, org.bukkit.loot.Lootable, org.bukkit.metadata.Metadatable, org.bukkit.Nameable, org.bukkit.permissions.Permissible, org.bukkit.permissions.ServerOperator, org.bukkit.persistence.PersistentDataHolder, org.bukkit.projectiles.ProjectileSource

public class TropicalFishMock extends SchoolableFishMock implements org.bukkit.entity.TropicalFish
Mock implementation of a TropicalFish.
See Also:
  • Constructor Details

    • TropicalFishMock

      public TropicalFishMock(@NotNull @NotNull ServerMock server, @NotNull @NotNull UUID uuid)
      Constructs a new TropicalFishMock on the provided ServerMock with a specified UUID.
      Parameters:
      server - The server to create the entity on.
      uuid - The UUID of the entity.
  • Method Details

    • getBaseBucketItem

      @NotNull public @NotNull org.bukkit.inventory.ItemStack getBaseBucketItem()
      Specified by:
      getBaseBucketItem in interface io.papermc.paper.entity.Bucketable
    • getPatternColor

      @NotNull public @NotNull org.bukkit.DyeColor getPatternColor()
      Specified by:
      getPatternColor in interface org.bukkit.entity.TropicalFish
    • setPatternColor

      public void setPatternColor(@NotNull @NotNull org.bukkit.DyeColor color)
      Specified by:
      setPatternColor in interface org.bukkit.entity.TropicalFish
    • getBodyColor

      @NotNull public @NotNull org.bukkit.DyeColor getBodyColor()
      Specified by:
      getBodyColor in interface org.bukkit.entity.TropicalFish
    • setBodyColor

      public void setBodyColor(@NotNull @NotNull org.bukkit.DyeColor color)
      Specified by:
      setBodyColor in interface org.bukkit.entity.TropicalFish
    • getPattern

      @NotNull public @NotNull org.bukkit.entity.TropicalFish.Pattern getPattern()
      Specified by:
      getPattern in interface org.bukkit.entity.TropicalFish
    • setPattern

      public void setPattern(@NotNull @NotNull org.bukkit.entity.TropicalFish.Pattern pattern)
      Specified by:
      setPattern in interface org.bukkit.entity.TropicalFish
    • getType

      @NotNull public @NotNull org.bukkit.entity.EntityType getType()
      Specified by:
      getType in interface org.bukkit.entity.Entity
      Overrides:
      getType in class EntityMock