Update to Minecraft 1.13-pre7

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2018-07-15 10:00:00 +10:00
parent debc7172fd
commit 767e4f6ccf
199 changed files with 8301 additions and 3637 deletions

View File

@@ -0,0 +1,72 @@
package org.bukkit.entity;
import org.bukkit.DyeColor;
/**
* Tropical fish.
*/
public interface TropicalFish extends Fish {
/**
* Gets the color of the fish's pattern.
*
* @return pattern color
*/
DyeColor getPatternColor();
/**
* Sets the color of the fish's pattern
*
* @param color pattern color
*/
void setPatternColor(DyeColor color);
/**
* Gets the color of the fish's body.
*
* @return pattern color
*/
DyeColor getBodyColor();
/**
* Sets the color of the fish's body
*
* @param color body color
*/
void setBodyColor(DyeColor color);
/**
* Gets the fish's pattern.
*
* @return pattern
*/
Pattern getPattern();
/**
* Sets the fish's pattern
*
* @param pattern new pattern
*/
void setPattern(Pattern pattern);
/**
* Enumeration of all different fish patterns. Refer to the
* <a href="https://minecraft.gamepedia.com/Fish_(mob)">Minecraft Wiki</a>
* for pictures.
*/
public static enum Pattern {
KOB,
SUNSTREAK,
SNOOPER,
DASHER,
BRINELY,
SPOTTY,
FLOPPER,
STRIPEY,
GLITTER,
BLOCKFISH,
BETTY,
CLAYFISH;
}
}