diff options
author | Jake Potrebic <[email protected]> | 2022-02-28 19:29:50 -0800 |
---|---|---|
committer | Jason Penilla <[email protected]> | 2022-02-28 22:52:40 -0700 |
commit | 146ac7bcd6597ad9695fc4ecc2f66913f7d08cf0 (patch) | |
tree | 2db9949798b924d72f0f04d353b3fbfde46962d6 | |
parent | cc45a355a4e76f749e4618a61b233f40a3c05180 (diff) | |
download | Paper-146ac7bcd6597ad9695fc4ecc2f66913f7d08cf0.tar.gz Paper-146ac7bcd6597ad9695fc4ecc2f66913f7d08cf0.zip |
address failing mob goals test
-rw-r--r-- | patches/api/0200-Add-Mob-Goal-API.patch | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/patches/api/0200-Add-Mob-Goal-API.patch b/patches/api/0200-Add-Mob-Goal-API.patch index 854ed3f41f..2558454b9d 100644 --- a/patches/api/0200-Add-Mob-Goal-API.patch +++ b/patches/api/0200-Add-Mob-Goal-API.patch @@ -227,10 +227,10 @@ index 0000000000000000000000000000000000000000..e21f7574763dd4f13794f91bbef192ef +} diff --git a/src/main/java/com/destroystokyo/paper/entity/ai/VanillaGoal.java b/src/main/java/com/destroystokyo/paper/entity/ai/VanillaGoal.java new file mode 100644 -index 0000000000000000000000000000000000000000..2405254739a83b2fb517da7fa4ea0721c68f9f6d +index 0000000000000000000000000000000000000000..8fd399f791b45eb7fc62693ca954eea0c68e2881 --- /dev/null +++ b/src/main/java/com/destroystokyo/paper/entity/ai/VanillaGoal.java -@@ -0,0 +1,289 @@ +@@ -0,0 +1,291 @@ +package com.destroystokyo.paper.entity.ai; + +import com.destroystokyo.paper.entity.RangedEntity; @@ -429,6 +429,8 @@ index 0000000000000000000000000000000000000000..2405254739a83b2fb517da7fa4ea0721 + GoalKey<Raider> RAIDER_CELEBRATION = GoalKey.of(Raider.class, NamespacedKey.minecraft("raider_celebration")); + GoalKey<Raider> RAIDER_MOVE_THROUGH_VILLAGE = GoalKey.of(Raider.class, NamespacedKey.minecraft("raider_move_through_village")); + GoalKey<Creature> PARROT_WANDER = GoalKey.of(Creature.class, NamespacedKey.minecraft("parrot_wander")); ++ GoalKey<Mob> CLIMB_ON_TOP_OF_POWDER_SNOW = GoalKey.of(Mob.class, NamespacedKey.minecraft("climb_on_top_of_powder_snow")); ++ GoalKey<Wolf> WOLF_PANIC = GoalKey.of(Wolf.class, NamespacedKey.minecraft("wolf_panic")); + + /** + * @deprecated removed in 1.16 |