Update material tags and entity effect
This commit is contained in:
parent
fe7b741545
commit
12ed021051
2 changed files with 22 additions and 15 deletions
|
@ -5,7 +5,7 @@ Subject: [PATCH] Improve entity effect API
|
|||
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/EntityEffect.java b/src/main/java/org/bukkit/EntityEffect.java
|
||||
index 5341957b10cccd7bce5a7595699b1d90412a01d0..83d623cc824ddeeae7350c9f9a757fcf8e97c9ea 100644
|
||||
index 5341957b10cccd7bce5a7595699b1d90412a01d0..912dafd5a8884d7973b2126f97ecdbe54e78937f 100644
|
||||
--- a/src/main/java/org/bukkit/EntityEffect.java
|
||||
+++ b/src/main/java/org/bukkit/EntityEffect.java
|
||||
@@ -112,11 +112,25 @@ public enum EntityEffect {
|
||||
|
@ -76,7 +76,7 @@ index 5341957b10cccd7bce5a7595699b1d90412a01d0..83d623cc824ddeeae7350c9f9a757fcf
|
|||
HURT_BERRY_BUSH(44, LivingEntity.class),
|
||||
/**
|
||||
* Fox chews the food in its mouth
|
||||
@@ -331,7 +355,17 @@ public enum EntityEffect {
|
||||
@@ -331,7 +355,24 @@ public enum EntityEffect {
|
||||
* Sniffer must have a target and be in {@link Sniffer.State#SEARCHING} or
|
||||
* {@link Sniffer.State#DIGGING}
|
||||
*/
|
||||
|
@ -90,7 +90,14 @@ index 5341957b10cccd7bce5a7595699b1d90412a01d0..83d623cc824ddeeae7350c9f9a757fcf
|
|||
+ /**
|
||||
+ * {@link org.bukkit.inventory.EquipmentSlot#BODY} armor piece breaks
|
||||
+ */
|
||||
+ BODY_BREAK(65, LivingEntity.class);
|
||||
+ BODY_BREAK(65, LivingEntity.class),
|
||||
+ /**
|
||||
+ * A creaking transient shaking when being hit.
|
||||
+ * Does not apply to plain creaking entities as they are not invulnerable like the transient ones spawned by the
|
||||
+ * creaking heart.
|
||||
+ */
|
||||
+ @MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
||||
+ SHAKE(66, org.bukkit.entity.CreakingTransient.class);
|
||||
+ // Paper end - add missing EntityEffect
|
||||
|
||||
private final byte data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue