diff --git a/patches/server/0098-Optimize-world-generation-chunk-and-block-access.patch b/patches/server/0097-Optimize-world-generation-chunk-and-block-access.patch similarity index 100% rename from patches/server/0098-Optimize-world-generation-chunk-and-block-access.patch rename to patches/server/0097-Optimize-world-generation-chunk-and-block-access.patch diff --git a/patches/server/0097-Precompute-piston-shapes.patch b/patches/server/0097-Precompute-piston-shapes.patch deleted file mode 100644 index 85eaa6c..0000000 --- a/patches/server/0097-Precompute-piston-shapes.patch +++ /dev/null @@ -1,212 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Martijn Muijsers -Date: Thu, 1 Dec 2022 13:58:42 +0100 -Subject: [PATCH] Precompute piston shapes - -License: LGPL-3.0 (https://www.gnu.org/licenses/lgpl-3.0.html) -Gale - https://galemc.org - -This patch is based on the following mixins and classes: -* "me/jellysquid/mods/lithium/common/shapes/OffsetVoxelShapeCache.java" -* "me/jellysquid/mods/lithium/mixin/block/moving_block_shapes/PistonBlockEntityMixin.java" -* "me/jellysquid/mods/lithium/mixin/block/moving_block_shapes/VoxelShapeMixin.java" -By: 2No2Name <2No2Name@web.de> -As part of: Lithium (https://github.com/CaffeineMC/lithium-fabric) -Licensed under: LGPL-3.0 (https://www.gnu.org/licenses/lgpl-3.0.html) - -diff --git a/src/main/java/me/jellysquid/mods/lithium/common/shapes/OffsetVoxelShapeCache.java b/src/main/java/me/jellysquid/mods/lithium/common/shapes/OffsetVoxelShapeCache.java -new file mode 100644 -index 0000000000000000000000000000000000000000..451934fa8b97d4b0ce2bb994e18e8d47519ead7c ---- /dev/null -+++ b/src/main/java/me/jellysquid/mods/lithium/common/shapes/OffsetVoxelShapeCache.java -@@ -0,0 +1,14 @@ -+// Gale - Lithium - precompute piston shapes - offset voxel shape cache utility -+ -+package me.jellysquid.mods.lithium.common.shapes; -+ -+import net.minecraft.core.Direction; -+import net.minecraft.world.phys.shapes.VoxelShape; -+ -+public interface OffsetVoxelShapeCache { -+ -+ VoxelShape getOffsetSimplifiedShape(float offset, Direction direction); -+ -+ void setShape(float offset, Direction direction, VoxelShape offsetShape); -+ -+} -diff --git a/src/main/java/net/minecraft/world/level/block/piston/PistonMovingBlockEntity.java b/src/main/java/net/minecraft/world/level/block/piston/PistonMovingBlockEntity.java -index 221c5d080d55326e458c1182823d6b49224ef498..329adee82a5cafbb0a9b2d1b6c7fed660135db97 100644 ---- a/src/main/java/net/minecraft/world/level/block/piston/PistonMovingBlockEntity.java -+++ b/src/main/java/net/minecraft/world/level/block/piston/PistonMovingBlockEntity.java -@@ -55,6 +55,74 @@ public class PistonMovingBlockEntity extends BlockEntity { - this.extending = extending; - this.isSourcePiston = source; - } -+ // Gale start - Lithium - precompute piston shapes -+ private static final VoxelShape[] PISTON_BASE_WITH_MOVING_HEAD_SHAPES = precomputePistonBaseWithMovingHeadShapes(); -+ -+ /** -+ * We cache the offset and simplified VoxelShapes that are otherwise constructed on every call of getCollisionShape. -+ * For each offset direction and distance (6 directions, 2 distances each, and no direction with 0 distance) we -+ * store the offset and simplified VoxelShapes in the original VoxelShape when they are accessed the first time. -+ * We use safe publication, because both the Render and Server thread are using the cache. -+ * -+ * @param blockShape the original shape, must not be modified after passing it as an argument to this method -+ * @param offset the offset distance -+ * @param direction the offset direction -+ * @return blockShape offset and simplified -+ */ -+ private static VoxelShape getOffsetAndSimplified(VoxelShape blockShape, float offset, Direction direction) { -+ VoxelShape offsetSimplifiedShape = blockShape.getOffsetSimplifiedShape(offset, direction); -+ if (offsetSimplifiedShape == null) { -+ //create the offset shape and store it for later use -+ offsetSimplifiedShape = blockShape.move(direction.getStepX() * offset, direction.getStepY() * offset, direction.getStepZ() * offset).optimize(); -+ blockShape.setShape(offset, direction, offsetSimplifiedShape); -+ } -+ return offsetSimplifiedShape; -+ } -+ -+ /** -+ * Precompute all 18 possible configurations for the merged piston base and head shape. -+ * -+ * @return The array of the merged VoxelShapes, indexed by {@link #getIndexForMergedShape(float, Direction)} -+ */ -+ private static VoxelShape[] precomputePistonBaseWithMovingHeadShapes() { -+ float[] offsets = {0f, 0.5f, 1f}; -+ Direction[] directions = Direction.values(); -+ -+ VoxelShape[] mergedShapes = new VoxelShape[offsets.length * directions.length]; -+ -+ for (Direction facing : directions) { -+ VoxelShape baseShape = Blocks.PISTON.defaultBlockState().setValue(PistonBaseBlock.EXTENDED, true) -+ .setValue(PistonBaseBlock.FACING, facing).getCollisionShape(null, null); -+ for (float offset : offsets) { -+ //this cache is only required for the merged piston head + base shape. -+ //this shape is only used when !this.extending -+ //here: isShort = this.extending != 1.0F - this.progress < 0.25F can be simplified to: -+ //isShort = f < 0.25F , because f = getAmountExtended(this.progress) can be simplified to f == 1.0F - this.progress -+ //therefore isShort is dependent on the offset: -+ boolean isShort = offset < 0.25f; -+ -+ VoxelShape headShape = (Blocks.PISTON_HEAD.defaultBlockState().setValue(PistonHeadBlock.FACING, facing)) -+ .setValue(PistonHeadBlock.SHORT, isShort).getCollisionShape(null, null); -+ -+ VoxelShape offsetHead = headShape.move(facing.getStepX() * offset, -+ facing.getStepY() * offset, -+ facing.getStepZ() * offset); -+ mergedShapes[getIndexForMergedShape(offset, facing)] = Shapes.or(baseShape, offsetHead); -+ } -+ -+ } -+ -+ return mergedShapes; -+ } -+ -+ private static int getIndexForMergedShape(float offset, Direction direction) { -+ if (offset != 0f && offset != 0.5f && offset != 1f) { -+ return -1; -+ } -+ //shape of offset 0 is still dependent on the direction, due to piston head and base being directional blocks -+ return (int) (2 * offset) + (3 * direction.get3DDataValue()); -+ } -+ // Gale end - Lithium - precompute piston shapes - - @Override - public CompoundTag getUpdateTag() { -@@ -355,10 +423,27 @@ public class PistonMovingBlockEntity extends BlockEntity { - } - - float f = this.getExtendedProgress(this.progress); -+ // Gale start - Lithium - precompute piston shapes -+ if (this.extending || !this.isSourcePiston || !(this.movedState.getBlock() instanceof PistonBaseBlock)) { -+ //here voxelShape2.isEmpty() is guaranteed, vanilla code would call union() which calls simplify() -+ VoxelShape blockShape = blockState.getCollisionShape(world, pos); -+ -+ //we cache the simplified shapes, as the simplify() method costs a lot of CPU time and allocates several objects -+ VoxelShape offsetAndSimplified = getOffsetAndSimplified(blockShape, Math.abs(f), f < 0f ? this.direction.getOpposite() : this.direction); -+ return offsetAndSimplified; -+ } else { -+ //retracting piston heads have to act like their base as well, as the base block is replaced with the moving block -+ //f >= 0f is guaranteed (assuming no other mod interferes) -+ int index = getIndexForMergedShape(f, this.direction); -+ return PISTON_BASE_WITH_MOVING_HEAD_SHAPES[index]; -+ } -+ /* - double d = (double)((float)this.direction.getStepX() * f); - double e = (double)((float)this.direction.getStepY() * f); - double g = (double)((float)this.direction.getStepZ() * f); - return Shapes.or(voxelShape, blockState.getCollisionShape(world, pos).move(d, e, g)); -+ */ -+ // Gale end - Lithium - precompute piston shapes - } - } - -diff --git a/src/main/java/net/minecraft/world/phys/shapes/VoxelShape.java b/src/main/java/net/minecraft/world/phys/shapes/VoxelShape.java -index 2182afd1b95acf14c55bddfeec17dae0a63e1f00..b14bf7aadfe1e4b7f5d9a7912a39627aed4f9278 100644 ---- a/src/main/java/net/minecraft/world/phys/shapes/VoxelShape.java -+++ b/src/main/java/net/minecraft/world/phys/shapes/VoxelShape.java -@@ -6,6 +6,8 @@ import it.unimi.dsi.fastutil.doubles.DoubleList; - import java.util.List; - import java.util.Optional; - import javax.annotation.Nullable; -+ -+import me.jellysquid.mods.lithium.common.shapes.OffsetVoxelShapeCache; - import net.minecraft.Util; - import net.minecraft.core.AxisCycle; - import net.minecraft.core.BlockPos; -@@ -15,7 +17,7 @@ import net.minecraft.world.phys.AABB; - import net.minecraft.world.phys.BlockHitResult; - import net.minecraft.world.phys.Vec3; - --public abstract class VoxelShape { -+public abstract class VoxelShape implements OffsetVoxelShapeCache { // Gale - Lithium - precompute piston shapes - offset voxel shape cache utility - public final DiscreteVoxelShape shape; // Paper - public - @Nullable - private VoxelShape[] faces; -@@ -26,6 +28,46 @@ public abstract class VoxelShape { - } - // Paper end - -+ // Gale start - Lithium - precompute piston shapes - offset voxel shape cache utility -+ private volatile VoxelShape[] offsetAndSimplified; -+ -+ @Override -+ public void setShape(float offset, Direction direction, VoxelShape offsetShape) { -+ if (offsetShape == null) { -+ throw new IllegalArgumentException("offsetShape must not be null!"); -+ } -+ int index = getIndexForOffsetSimplifiedShapes(offset, direction); -+ VoxelShape[] offsetAndSimplifiedShapes = this.offsetAndSimplified; -+ if (offsetAndSimplifiedShapes == null) { -+ offsetAndSimplifiedShapes = new VoxelShape[1 + 2 * 6]; -+ } else { -+ offsetAndSimplifiedShapes = offsetAndSimplifiedShapes.clone(); -+ } -+ offsetAndSimplifiedShapes[index] = offsetShape; -+ this.offsetAndSimplified = offsetAndSimplifiedShapes; -+ } -+ -+ @Override -+ public VoxelShape getOffsetSimplifiedShape(float offset, Direction direction) { -+ VoxelShape[] offsetAndSimplified = this.offsetAndSimplified; -+ if (offsetAndSimplified == null) { -+ return null; -+ } -+ int index = getIndexForOffsetSimplifiedShapes(offset, direction); -+ return offsetAndSimplified[index]; -+ } -+ -+ private static int getIndexForOffsetSimplifiedShapes(float offset, Direction direction) { -+ if (offset != 0f && offset != 0.5f && offset != 1f) { -+ throw new IllegalArgumentException("offset must be one of {0f, 0.5f, 1f}"); -+ } -+ if (offset == 0f) { -+ return 0; //can treat offsetting by 0 in all directions the same -+ } -+ return (int) (2 * offset) + 2 * direction.get3DDataValue(); -+ } -+ // Gale end - Lithium - precompute piston shapes - offset voxel shape cache utility -+ - protected VoxelShape(DiscreteVoxelShape voxels) { // Paper - protected - this.shape = voxels; - } diff --git a/patches/server/0099-Cache-world-generator-sea-level.patch b/patches/server/0098-Cache-world-generator-sea-level.patch similarity index 100% rename from patches/server/0099-Cache-world-generator-sea-level.patch rename to patches/server/0098-Cache-world-generator-sea-level.patch diff --git a/patches/server/0100-Skip-secondary-POI-sensor-if-absent.patch b/patches/server/0099-Skip-secondary-POI-sensor-if-absent.patch similarity index 100% rename from patches/server/0100-Skip-secondary-POI-sensor-if-absent.patch rename to patches/server/0099-Skip-secondary-POI-sensor-if-absent.patch diff --git a/patches/server/0101-Optimize-villager-data-storage.patch b/patches/server/0100-Optimize-villager-data-storage.patch similarity index 100% rename from patches/server/0101-Optimize-villager-data-storage.patch rename to patches/server/0100-Optimize-villager-data-storage.patch diff --git a/patches/server/0102-Skip-entity-move-if-movement-is-zero.patch b/patches/server/0101-Skip-entity-move-if-movement-is-zero.patch similarity index 100% rename from patches/server/0102-Skip-entity-move-if-movement-is-zero.patch rename to patches/server/0101-Skip-entity-move-if-movement-is-zero.patch diff --git a/patches/server/0103-Store-mob-counts-in-an-array.patch b/patches/server/0102-Store-mob-counts-in-an-array.patch similarity index 100% rename from patches/server/0103-Store-mob-counts-in-an-array.patch rename to patches/server/0102-Store-mob-counts-in-an-array.patch diff --git a/patches/server/0104-Use-linked-map-for-entity-trackers.patch b/patches/server/0103-Use-linked-map-for-entity-trackers.patch similarity index 100% rename from patches/server/0104-Use-linked-map-for-entity-trackers.patch rename to patches/server/0103-Use-linked-map-for-entity-trackers.patch diff --git a/patches/server/0105-Optimize-noise-generation.patch b/patches/server/0104-Optimize-noise-generation.patch similarity index 100% rename from patches/server/0105-Optimize-noise-generation.patch rename to patches/server/0104-Optimize-noise-generation.patch diff --git a/patches/server/0106-Optimize-sheep-offspring-color.patch b/patches/server/0105-Optimize-sheep-offspring-color.patch similarity index 100% rename from patches/server/0106-Optimize-sheep-offspring-color.patch rename to patches/server/0105-Optimize-sheep-offspring-color.patch diff --git a/patches/server/0107-Ignore-durability-change-equipment-updates.patch b/patches/server/0106-Ignore-durability-change-equipment-updates.patch similarity index 100% rename from patches/server/0107-Ignore-durability-change-equipment-updates.patch rename to patches/server/0106-Ignore-durability-change-equipment-updates.patch diff --git a/patches/server/0108-Hide-flames-on-entities-with-fire-resistance.patch b/patches/server/0107-Hide-flames-on-entities-with-fire-resistance.patch similarity index 100% rename from patches/server/0108-Hide-flames-on-entities-with-fire-resistance.patch rename to patches/server/0107-Hide-flames-on-entities-with-fire-resistance.patch diff --git a/patches/server/0109-Skip-cloning-advancement-criteria.patch b/patches/server/0108-Skip-cloning-advancement-criteria.patch similarity index 100% rename from patches/server/0109-Skip-cloning-advancement-criteria.patch rename to patches/server/0108-Skip-cloning-advancement-criteria.patch diff --git a/patches/server/0110-Reduce-block-destruction-packet-allocations.patch b/patches/server/0109-Reduce-block-destruction-packet-allocations.patch similarity index 100% rename from patches/server/0110-Reduce-block-destruction-packet-allocations.patch rename to patches/server/0109-Reduce-block-destruction-packet-allocations.patch diff --git a/patches/server/0111-Send-set-head-rotation-packets-only-for-living-entit.patch b/patches/server/0110-Send-set-head-rotation-packets-only-for-living-entit.patch similarity index 100% rename from patches/server/0111-Send-set-head-rotation-packets-only-for-living-entit.patch rename to patches/server/0110-Send-set-head-rotation-packets-only-for-living-entit.patch diff --git a/patches/server/0112-Player-canSee-by-entity-UUID.patch b/patches/server/0111-Player-canSee-by-entity-UUID.patch similarity index 100% rename from patches/server/0112-Player-canSee-by-entity-UUID.patch rename to patches/server/0111-Player-canSee-by-entity-UUID.patch diff --git a/patches/server/0113-Spread-out-sending-all-player-info.patch b/patches/server/0112-Spread-out-sending-all-player-info.patch similarity index 100% rename from patches/server/0113-Spread-out-sending-all-player-info.patch rename to patches/server/0112-Spread-out-sending-all-player-info.patch diff --git a/patches/server/0114-Optimize-player-list-for-sending-player-info.patch b/patches/server/0113-Optimize-player-list-for-sending-player-info.patch similarity index 100% rename from patches/server/0114-Optimize-player-list-for-sending-player-info.patch rename to patches/server/0113-Optimize-player-list-for-sending-player-info.patch diff --git a/patches/server/0115-Skip-PlayerCommandSendEvent-if-there-are-no-listener.patch b/patches/server/0114-Skip-PlayerCommandSendEvent-if-there-are-no-listener.patch similarity index 100% rename from patches/server/0115-Skip-PlayerCommandSendEvent-if-there-are-no-listener.patch rename to patches/server/0114-Skip-PlayerCommandSendEvent-if-there-are-no-listener.patch diff --git a/patches/server/0116-Send-multiple-keep-alive-packets.patch b/patches/server/0115-Send-multiple-keep-alive-packets.patch similarity index 100% rename from patches/server/0116-Send-multiple-keep-alive-packets.patch rename to patches/server/0115-Send-multiple-keep-alive-packets.patch diff --git a/patches/server/0117-Make-slow-login-timeout-configurable.patch b/patches/server/0116-Make-slow-login-timeout-configurable.patch similarity index 100% rename from patches/server/0117-Make-slow-login-timeout-configurable.patch rename to patches/server/0116-Make-slow-login-timeout-configurable.patch diff --git a/patches/server/0118-Make-max-interaction-distance-configurable.patch b/patches/server/0117-Make-max-interaction-distance-configurable.patch similarity index 100% rename from patches/server/0118-Make-max-interaction-distance-configurable.patch rename to patches/server/0117-Make-max-interaction-distance-configurable.patch diff --git a/patches/server/0119-Load-portal-destination-chunk-before-entity-teleport.patch b/patches/server/0118-Load-portal-destination-chunk-before-entity-teleport.patch similarity index 100% rename from patches/server/0119-Load-portal-destination-chunk-before-entity-teleport.patch rename to patches/server/0118-Load-portal-destination-chunk-before-entity-teleport.patch diff --git a/patches/server/0120-Don-t-load-chunks-to-spawn-phantoms.patch b/patches/server/0119-Don-t-load-chunks-to-spawn-phantoms.patch similarity index 100% rename from patches/server/0120-Don-t-load-chunks-to-spawn-phantoms.patch rename to patches/server/0119-Don-t-load-chunks-to-spawn-phantoms.patch diff --git a/patches/server/0121-Don-t-load-chunks-to-activate-climbing-entities.patch b/patches/server/0120-Don-t-load-chunks-to-activate-climbing-entities.patch similarity index 100% rename from patches/server/0121-Don-t-load-chunks-to-activate-climbing-entities.patch rename to patches/server/0120-Don-t-load-chunks-to-activate-climbing-entities.patch diff --git a/patches/server/0122-Broadcast-crit-animations-as-the-entity-being-critte.patch b/patches/server/0121-Broadcast-crit-animations-as-the-entity-being-critte.patch similarity index 100% rename from patches/server/0122-Broadcast-crit-animations-as-the-entity-being-critte.patch rename to patches/server/0121-Broadcast-crit-animations-as-the-entity-being-critte.patch diff --git a/patches/server/0123-Ignore-null-legacy-structure-data.patch b/patches/server/0122-Ignore-null-legacy-structure-data.patch similarity index 100% rename from patches/server/0123-Ignore-null-legacy-structure-data.patch rename to patches/server/0122-Ignore-null-legacy-structure-data.patch diff --git a/patches/server/0124-Don-t-double-save-stored-user-lists.patch b/patches/server/0123-Don-t-double-save-stored-user-lists.patch similarity index 100% rename from patches/server/0124-Don-t-double-save-stored-user-lists.patch rename to patches/server/0123-Don-t-double-save-stored-user-lists.patch diff --git a/patches/server/0125-Skip-unnecessary-mob-spawning-computations.patch b/patches/server/0124-Skip-unnecessary-mob-spawning-computations.patch similarity index 100% rename from patches/server/0125-Skip-unnecessary-mob-spawning-computations.patch rename to patches/server/0124-Skip-unnecessary-mob-spawning-computations.patch diff --git a/patches/server/0126-Prevent-entities-random-strolling-into-non-ticking-c.patch b/patches/server/0125-Prevent-entities-random-strolling-into-non-ticking-c.patch similarity index 100% rename from patches/server/0126-Prevent-entities-random-strolling-into-non-ticking-c.patch rename to patches/server/0125-Prevent-entities-random-strolling-into-non-ticking-c.patch diff --git a/patches/server/0127-Do-not-place-player-in-world-if-kicked-before-being-.patch b/patches/server/0126-Do-not-place-player-in-world-if-kicked-before-being-.patch similarity index 100% rename from patches/server/0127-Do-not-place-player-in-world-if-kicked-before-being-.patch rename to patches/server/0126-Do-not-place-player-in-world-if-kicked-before-being-.patch diff --git a/patches/server/0128-CraftBukkit-UUID-to-world-map.patch b/patches/server/0127-CraftBukkit-UUID-to-world-map.patch similarity index 100% rename from patches/server/0128-CraftBukkit-UUID-to-world-map.patch rename to patches/server/0127-CraftBukkit-UUID-to-world-map.patch diff --git a/patches/server/0129-Global-EULA-file.patch b/patches/server/0128-Global-EULA-file.patch similarity index 100% rename from patches/server/0129-Global-EULA-file.patch rename to patches/server/0128-Global-EULA-file.patch diff --git a/patches/server/0130-Specific-interval-TPS-API.patch b/patches/server/0129-Specific-interval-TPS-API.patch similarity index 100% rename from patches/server/0130-Specific-interval-TPS-API.patch rename to patches/server/0129-Specific-interval-TPS-API.patch diff --git a/patches/server/0131-5-second-TPS-average.patch b/patches/server/0130-5-second-TPS-average.patch similarity index 100% rename from patches/server/0131-5-second-TPS-average.patch rename to patches/server/0130-5-second-TPS-average.patch diff --git a/patches/server/0132-Measure-last-tick-time.patch b/patches/server/0131-Measure-last-tick-time.patch similarity index 100% rename from patches/server/0132-Measure-last-tick-time.patch rename to patches/server/0131-Measure-last-tick-time.patch diff --git a/patches/server/0133-Last-tick-time-API.patch b/patches/server/0132-Last-tick-time-API.patch similarity index 100% rename from patches/server/0133-Last-tick-time-API.patch rename to patches/server/0132-Last-tick-time-API.patch diff --git a/patches/server/0134-Show-last-tick-time-in-tps-command.patch b/patches/server/0133-Show-last-tick-time-in-tps-command.patch similarity index 100% rename from patches/server/0134-Show-last-tick-time-in-tps-command.patch rename to patches/server/0133-Show-last-tick-time-in-tps-command.patch diff --git a/patches/server/0135-Increase-time-statistics-in-intervals.patch b/patches/server/0134-Increase-time-statistics-in-intervals.patch similarity index 100% rename from patches/server/0135-Increase-time-statistics-in-intervals.patch rename to patches/server/0134-Increase-time-statistics-in-intervals.patch diff --git a/patches/server/0136-For-collision-check-has-physics-before-same-vehicle.patch b/patches/server/0135-For-collision-check-has-physics-before-same-vehicle.patch similarity index 100% rename from patches/server/0136-For-collision-check-has-physics-before-same-vehicle.patch rename to patches/server/0135-For-collision-check-has-physics-before-same-vehicle.patch diff --git a/patches/server/0137-Skip-negligible-planar-movement-multiplication.patch b/patches/server/0136-Skip-negligible-planar-movement-multiplication.patch similarity index 100% rename from patches/server/0137-Skip-negligible-planar-movement-multiplication.patch rename to patches/server/0136-Skip-negligible-planar-movement-multiplication.patch diff --git a/patches/server/0138-Optimize-identical-item-checks.patch b/patches/server/0137-Optimize-identical-item-checks.patch similarity index 100% rename from patches/server/0138-Optimize-identical-item-checks.patch rename to patches/server/0137-Optimize-identical-item-checks.patch diff --git a/patches/server/0139-Reduce-RandomSource-instances.patch b/patches/server/0138-Reduce-RandomSource-instances.patch similarity index 100% rename from patches/server/0139-Reduce-RandomSource-instances.patch rename to patches/server/0138-Reduce-RandomSource-instances.patch diff --git a/patches/server/0140-Server-thread-priority-environment-variable.patch b/patches/server/0139-Server-thread-priority-environment-variable.patch similarity index 100% rename from patches/server/0140-Server-thread-priority-environment-variable.patch rename to patches/server/0139-Server-thread-priority-environment-variable.patch diff --git a/patches/server/0141-Thread-safety-annotations.patch b/patches/server/0140-Thread-safety-annotations.patch similarity index 100% rename from patches/server/0141-Thread-safety-annotations.patch rename to patches/server/0140-Thread-safety-annotations.patch diff --git a/patches/server/0142-CPU-cores-estimation.patch b/patches/server/0141-CPU-cores-estimation.patch similarity index 100% rename from patches/server/0142-CPU-cores-estimation.patch rename to patches/server/0141-CPU-cores-estimation.patch diff --git a/patches/server/0143-Mutex-utility.patch b/patches/server/0142-Mutex-utility.patch similarity index 100% rename from patches/server/0143-Mutex-utility.patch rename to patches/server/0142-Mutex-utility.patch diff --git a/patches/server/0144-Unterminable-executor-utility.patch b/patches/server/0143-Unterminable-executor-utility.patch similarity index 100% rename from patches/server/0144-Unterminable-executor-utility.patch rename to patches/server/0143-Unterminable-executor-utility.patch diff --git a/patches/server/0145-FIFO-concurrent-queue-utility.patch b/patches/server/0144-FIFO-concurrent-queue-utility.patch similarity index 100% rename from patches/server/0145-FIFO-concurrent-queue-utility.patch rename to patches/server/0144-FIFO-concurrent-queue-utility.patch diff --git a/patches/server/0146-Base-thread-pool.patch b/patches/server/0145-Base-thread-pool.patch similarity index 100% rename from patches/server/0146-Base-thread-pool.patch rename to patches/server/0145-Base-thread-pool.patch diff --git a/patches/server/0147-Non-blocking-PooledObjects.patch b/patches/server/0146-Non-blocking-PooledObjects.patch similarity index 100% rename from patches/server/0147-Non-blocking-PooledObjects.patch rename to patches/server/0146-Non-blocking-PooledObjects.patch