blob: 420eaa43895374d79f3329dc9a24bc4ed80b9616 (
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
|
package org.bukkit.entity;
/**
* Represents a Zombie.
*/
public interface Zombie extends Monster {
/**
* Gets whether the zombie is a baby
*
* @return Whether the zombie is a baby
*/
public boolean isBaby();
/**
* Sets whether the zombie is a baby
*
* @param flag Whether the zombie is a baby
*/
public void setBaby(boolean flag);
/**
* Gets whether the zombie is a villager
*
* @return Whether the zombie is a villager
* @deprecated Entity subtypes will be separate entities in a future Minecraft release
*/
@Deprecated
public boolean isVillager();
/**
* Sets whether the zombie is a villager
*
* @param flag Whether the zombie is a villager
* @deprecated Entity subtypes will be separate entities in a future Minecraft release
*/
@Deprecated
public void setVillager(boolean flag);
/**
* Sets whether the zombie is a villager
*
* @param profession the profession of the villager or null to clear
* @deprecated Entity subtypes will be separate entities in a future Minecraft release
*/
@Deprecated
public void setVillagerProfession(Villager.Profession profession);
/**
* Returns the villager profession of the zombie if the
* zombie is a villager
*
* @return the profession or null
* @deprecated Entity subtypes will be separate entities in a future Minecraft release
*/
@Deprecated
public Villager.Profession getVillagerProfession();
}
|