mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2025-12-23 17:09:29 +00:00
Good night.
This commit is contained in:
@@ -9,10 +9,10 @@ Original project: https://github.com/PurpurMC/Purpur
|
|||||||
Commit: ea406a0e2b34442110fb963035ca5ea8f01b33be
|
Commit: ea406a0e2b34442110fb963035ca5ea8f01b33be
|
||||||
|
|
||||||
diff --git a/com/destroystokyo/paper/entity/ai/VanillaGoal.java b/com/destroystokyo/paper/entity/ai/VanillaGoal.java
|
diff --git a/com/destroystokyo/paper/entity/ai/VanillaGoal.java b/com/destroystokyo/paper/entity/ai/VanillaGoal.java
|
||||||
index 43f4deacef349502cbb207aafc4f9cb7a75177c5..6b692c24a62e2172116a6b9c371b1c0e2411c27e 100644
|
index 3add91218dd3f07052aa932f0503d1f10ac3799b..3e41a4141095bce989c75e989293deb3f47e8e6d 100644
|
||||||
--- a/com/destroystokyo/paper/entity/ai/VanillaGoal.java
|
--- a/com/destroystokyo/paper/entity/ai/VanillaGoal.java
|
||||||
+++ b/com/destroystokyo/paper/entity/ai/VanillaGoal.java
|
+++ b/com/destroystokyo/paper/entity/ai/VanillaGoal.java
|
||||||
@@ -442,6 +442,18 @@ public interface VanillaGoal<T extends Mob> extends Goal<T> {
|
@@ -436,6 +436,18 @@ public interface VanillaGoal<T extends Mob> extends Goal<T> {
|
||||||
|
|
||||||
GoalKey<Zombie> ZOMBIE_ATTACK_TURTLE_EGG = create("zombie_attack_turtle_egg", Zombie.class);
|
GoalKey<Zombie> ZOMBIE_ATTACK_TURTLE_EGG = create("zombie_attack_turtle_egg", Zombie.class);
|
||||||
|
|
||||||
@@ -28,6 +28,6 @@ index 43f4deacef349502cbb207aafc4f9cb7a75177c5..6b692c24a62e2172116a6b9c371b1c0e
|
|||||||
+ GoalKey<IronGolem> RECEIVE_FLOWER = GoalKey.of(IronGolem.class, NamespacedKey.minecraft("receive_flower"));
|
+ GoalKey<IronGolem> RECEIVE_FLOWER = GoalKey.of(IronGolem.class, NamespacedKey.minecraft("receive_flower"));
|
||||||
+ // Purpur end
|
+ // Purpur end
|
||||||
+
|
+
|
||||||
/**
|
private static <T extends Mob> @NotNull GoalKey<T> create(final @NotNull String key,
|
||||||
* Removed in 1.20.2
|
final @NotNull Class<T> type) {
|
||||||
*/
|
return GoalKey.of(type, NamespacedKey.minecraft(key));
|
||||||
|
|||||||
Reference in New Issue
Block a user