Pass predicate from default get hard colliding entities method

This commit is contained in:
Spottedleaf
2020-06-26 14:33:49 -07:00
parent 6e59ab0eb5
commit 9b3bb0cf51
5 changed files with 26 additions and 178 deletions

View File

@@ -895,13 +895,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ bitInLongIndex += bitsPerObject;
+
+ if (bitInLongIndex > 63) {
+ bitInLongIndex -= 64;
+ bitInLongIndex = 0;
+ longInDataBitsIndex += 8;
+ init();
+
+ if (bitInLongIndex > 0) {
+ value |= current << bitsPerObject - bitInLongIndex & mask;
+ }
+ }
+
+ return value;
@@ -975,14 +971,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+
+ if (bitInLongIndex > 63) {
+ finish();
+ bitInLongIndex -= 64;
+ bitInLongIndex = 0;
+ longInDataBitsIndex += 8;
+ init();
+
+ if (bitInLongIndex > 0) {
+ current = current & ~(mask >>> bitsPerObject - bitInLongIndex) | (value & mask) >>> bitsPerObject - bitInLongIndex;
+ dirty = true;
+ }
+ }
+ }
+
@@ -991,7 +982,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+
+ if (bitInLongIndex > 63) {
+ finish();
+ bitInLongIndex -= 64;
+ bitInLongIndex = 0;
+ longInDataBitsIndex += 8;
+ init();
+ }