Add back hopper tick scheduling

Tick a hopper only if certain conditions have changed i.e. inventory changes, redstone updates, etc.
This commit is contained in:
md_5
2015-05-26 19:16:27 +10:00
committed by Zach Brown
parent f3abde1675
commit 015e038b89
22 changed files with 389 additions and 64 deletions

View File

@@ -1,4 +1,4 @@
From 2489aa2e712dd6beb634472dfedf704218a706ad Mon Sep 17 00:00:00 2001
From 4dc82b6c36d8eb7218545353e06563d1892e1e3e Mon Sep 17 00:00:00 2001
From: lazertester <austin.techhead@gmail.com>
Date: Sun, 17 Aug 2014 19:56:17 +1000
Subject: [PATCH] Add Hunger Config Values
@@ -43,10 +43,10 @@ index 456b9b3..3af4180 100644
}
} else if (this.foodLevel <= 0) {
diff --git a/src/main/java/org/spigotmc/SpigotWorldConfig.java b/src/main/java/org/spigotmc/SpigotWorldConfig.java
index d644922..75edbb9 100644
index b19558b..0f9b67c 100644
--- a/src/main/java/org/spigotmc/SpigotWorldConfig.java
+++ b/src/main/java/org/spigotmc/SpigotWorldConfig.java
@@ -301,4 +301,16 @@ public class SpigotWorldConfig
@@ -303,4 +303,16 @@ public class SpigotWorldConfig
largeFeatureSeed = getInt( "seed-feature", 14357617 );
log( "Custom Map Seeds: Village: " + villageSeed + " Feature: " + largeFeatureSeed );
}