Commits
Lord_Ralex (Joshua Taylor) authored and turt2live committed 2bc71ced8a4
38 38 | /** |
39 39 | * When a wolf shakes (after being wet). |
40 40 | * <p> |
41 41 | * Without client-mods this will be ignored if the entity is not a wolf. |
42 42 | */ |
43 43 | WOLF_SHAKE(8), |
44 44 | |
45 45 | /** |
46 46 | * When a sheep eats a LONG_GRASS block. |
47 47 | */ |
48 - | SHEEP_EAT(10); |
48 + | SHEEP_EAT(10), |
49 + | |
50 + | /** |
51 + | * When an Iron Golem gives a rose. |
52 + | * <p> |
53 + | * This will not play an effect if the entity is not an iron golem. |
54 + | */ |
55 + | IRON_GOLEM_ROSE(11), |
56 + | |
57 + | /** |
58 + | * Hearts from a villager. |
59 + | * <p> |
60 + | * This will not play an effect if the entity is not a villager. |
61 + | */ |
62 + | VILLAGER_HEART(12), |
63 + | |
64 + | /** |
65 + | * When a villager is angry. |
66 + | * <p> |
67 + | * This will not play an effect if the entity is not a villager. |
68 + | */ |
69 + | VILLAGER_ANGRY(13), |
70 + | |
71 + | /** |
72 + | * Happy particles from a villager. |
73 + | * <p> |
74 + | * This will not play an effect if the entity is not a villager. |
75 + | */ |
76 + | VILLAGER_HAPPY(14), |
77 + | |
78 + | /** |
79 + | * Magic particles from a witch. |
80 + | * <p> |
81 + | * This will not play an effect if the entity is not a witch. |
82 + | */ |
83 + | WITCH_MAGIC(15), |
84 + | |
85 + | /** |
86 + | * When a zombie transforms into a villager by shaking violently. |
87 + | * <p> |
88 + | * This will not play an effect if the entity is not a zombie. |
89 + | */ |
90 + | ZOMBIE_TRANSFORM(16), |
91 + | |
92 + | /** |
93 + | * When a firework explodes. |
94 + | * <p> |
95 + | * This will not play an effect if the entity is not a firework. |
96 + | */ |
97 + | FIREWORK_EXPLODE(17); |
49 98 | |
50 99 | private final byte data; |
51 100 | private final static Map<Byte, EntityEffect> BY_DATA = Maps.newHashMap(); |
52 101 | |
53 102 | EntityEffect(final int data) { |
54 103 | this.data = (byte) data; |
55 104 | } |
56 105 | |
57 106 | /** |
58 107 | * Gets the data value of this EntityEffect |