mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 02:17:42 +01:00
1.14.4 - Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly Paper Changes: 9fe63a16 Update to 1.14.4 (#2333)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From d5b26b7987432b2a6fb3bc0d022061b9e378f796 Mon Sep 17 00:00:00 2001
|
||||
From 4ead5bd8ca1fa435143de732cb296d61ddad78a9 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
|
||||
@@ -13,7 +13,7 @@ Subject: [PATCH] Silk touch spawners
|
||||
create mode 100644 src/main/java/net/minecraft/server/ItemSpawner.java
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/Block.java b/src/main/java/net/minecraft/server/Block.java
|
||||
index 5d8db912a..8e16162a7 100644
|
||||
index 79ed7a7b44..7949171eb2 100644
|
||||
--- a/src/main/java/net/minecraft/server/Block.java
|
||||
+++ b/src/main/java/net/minecraft/server/Block.java
|
||||
@@ -493,6 +493,7 @@ public class Block implements IMaterial {
|
||||
@@ -25,7 +25,7 @@ index 5d8db912a..8e16162a7 100644
|
||||
if (!world.isClientSide && !itemstack.isEmpty() && world.getGameRules().getBoolean(GameRules.DO_TILE_DROPS)) {
|
||||
float f = 0.5F;
|
||||
diff --git a/src/main/java/net/minecraft/server/BlockMobSpawner.java b/src/main/java/net/minecraft/server/BlockMobSpawner.java
|
||||
index bb77d916a..974a5d281 100644
|
||||
index bb77d916ab..974a5d2816 100644
|
||||
--- a/src/main/java/net/minecraft/server/BlockMobSpawner.java
|
||||
+++ b/src/main/java/net/minecraft/server/BlockMobSpawner.java
|
||||
@@ -11,6 +11,40 @@ public class BlockMobSpawner extends BlockTileEntity {
|
||||
@@ -78,10 +78,10 @@ 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 eaacc9bff..c32f40a60 100644
|
||||
index a7fc34f850..e4fdf01dc7 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityTypes.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityTypes.java
|
||||
@@ -137,10 +137,17 @@ public class EntityTypes<T extends Entity> {
|
||||
@@ -135,10 +135,17 @@ public class EntityTypes<T extends Entity> {
|
||||
return (EntityTypes) IRegistry.a((IRegistry) IRegistry.ENTITY_TYPE, s, (Object) entitytypes_a.a(s));
|
||||
}
|
||||
|
||||
@@ -99,7 +99,7 @@ index eaacc9bff..c32f40a60 100644
|
||||
public static Optional<EntityTypes<?>> a(String s) {
|
||||
return IRegistry.ENTITY_TYPE.getOptional(MinecraftKey.a(s));
|
||||
}
|
||||
@@ -255,6 +262,12 @@ public class EntityTypes<T extends Entity> {
|
||||
@@ -257,6 +264,12 @@ public class EntityTypes<T extends Entity> {
|
||||
return this.ba;
|
||||
}
|
||||
|
||||
@@ -109,20 +109,20 @@ index eaacc9bff..c32f40a60 100644
|
||||
+ }
|
||||
+ // Purpur end
|
||||
+
|
||||
public String e() {
|
||||
if (this.be == null) {
|
||||
this.be = SystemUtils.a("entity", IRegistry.ENTITY_TYPE.getKey(this));
|
||||
@@ -263,6 +276,7 @@ public class EntityTypes<T extends Entity> {
|
||||
return this.be;
|
||||
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> {
|
||||
return this.bf;
|
||||
}
|
||||
|
||||
+ public IChatBaseComponent getNameComponent() { return f(); } // Purpur - OBFHELPER
|
||||
public IChatBaseComponent f() {
|
||||
if (this.bf == null) {
|
||||
this.bf = new ChatMessage(this.e(), new Object[0]);
|
||||
+ public IChatBaseComponent getNameComponent() { return g(); } // Purpur - OBFHELPER
|
||||
public IChatBaseComponent g() {
|
||||
if (this.bg == null) {
|
||||
this.bg = new ChatMessage(this.f(), new Object[0]);
|
||||
diff --git a/src/main/java/net/minecraft/server/ItemSpawner.java b/src/main/java/net/minecraft/server/ItemSpawner.java
|
||||
new file mode 100644
|
||||
index 000000000..7dc68ffe9
|
||||
index 0000000000..7dc68ffe92
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/net/minecraft/server/ItemSpawner.java
|
||||
@@ -0,0 +1,23 @@
|
||||
@@ -150,7 +150,7 @@ index 000000000..7dc68ffe9
|
||||
+ }
|
||||
+}
|
||||
diff --git a/src/main/java/net/minecraft/server/Items.java b/src/main/java/net/minecraft/server/Items.java
|
||||
index 84646dbc2..987297634 100644
|
||||
index 84646dbc26..987297634c 100644
|
||||
--- a/src/main/java/net/minecraft/server/Items.java
|
||||
+++ b/src/main/java/net/minecraft/server/Items.java
|
||||
@@ -155,7 +155,7 @@ public class Items {
|
||||
|
||||
Reference in New Issue
Block a user