Updated Upstream (Tuinity)

Upstream has released updates that appear to apply and compile correctly

Tuinity Changes:
e562840 Fix entities suffocating on world gen spawn
1fc0b92 Change mc dev import format to new format
This commit is contained in:
William Blake Galbreath
2021-07-03 22:23:39 -05:00
parent 3cb81112e2
commit 4fcfad7b8e

View File

@@ -5905,7 +5905,7 @@ index 0000000000000000000000000000000000000000..01320aea07b51c97ae5f0654b81d2332
+}
diff --git a/src/main/java/com/tuinity/tuinity/util/CollisionUtil.java b/src/main/java/com/tuinity/tuinity/util/CollisionUtil.java
new file mode 100644
index 0000000000000000000000000000000000000000..3e8cbd9a0be1ecef7361446d03a4f25336ed6229
index 0000000000000000000000000000000000000000..d08289dda13d31ec1019722af554dc1d834b41e4
--- /dev/null
+++ b/src/main/java/com/tuinity/tuinity/util/CollisionUtil.java
@@ -0,0 +1,600 @@
@@ -6305,7 +6305,7 @@ index 0000000000000000000000000000000000000000..3e8cbd9a0be1ecef7361446d03a4f253
+ final boolean checkBorder, final boolean checkOnly, final BiPredicate<BlockState, BlockPos> predicate) {
+ boolean ret = false;
+
+ if (entity != null) {
+ if (checkBorder) {
+ if (CollisionUtil.isAlmostCollidingOnBorder(getter.getWorldBorder(), aabb)) {
+ if (checkOnly) {
+ return true;
@@ -6350,7 +6350,7 @@ index 0000000000000000000000000000000000000000..3e8cbd9a0be1ecef7361446d03a4f253
+
+ ServerChunkCache chunkProvider;
+ if (getter instanceof WorldGenRegion) {
+ chunkProvider = (ServerChunkCache)((WorldGenRegion)getter).getChunkSource();
+ chunkProvider = null;
+ } else if (getter instanceof ServerLevel) {
+ chunkProvider = ((ServerLevel)getter).getChunkSource();
+ } else {