Update to 1.14.1

This commit is contained in:
William Blake Galbreath
2019-05-13 21:34:51 -05:00
parent 8340c3972c
commit 6da8a9ec7f
10 changed files with 55 additions and 240 deletions

View File

@@ -1,4 +1,4 @@
From dae587f9148c0724d728f408425908dc0d867e60 Mon Sep 17 00:00:00 2001
From f9785380f7c40f676ef7415b84a70c4bcb546f04 Mon Sep 17 00:00:00 2001
From: William Blake Galbreath <blake.galbreath@gmail.com>
Date: Fri, 10 May 2019 14:34:35 -0500
Subject: [PATCH] Remove useless cooldown in Villagers
@@ -8,20 +8,20 @@ Subject: [PATCH] Remove useless cooldown in Villagers
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/main/java/net/minecraft/server/EntityVillager.java b/src/main/java/net/minecraft/server/EntityVillager.java
index d489a5a8c..5c0d8b063 100644
index f2b46d4e3..72701ef4a 100644
--- a/src/main/java/net/minecraft/server/EntityVillager.java
+++ b/src/main/java/net/minecraft/server/EntityVillager.java
@@ -186,10 +186,11 @@ public class EntityVillager extends EntityVillagerAbstract implements Reputation
@Override
public void tick() {
super.tick();
- if (this.ec() > 0) {
- this.r(this.ec() - 1);
- if (this.dV() > 0) {
- this.q(this.dV() - 1);
- }
-
+ // Purpur start - remove useless cooldown
+ //if (this.ec() > 0) {
+ // this.r(this.ec() - 1);
+ //if (this.dV() > 0) {
+ // this.q(this.dV() - 1);
+ //}
+ // Purpur end
}
@@ -30,9 +30,9 @@ index d489a5a8c..5c0d8b063 100644
@@ -231,7 +232,7 @@ public class EntityVillager extends EntityVillagerAbstract implements Reputation
}
private void es() {
- this.r(40);
+ // this.r(40); // Purpur - remove useless cooldown
private void er() {
- this.q(40);
+ // this.q(40); // Purpur - remove useless cooldown
if (!this.world.e()) {
this.a(SoundEffects.ENTITY_VILLAGER_NO, this.getSoundVolume(), this.cU());
}