2021-11-23 10:51:25 +00:00
|
|
|
Add Timings to LevelTicks and EntityTickList
|
2021-11-23 11:27:39 +00:00
|
|
|
Check IBlockDataList#GLOBAL_PALETTE
|
2021-11-23 14:03:50 +00:00
|
|
|
Check if PlayerNaturallySpawnedEvent is called correctly
|
2021-11-23 23:06:05 +00:00
|
|
|
Make sure fluids aren't completly fucked, there may be more sync loads to nuke there as well
|
2021-11-23 23:56:42 +00:00
|
|
|
Improve Server Thread Pool and Thread Priorities: mojang added a max thread count property
|
2021-11-24 00:20:31 +00:00
|
|
|
Use Vanilla Minecart Speeds: is this needed?
|
2021-11-24 01:53:24 +00:00
|
|
|
Handle Oversized Tile Entities: make sure impl is correct
|
2021-11-24 12:30:55 +00:00
|
|
|
0467-Optimize-WorldBorder-collision-checks-and-air check first hunk that has been removed
|
2021-11-24 22:26:32 +00:00
|
|
|
|
|
|
|
Not sure where this needs to go, if anywhere
|
|
|
|
diff --git a/src/main/java/net/minecraft/world/phys/shapes/Shapes.java b/src/main/java/net/minecraft/world/phys/shapes/Shapes.java
|
|
|
|
index 48812329969b7192acd948db974bb77bb546f979..5b1e0ea40dea6c7d787699ed25160c8b75ab3bf3 100644
|
|
|
|
--- a/src/main/java/net/minecraft/world/phys/shapes/Shapes.java
|
|
|
|
+++ b/src/main/java/net/minecraft/world/phys/shapes/Shapes.java
|
|
|
|
@@ -237,7 +237,8 @@ public final class Shapes {
|
|
|
|
|
|
|
|
if (s < 3) {
|
|
|
|
mutableBlockPos.set(axisCycle, q, r, p);
|
|
|
|
- BlockState blockState = world.getBlockState(mutableBlockPos);
|
|
|
|
+ BlockState blockState = world.getTypeIfLoaded(mutableBlockPos); // Paper
|
|
|
|
+ if (blockState == null) return 0.0D; // Paper
|
|
|
|
if ((s != 1 || blockState.hasLargeCollisionShape()) && (s != 2 || blockState.is(Blocks.MOVING_PISTON))) {
|
|
|
|
initial = blockState.getCollisionShape(world, mutableBlockPos, context).collide(axis3, box.move((double)(-mutableBlockPos.getX()), (double)(-mutableBlockPos.getY()), (double)(-mutableBlockPos.getZ())), initial);
|
|
|
|
if (Math.abs(initial) < 1.0E-7D) {
|
|
|
|
|
2021-11-25 03:06:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
check ChunkHolder#updateFutures async catcher
|