2021-06-11 12:02:28 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Jake Potrebic <jake.m.potrebic@gmail.com>
|
|
|
|
Date: Mon, 24 Aug 2020 08:39:06 -0700
|
|
|
|
Subject: [PATCH] Fix nerfed slime when splitting
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/world/entity/monster/Slime.java b/src/main/java/net/minecraft/world/entity/monster/Slime.java
|
2024-01-21 18:37:09 +00:00
|
|
|
index ca3bf718336ef02d379c0ec670f62fafb1600153..3752ff83c91be55e8a5e7c81b75409d64a8aafde 100644
|
2021-06-11 12:02:28 +00:00
|
|
|
--- a/src/main/java/net/minecraft/world/entity/monster/Slime.java
|
|
|
|
+++ b/src/main/java/net/minecraft/world/entity/monster/Slime.java
|
2023-09-22 04:40:51 +00:00
|
|
|
@@ -243,6 +243,7 @@ public class Slime extends Mob implements Enemy {
|
2022-12-07 20:16:54 +00:00
|
|
|
entityslime.setPersistenceRequired();
|
|
|
|
}
|
2021-06-11 12:02:28 +00:00
|
|
|
|
2024-01-19 21:13:42 +00:00
|
|
|
+ entityslime.aware = this.aware; // Paper - Fix nerfed slime when splitting
|
2022-12-07 20:16:54 +00:00
|
|
|
entityslime.setCustomName(ichatbasecomponent);
|
|
|
|
entityslime.setNoAi(flag);
|
|
|
|
entityslime.setInvulnerable(this.isInvulnerable());
|