-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8a4b752
commit b743144
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,12 @@ https://bugs.mojang.com/browse/MC-244739 | |
https://bugs.mojang.com/browse/MC-243057 | ||
ignore furnace fuel slot in recipe book click | ||
|
||
https://bugs.mojang.com/browse/MC-147659 | ||
Some witch huts spawn the incorrect cat | ||
Note: Marked as Won't Fix, makes 0 sense | ||
|
||
Co-authored-by: William Blake Galbreath <[email protected]> | ||
|
||
diff --git a/src/main/java/net/minecraft/server/commands/DeOpCommands.java b/src/main/java/net/minecraft/server/commands/DeOpCommands.java | ||
index cca2618d90306eed9894c5fa7b6ed96b68210688..10769c60bd53438d44fbc6192667acdf4cc95594 100644 | ||
--- a/src/main/java/net/minecraft/server/commands/DeOpCommands.java | ||
|
@@ -60,6 +66,20 @@ index c17d9a7cb69d3b6ea6e17b689921fa239db3552b..a4690391df0aa26abea1ad92e6143eb1 | |
this.level.playSound((Player) null, (Entity) this, this.getEatingSound(itemstack), SoundSource.NEUTRAL, 1.0F, Mth.randomBetween(this.level.random, 0.8F, 1.2F)); | ||
} | ||
|
||
diff --git a/src/main/java/net/minecraft/world/entity/npc/CatSpawner.java b/src/main/java/net/minecraft/world/entity/npc/CatSpawner.java | ||
index 8808cb9f5df43d781cbb9c7943ff2f222e3a6969..f1315693751cd1058620fae52816f312921b50a4 100644 | ||
--- a/src/main/java/net/minecraft/world/entity/npc/CatSpawner.java | ||
+++ b/src/main/java/net/minecraft/world/entity/npc/CatSpawner.java | ||
@@ -87,8 +87,8 @@ public class CatSpawner implements CustomSpawner { | ||
if (cat == null) { | ||
return 0; | ||
} else { | ||
+ cat.moveTo(pos, 0.0F, 0.0F); // Paper - move up - Fix MC-147659 | ||
cat.finalizeSpawn(world, world.getCurrentDifficultyAt(pos), MobSpawnType.NATURAL, (SpawnGroupData)null, (CompoundTag)null); | ||
- cat.moveTo(pos, 0.0F, 0.0F); | ||
world.addFreshEntityWithPassengers(cat); | ||
return 1; | ||
} | ||
diff --git a/src/main/java/net/minecraft/world/entity/raid/Raids.java b/src/main/java/net/minecraft/world/entity/raid/Raids.java | ||
index fa8fcdfea51a35e4a482d3d7b18159099da62706..feb89eb69994bdd1d2f95d2b9992e69251b2bee7 100644 | ||
--- a/src/main/java/net/minecraft/world/entity/raid/Raids.java | ||
|