diff options
author | Lulu13022002 <[email protected]> | 2024-04-27 22:30:15 +0200 |
---|---|---|
committer | Lulu13022002 <[email protected]> | 2024-04-27 22:32:16 +0200 |
commit | af97400701fdabcfc8f4424fce27821a91ff8ad0 (patch) | |
tree | b4aba6e0f69fef9cff6c3cd773fe53c82eb50714 /patches/server | |
parent | 711dbd74eafce8c13959584a0e20a2c76209b422 (diff) | |
download | Paper-af97400701fdabcfc8f4424fce27821a91ff8ad0.tar.gz Paper-af97400701fdabcfc8f4424fce27821a91ff8ad0.zip |
update generator
Diffstat (limited to 'patches/server')
-rw-r--r-- | patches/server/0363-Implement-Mob-Goal-API.patch | 6 | ||||
-rw-r--r-- | patches/server/0574-Missing-Entity-API.patch | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/patches/server/0363-Implement-Mob-Goal-API.patch b/patches/server/0363-Implement-Mob-Goal-API.patch index 33bb7d6d59..50b5ac2812 100644 --- a/patches/server/0363-Implement-Mob-Goal-API.patch +++ b/patches/server/0363-Implement-Mob-Goal-API.patch @@ -18,10 +18,10 @@ index b1b7d9b72c9f79fe2cfcde47be35a7e73b35d6ff..81b42b378f2d44ce1ffba5ee3f50aad3 testImplementation("org.mockito:mockito-core:5.11.0") diff --git a/src/main/java/com/destroystokyo/paper/entity/ai/MobGoalHelper.java b/src/main/java/com/destroystokyo/paper/entity/ai/MobGoalHelper.java new file mode 100644 -index 0000000000000000000000000000000000000000..74778e5089814dd3a28e91738e82dfd7b8eb8d4c +index 0000000000000000000000000000000000000000..55e85267c7cbd8be5d2da212e33c43fb353f2e12 --- /dev/null +++ b/src/main/java/com/destroystokyo/paper/entity/ai/MobGoalHelper.java -@@ -0,0 +1,376 @@ +@@ -0,0 +1,378 @@ +package com.destroystokyo.paper.entity.ai; + +import com.destroystokyo.paper.entity.RangedEntity; @@ -270,6 +270,8 @@ index 0000000000000000000000000000000000000000..74778e5089814dd3a28e91738e82dfd7 + bukkitMap.put(net.minecraft.world.entity.animal.allay.Allay.class, org.bukkit.entity.Allay.class); + bukkitMap.put(net.minecraft.world.entity.animal.sniffer.Sniffer.class, org.bukkit.entity.Sniffer.class); + bukkitMap.put(Breeze.class, org.bukkit.entity.Breeze.class); ++ bukkitMap.put(net.minecraft.world.entity.animal.armadillo.Armadillo.class, org.bukkit.entity.Armadillo.class); ++ bukkitMap.put(net.minecraft.world.entity.monster.Bogged.class, org.bukkit.entity.Bogged.class); + } + + public static String getUsableName(Class<?> clazz) { diff --git a/patches/server/0574-Missing-Entity-API.patch b/patches/server/0574-Missing-Entity-API.patch index 1e466fb30d..0f3d205a48 100644 --- a/patches/server/0574-Missing-Entity-API.patch +++ b/patches/server/0574-Missing-Entity-API.patch @@ -44,7 +44,7 @@ Co-authored-by: FireInstall <[email protected]> Co-authored-by: maxcom1 <[email protected]> diff --git a/src/main/java/com/destroystokyo/paper/entity/ai/MobGoalHelper.java b/src/main/java/com/destroystokyo/paper/entity/ai/MobGoalHelper.java -index 74778e5089814dd3a28e91738e82dfd7b8eb8d4c..86933746b211a8fa7006b6854c42234a78a37843 100644 +index 55e85267c7cbd8be5d2da212e33c43fb353f2e12..c72d6bccf7d72d08d388c65936a89c92261c7860 100644 --- a/src/main/java/com/destroystokyo/paper/entity/ai/MobGoalHelper.java +++ b/src/main/java/com/destroystokyo/paper/entity/ai/MobGoalHelper.java @@ -165,7 +165,7 @@ public class MobGoalHelper { |