blob: 51142170e994ce3e41decb34fc0577e72800f263 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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;
}
}
|