mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-19 17:37:42 +01:00
Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly Paper Changes: 21faf822 Implement optional per player mobspawning (#2171) 88722ec8 Prevent consuming the wrong itemstack (#2477) 294e3046 Async chunk api/io/loading (#2308)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From c246b29621a8e2c62825e2a9d00a27f03e1c20b9 Mon Sep 17 00:00:00 2001
|
||||
From 8d144c45e81724e07c172eb3f7d06f6e4f105dfa Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
||||
Date: Thu, 9 May 2019 14:27:37 -0500
|
||||
Subject: [PATCH] Silk touch spawners
|
||||
@@ -78,7 +78,7 @@ index bb77d916a..974a5d281 100644
|
||||
|
||||
return i;
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityTypes.java b/src/main/java/net/minecraft/server/EntityTypes.java
|
||||
index a7fc34f85..e4fdf01dc 100644
|
||||
index 612b9b7e3..f8308c96b 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityTypes.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityTypes.java
|
||||
@@ -135,10 +135,17 @@ public class EntityTypes<T extends Entity> {
|
||||
@@ -99,7 +99,7 @@ index a7fc34f85..e4fdf01dc 100644
|
||||
public static Optional<EntityTypes<?>> a(String s) {
|
||||
return IRegistry.ENTITY_TYPE.getOptional(MinecraftKey.a(s));
|
||||
}
|
||||
@@ -257,6 +264,12 @@ public class EntityTypes<T extends Entity> {
|
||||
@@ -258,6 +265,12 @@ public class EntityTypes<T extends Entity> {
|
||||
return this.ba;
|
||||
}
|
||||
|
||||
@@ -112,7 +112,7 @@ index a7fc34f85..e4fdf01dc 100644
|
||||
public String f() {
|
||||
if (this.bf == null) {
|
||||
this.bf = SystemUtils.a("entity", IRegistry.ENTITY_TYPE.getKey(this));
|
||||
@@ -265,6 +278,7 @@ public class EntityTypes<T extends Entity> {
|
||||
@@ -266,6 +279,7 @@ public class EntityTypes<T extends Entity> {
|
||||
return this.bf;
|
||||
}
|
||||
|
||||
@@ -163,5 +163,5 @@ index 84646dbc2..987297634 100644
|
||||
public static final Item bZ = a(Blocks.CHEST, CreativeModeTab.c);
|
||||
public static final Item ca = a(Blocks.DIAMOND_ORE, CreativeModeTab.b);
|
||||
--
|
||||
2.20.1
|
||||
2.23.0.rc1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user