mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-28 01:10:35 +01:00
Remove 'fix Vanilla Minecart speed' patch (#10068)
The game uses 0.95d now
This commit is contained in:
parent
b4c9e7e5d4
commit
1e7dd72f15
778 changed files with 26 additions and 50 deletions
patches/server
0275-Fix-SpongeAbsortEvent-handling.patch0275-Use-Vanilla-Minecart-Speeds.patch0276-Don-t-allow-digging-into-unloaded-chunks.patch0277-Make-the-default-permission-message-configurable.patch0278-Prevent-rayTrace-from-loading-chunks.patch0279-Handle-Large-Packets-disconnecting-client.patch0280-force-entity-dismount-during-teleportation.patch0281-Add-more-Zombie-API.patch0282-Book-Size-Limits.patch0283-Add-PlayerConnectionCloseEvent.patch0284-Prevent-Enderman-from-loading-chunks.patch0285-Add-APIs-to-replace-OfflinePlayer-getLastPlayed.patch0286-Workaround-for-vehicle-tracking-issue-on-disconnect.patch0287-Dont-block-Player-remove-if-the-handle-is-a-custom-p.patch0288-BlockDestroyEvent.patch0289-Async-command-map-building.patch0290-Implement-Brigadier-Mojang-API.patch0291-Improve-exact-choice-recipe-ingredients.patch0292-Limit-Client-Sign-length-more.patch0293-Call-WhitelistToggleEvent-when-whitelist-is-toggled.patch0294-Handle-Oversized-Tile-Entities-in-chunks.patch0295-Entity-getEntitySpawnReason.patch0296-Optimize-Network-Manager-and-add-advanced-packet-sup.patch0297-Fire-event-on-GS4-query.patch0298-Implement-PlayerPostRespawnEvent.patch0299-don-t-go-below-0-for-pickupDelay-breaks-picking-up-i.patch0300-Server-Tick-Events.patch0301-PlayerDeathEvent-getItemsToKeep.patch0302-Optimize-Captured-TileEntity-Lookup.patch0303-Add-Heightmap-API.patch0304-Mob-Spawner-API-Enhancements.patch0305-Fix-CB-call-to-changed-postToMainThread-method.patch0306-Fix-sounds-when-item-frames-are-modified-MC-123450.patch0307-Implement-CraftBlockSoundGroup.patch0308-Configurable-Keep-Spawn-Loaded-range-per-world.patch0309-Allow-Saving-of-Oversized-Chunks.patch0310-Expose-the-internal-current-tick.patch0311-Fix-World-isChunkGenerated-calls.patch0312-Show-blockstate-location-if-we-failed-to-read-it.patch0313-Only-count-Natural-Spawned-mobs-towards-natural-spaw.patch0314-Configurable-projectile-relative-velocity.patch0315-offset-item-frame-ticking.patch0316-Fix-MC-158900.patch0317-Prevent-consuming-the-wrong-itemstack.patch0318-Dont-send-unnecessary-sign-update.patch0319-Add-option-to-disable-pillager-patrols.patch0320-Flat-bedrock-generator-settings.patch0321-Prevent-sync-chunk-loads-when-villagers-try-to-find-.patch0322-MC-145656-Fix-Follow-Range-Initial-Target.patch0323-Duplicate-UUID-Resolve-Option.patch0324-PlayerDeathEvent-shouldDropExperience.patch0325-Prevent-bees-loading-chunks-checking-hive-position.patch0326-Don-t-load-Chunks-from-Hoppers-and-other-things.patch0327-Optimise-EntityGetter-getPlayerByUUID.patch0328-Fix-items-not-falling-correctly.patch0329-Optimize-call-to-getFluid-for-explosions.patch0330-Fix-last-firework-in-stack-not-having-effects-when-d.patch0331-Entity-Activation-Range-2.0.patch0332-Guard-against-serializing-mismatching-chunk-coordina.patch0333-Implement-alternative-item-despawn-rate.patch0334-Tracking-Range-Improvements.patch0335-Fix-items-vanishing-through-end-portal.patch0336-implement-optional-per-player-mob-spawns.patch0337-Anti-Xray.patch0338-Bees-get-gravity-in-void.-Fixes-MC-167279.patch0339-Improve-Block-breakNaturally-API.patch0340-Optimise-getChunkAt-calls-for-loaded-chunks.patch0341-Add-debug-for-sync-chunk-loads.patch0342-Improve-java-version-check.patch0343-Add-ThrownEggHatchEvent.patch0344-Entity-Jump-API.patch0345-Add-option-to-nerf-pigmen-from-nether-portals.patch0346-Make-the-GUI-graph-fancier.patch0347-add-hand-to-BlockMultiPlaceEvent.patch0348-Validate-tripwire-hook-placement-before-update.patch0349-Add-option-to-allow-iron-golems-to-spawn-in-air.patch0350-Configurable-chance-of-villager-zombie-infection.patch0351-Optimise-Chunk-getFluid.patch0352-Set-spigots-verbose-world-setting-to-false-by-def.patch0353-Add-tick-times-API-and-mspt-command.patch0354-Expose-MinecraftServer-isRunning.patch0355-Add-Raw-Byte-ItemStack-Serialization.patch0356-Pillager-patrol-spawn-settings-and-per-player-option.patch0357-Remote-Connections-shouldn-t-hold-up-shutdown.patch0358-Do-not-allow-bees-to-load-chunks-for-beehives.patch0359-Prevent-Double-PlayerChunkMap-adds-crashing-server.patch0360-Don-t-tick-dead-players.patch0361-Dead-Player-s-shouldn-t-be-able-to-move.patch0362-Optimize-Collision-to-not-load-chunks.patch0363-Don-t-move-existing-players-to-world-spawn.patch0364-Optimize-GoalSelector-Goal.Flag-Set-operations.patch0365-Improved-Watchdog-Support.patch0366-Optimize-Pathfinding.patch0367-Reduce-Either-Optional-allocation.patch0368-Reduce-memory-footprint-of-NBTTagCompound.patch0369-Prevent-opening-inventories-when-frozen.patch0370-Don-t-run-entity-collision-code-if-not-needed.patch0371-Implement-Player-Client-Options-API.patch0372-Don-t-crash-if-player-is-attempted-to-be-removed-fro.patch0373-Fix-Longstanding-Broken-behavior-of-PlayerJoinEvent.patch
|
@ -1,24 +0,0 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Aikar <aikar@aikar.co>
|
||||
Date: Thu, 8 Nov 2018 21:33:09 -0500
|
||||
Subject: [PATCH] Use Vanilla Minecart Speeds
|
||||
|
||||
CraftBukkit changed the values on flying speed, restore back to vanilla
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/world/entity/vehicle/AbstractMinecart.java b/src/main/java/net/minecraft/world/entity/vehicle/AbstractMinecart.java
|
||||
index e390735d411d815dcc4591da58db7017452acf31..b09c4e2a36f653ff6aa0e2c0bc927a8fd7e41ae0 100644
|
||||
--- a/src/main/java/net/minecraft/world/entity/vehicle/AbstractMinecart.java
|
||||
+++ b/src/main/java/net/minecraft/world/entity/vehicle/AbstractMinecart.java
|
||||
@@ -101,9 +101,9 @@ public abstract class AbstractMinecart extends VehicleEntity {
|
||||
private double derailedX = 0.5;
|
||||
private double derailedY = 0.5;
|
||||
private double derailedZ = 0.5;
|
||||
- private double flyingX = 0.95;
|
||||
- private double flyingY = 0.95;
|
||||
- private double flyingZ = 0.95;
|
||||
+ private double flyingX = 0.949999988079071D; // Paper - restore vanilla precision
|
||||
+ private double flyingY = 0.949999988079071D; // Paper - restore vanilla precision
|
||||
+ private double flyingZ = 0.949999988079071D; // Paper - restore vanilla precision
|
||||
public double maxSpeed = 0.4D;
|
||||
// CraftBukkit end
|
||||
|
|
@ -10,7 +10,7 @@ Adds CommandRegisteredEvent
|
|||
- Allows manipulating the CommandNode to add more children/metadata for the client
|
||||
|
||||
diff --git a/build.gradle.kts b/build.gradle.kts
|
||||
index 18613ca4e029dc5a514401753b850b442ae45bbf..5106a0e7c7d7f390fa439ca9a14dea94a5764402 100644
|
||||
index b2db0b51895200fc870e536ea97886db3d7a763c..6acb1f37f4c5cb1addd835626041cd3c28eb842f 100644
|
||||
--- a/build.gradle.kts
|
||||
+++ b/build.gradle.kts
|
||||
@@ -14,6 +14,7 @@ val alsoShade: Configuration by configurations.creating
|
|
@ -5,7 +5,7 @@ Subject: [PATCH] Dont send unnecessary sign update
|
|||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/world/level/block/entity/SignBlockEntity.java b/src/main/java/net/minecraft/world/level/block/entity/SignBlockEntity.java
|
||||
index 2d230e1f56be70f6373421c0649b0b9d3f2702e8..725a921c7c8ce458d073333d6a9e8e316dbd6ea8 100644
|
||||
index a822b190aeee1d644c3509bb75106fa4dfdd963f..1a54db9f8b2fb3071e79ec26c49242b528b8cd9e 100644
|
||||
--- a/src/main/java/net/minecraft/world/level/block/entity/SignBlockEntity.java
|
||||
+++ b/src/main/java/net/minecraft/world/level/block/entity/SignBlockEntity.java
|
||||
@@ -184,6 +184,7 @@ public class SignBlockEntity extends BlockEntity implements CommandSource { // C
|
|
@ -6,7 +6,7 @@ Subject: [PATCH] Improve java version check
|
|||
Co-Authored-By: MiniDigger <admin@benndorf.dev>
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||
index bb2ed43dccac698ea7265739bc1ed253f345d314..17d74aa6d857e49b61f5aed30be2b17be871df4c 100644
|
||||
index ebfebbb9b7de93dd43ee6d0531832a71f8556d33..fdce27bbd60897e7584db627b5f9ff32c930cd78 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||
@@ -201,23 +201,27 @@ public class Main {
|
|
@ -320,7 +320,7 @@ index 12834995b2bab9e82a40feb01f038532961296cf..12af77215bfd6df3b6802a567ac3c013
|
|||
final String msg = String.format("BlockEntity threw exception at %s:%s,%s,%s", LevelChunk.this.getLevel().getWorld().getName(), this.getPos().getX(), this.getPos().getY(), this.getPos().getZ());
|
||||
net.minecraft.server.MinecraftServer.LOGGER.error(msg, throwable);
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||
index 17d74aa6d857e49b61f5aed30be2b17be871df4c..ff16522a4ae4e0cb32f4c6b919bcaffc4507dfe8 100644
|
||||
index fdce27bbd60897e7584db627b5f9ff32c930cd78..fa9c17c49a17b8325a7510316de89e3ff3b6f1cf 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||
@@ -179,6 +179,36 @@ public class Main {
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue