Files
DeltaZern/paper-api/src/main/java/org/bukkit/entity/TropicalFish.java
T
Owen1212055 a2a581ba6b Missing Entity API
Co-authored-by: Nassim Jahnke <nassim@njahnke.dev>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
Co-authored-by: William Blake Galbreath <blake.galbreath@gmail.com>
Co-authored-by: SoSeDiK <mrsosedik@gmail.com>
Co-authored-by: booky10 <boooky10@gmail.com>
Co-authored-by: Amin <amin.haddou@frg.wwschool.de>
Co-authored-by: TrollyLoki <trollyloki@gmail.com>
Co-authored-by: FireInstall <kettnerl@hu-berlin.de>
Co-authored-by: maxcom1 <46265094+maxcom1@users.noreply.github.com>
Co-authored-by: TotalledZebra <Holappa57@gmail.com>
2021-05-28 21:06:59 -04:00

77 lines
1.4 KiB
Java

package org.bukkit.entity;
import org.bukkit.DyeColor;
import org.jetbrains.annotations.NotNull;
/**
* Tropical fish.
*/
public interface TropicalFish extends io.papermc.paper.entity.SchoolableFish { // Paper - Schooling Fish API
/**
* Gets the color of the fish's pattern.
*
* @return pattern color
*/
@NotNull
DyeColor getPatternColor();
/**
* Sets the color of the fish's pattern
*
* @param color pattern color
*/
void setPatternColor(@NotNull DyeColor color);
/**
* Gets the color of the fish's body.
*
* @return pattern color
*/
@NotNull
DyeColor getBodyColor();
/**
* Sets the color of the fish's body
*
* @param color body color
*/
void setBodyColor(@NotNull DyeColor color);
/**
* Gets the fish's pattern.
*
* @return pattern
*/
@NotNull
Pattern getPattern();
/**
* Sets the fish's pattern
*
* @param pattern new pattern
*/
void setPattern(@NotNull Pattern pattern);
/**
* Enumeration of all different fish patterns. Refer to the
* <a href="https://minecraft.wiki/w/Fish">Minecraft Wiki</a>
* for pictures.
*/
public static enum Pattern {
KOB,
SUNSTREAK,
SNOOPER,
DASHER,
BRINELY,
SPOTTY,
FLOPPER,
STRIPEY,
GLITTER,
BLOCKFISH,
BETTY,
CLAYFISH;
}
}