API 'done'

This commit is contained in:
Nassim Jahnke
2023-03-14 18:21:11 +01:00
parent 08ab8edb76
commit 7936e7a615
418 changed files with 56 additions and 84 deletions

View File

@@ -0,0 +1,25 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Jake Potrebic <jake.m.potrebic@gmail.com>
Date: Fri, 3 Jul 2020 15:05:54 -0700
Subject: [PATCH] added 2 new TargetReasons for 1.16 mob behavior
diff --git a/src/main/java/org/bukkit/event/entity/EntityTargetEvent.java b/src/main/java/org/bukkit/event/entity/EntityTargetEvent.java
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
--- a/src/main/java/org/bukkit/event/entity/EntityTargetEvent.java
+++ b/src/main/java/org/bukkit/event/entity/EntityTargetEvent.java
@@ -0,0 +0,0 @@ public class EntityTargetEvent extends EntityEvent implements Cancellable {
* as wheat in it's hand.
*/
TEMPT,
+ /**
+ * When the target is in a different dimension
+ */
+ TARGET_OTHER_LEVEL, // Paper
+ /**
+ * When the target is in creative or spectator mode, or the gamemode is peaceful, or other reasons
+ */
+ TARGET_INVALID, // Paper
/**
* A currently unknown reason for the entity changing target.
*/