blob: ae9eaaa8e38e1d9dfc459926c7fc51ddb89de84a (
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
|
package org.bukkit.entity;
/**
* Represents a Pig Zombie.
*/
public interface PigZombie extends Zombie {
/**
* Get the pig zombie's current anger level.
*
* @return The anger level.
*/
int getAnger();
/**
* Set the pig zombie's current anger level.
*
* @param level The anger level. Higher levels of anger take longer to
* wear off.
*/
void setAnger(int level);
/**
* Shorthand; sets to either 0 or the default level.
*
* @param angry Whether the zombie should be angry.
*/
void setAngry(boolean angry);
/**
* Shorthand; gets whether the zombie is angry.
*
* @return True if the zombie is angry, otherwise false.
*/
boolean isAngry();
/**
* <b>Not applicable to this entity</b>
*
* @return false
*/
@Override
public boolean isConverting();
/**
* <b>Not applicable to this entity</b>
*
* @return UnsuppotedOperationException
*/
@Override
public int getConversionTime();
/**
* <b>Not applicable to this entity</b>
*
* @param time unused
*/
@Override
public void setConversionTime(int time);
}
|