mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 03:43:40 +01:00
Add back mistakenly removed SHEEP_EAT effect with deprecation warning
By: md_5 <git@md-5.net>
This commit is contained in:
parent
2ec3448bdf
commit
9d616dcba5
1 changed files with 12 additions and 2 deletions
|
@ -40,7 +40,11 @@ public enum EntityEffect {
|
||||||
* When a mob dies.
|
* When a mob dies.
|
||||||
* <p>
|
* <p>
|
||||||
* <b>This will cause client-glitches!</b>
|
* <b>This will cause client-glitches!</b>
|
||||||
|
*
|
||||||
|
* @deprecated although this effect may trigger other events on non-living
|
||||||
|
* entities, it's only supported usage is on living ones.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
DEATH(3, Entity.class),
|
DEATH(3, Entity.class),
|
||||||
// PAIL - SPIGOT-3641 duplicate
|
// PAIL - SPIGOT-3641 duplicate
|
||||||
// GOLEM_ATTACK(4, IronGolem.class),
|
// GOLEM_ATTACK(4, IronGolem.class),
|
||||||
|
@ -58,8 +62,14 @@ public enum EntityEffect {
|
||||||
*/
|
*/
|
||||||
WOLF_SHAKE(8, Wolf.class),
|
WOLF_SHAKE(8, Wolf.class),
|
||||||
// 9 - unused
|
// 9 - unused
|
||||||
// PAIL - SPIGOT-3641 duplicate
|
/**
|
||||||
// SHEEP_EAT(10, LivingEntity.class),
|
* When an entity eats a LONG_GRASS block.
|
||||||
|
*
|
||||||
|
* @deprecated although this effect may trigger other events on non-living
|
||||||
|
* entities, it's only supported usage is on living ones.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
|
SHEEP_EAT(10, Entity.class),
|
||||||
/**
|
/**
|
||||||
* When an Iron Golem gives a rose.
|
* When an Iron Golem gives a rose.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue