Make certain game mechanics configurable
Boat drops and rail placement at this time
Dieser Commit ist enthalten in:
Ursprung
25c5c2cb16
Commit
20973ffd0f
@ -1,4 +1,4 @@
|
|||||||
From 4d27753cb0ac3a0478d4ed812756ebea206810ca Mon Sep 17 00:00:00 2001
|
From c9b0f38fcb015f0c1b7e8fb73eb0c71f5ed31b61 Mon Sep 17 00:00:00 2001
|
||||||
From: gsand <gsandowns@gmail.com>
|
From: gsand <gsandowns@gmail.com>
|
||||||
Date: Tue, 5 Aug 2014 17:31:07 -0500
|
Date: Tue, 5 Aug 2014 17:31:07 -0500
|
||||||
Subject: [PATCH] Inverted Daylight Detector Toggle
|
Subject: [PATCH] Inverted Daylight Detector Toggle
|
@ -1,63 +0,0 @@
|
|||||||
From 2061a29a13433a363db267060f55d7190c5752d4 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Zach Brown <Zbob750@live.com>
|
|
||||||
Date: Fri, 30 May 2014 19:42:50 -0500
|
|
||||||
Subject: [PATCH] Make destroyed boats drop the boat item
|
|
||||||
|
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/server/EntityBoat.java b/src/main/java/net/minecraft/server/EntityBoat.java
|
|
||||||
index c9f2b13..5a9a527 100644
|
|
||||||
--- a/src/main/java/net/minecraft/server/EntityBoat.java
|
|
||||||
+++ b/src/main/java/net/minecraft/server/EntityBoat.java
|
|
||||||
@@ -337,13 +337,19 @@ public class EntityBoat extends Entity {
|
|
||||||
if (!destroyEvent.isCancelled()) {
|
|
||||||
this.die();
|
|
||||||
|
|
||||||
- for (k = 0; k < 3; ++k) {
|
|
||||||
- this.a(Item.getItemOf(Blocks.WOOD), 1, 0.0F);
|
|
||||||
- }
|
|
||||||
+ // PaperSpigot start - Boats should drop boats!!!11
|
|
||||||
+ //for (k = 0; k < 3; ++k) {
|
|
||||||
+ // this.a(Item.getItemOf(Blocks.WOOD), 1, 0.0F);
|
|
||||||
+ //}
|
|
||||||
+
|
|
||||||
+ //for (k = 0; k < 2; ++k) {
|
|
||||||
+ // this.a(Items.STICK, 1, 0.0F);
|
|
||||||
+ //}
|
|
||||||
|
|
||||||
- for (k = 0; k < 2; ++k) {
|
|
||||||
- this.a(Items.STICK, 1, 0.0F);
|
|
||||||
+ for (k = 0; k < 1; ++k) {
|
|
||||||
+ this.a(Items.BOAT, 1, 0.0F);
|
|
||||||
}
|
|
||||||
+ // PaperSpigot end
|
|
||||||
}
|
|
||||||
// CraftBukkit end
|
|
||||||
}
|
|
||||||
@@ -454,13 +460,19 @@ public class EntityBoat extends Entity {
|
|
||||||
|
|
||||||
int l;
|
|
||||||
|
|
||||||
- for (l = 0; l < 3; ++l) {
|
|
||||||
- this.a(Item.getItemOf(Blocks.WOOD), 1, 0.0F);
|
|
||||||
- }
|
|
||||||
+ // PaperSpigot start - Boats should drop boats!!!11
|
|
||||||
+ //for (l = 0; l < 3; ++l) {
|
|
||||||
+ // this.a(Item.getItemOf(Blocks.WOOD), 1, 0.0F);
|
|
||||||
+ //}
|
|
||||||
+
|
|
||||||
+ //for (l = 0; l < 2; ++l) {
|
|
||||||
+ // this.a(Items.STICK, 1, 0.0F);
|
|
||||||
+ //}
|
|
||||||
|
|
||||||
- for (l = 0; l < 2; ++l) {
|
|
||||||
- this.a(Items.STICK, 1, 0.0F);
|
|
||||||
+ for (l = 0; l < 1; ++l) {
|
|
||||||
+ this.a(Items.BOAT, 1, 0.0F);
|
|
||||||
}
|
|
||||||
+ // PaperSpigot end
|
|
||||||
}
|
|
||||||
// CraftBukkit end
|
|
||||||
}
|
|
||||||
--
|
|
||||||
1.9.1
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
From ea2ab58dbe50e2e9fb276de0e41d67daebfdc692 Mon Sep 17 00:00:00 2001
|
From 524020b85b36ea7e052ecb8a3d789d859b84660b Mon Sep 17 00:00:00 2001
|
||||||
From: Zach Brown <Zbob750@live.com>
|
From: Zach Brown <Zbob750@live.com>
|
||||||
Date: Tue, 10 Jun 2014 18:22:19 -0500
|
Date: Tue, 10 Jun 2014 18:22:19 -0500
|
||||||
Subject: [PATCH] Add 1.8 recipes for stone variants
|
Subject: [PATCH] Add 1.8 recipes for stone variants
|
@ -1,4 +1,4 @@
|
|||||||
From 1ef0a28bb134bad8a4cab88ebb2669baad054bf6 Mon Sep 17 00:00:00 2001
|
From 78b47c601829196323f63810551203efb2620d88 Mon Sep 17 00:00:00 2001
|
||||||
From: Zach Brown <Zbob750@live.com>
|
From: Zach Brown <Zbob750@live.com>
|
||||||
Date: Tue, 5 Aug 2014 17:39:04 -0500
|
Date: Tue, 5 Aug 2014 17:39:04 -0500
|
||||||
Subject: [PATCH] Ability to disable asynccatcher
|
Subject: [PATCH] Ability to disable asynccatcher
|
@ -1,4 +1,4 @@
|
|||||||
From e1365873f29fd564719f3edda9818253495dd854 Mon Sep 17 00:00:00 2001
|
From 4db0e372257fed81cb8d2d465a81efc04131d18f Mon Sep 17 00:00:00 2001
|
||||||
From: Iceee <andrew@opticgaming.tv>
|
From: Iceee <andrew@opticgaming.tv>
|
||||||
Date: Thu, 12 Jun 2014 13:37:35 -0500
|
Date: Thu, 12 Jun 2014 13:37:35 -0500
|
||||||
Subject: [PATCH] Fix redstone lag issues
|
Subject: [PATCH] Fix redstone lag issues
|
@ -1,4 +1,4 @@
|
|||||||
From 6bc5365f98ebcf49bdf6722b3c09e772472d88f1 Mon Sep 17 00:00:00 2001
|
From 82f4ed7a6fe9063beefe686c260e01c703313633 Mon Sep 17 00:00:00 2001
|
||||||
From: T00thpick1 <t00thpick1dirko@gmail.com>
|
From: T00thpick1 <t00thpick1dirko@gmail.com>
|
||||||
Date: Mon, 23 Jun 2014 21:37:24 -0500
|
Date: Mon, 23 Jun 2014 21:37:24 -0500
|
||||||
Subject: [PATCH] Do not remove player in world change
|
Subject: [PATCH] Do not remove player in world change
|
@ -1,11 +1,11 @@
|
|||||||
From 5976ecf2a73580d4526173250e84235e7688f509 Mon Sep 17 00:00:00 2001
|
From dd64547b4501439260882f51130504ecd449e651 Mon Sep 17 00:00:00 2001
|
||||||
From: Zach Brown <Zbob750@live.com>
|
From: Zach Brown <Zbob750@live.com>
|
||||||
Date: Fri, 11 Jul 2014 03:54:06 -0500
|
Date: Fri, 11 Jul 2014 03:54:06 -0500
|
||||||
Subject: [PATCH] Fix directional TNT bias
|
Subject: [PATCH] Fix directional TNT bias
|
||||||
|
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/server/EntityTNTPrimed.java b/src/main/java/net/minecraft/server/EntityTNTPrimed.java
|
diff --git a/src/main/java/net/minecraft/server/EntityTNTPrimed.java b/src/main/java/net/minecraft/server/EntityTNTPrimed.java
|
||||||
index 13cbc79..8ca4300 100644
|
index 2214660..1f98f8d 100644
|
||||||
--- a/src/main/java/net/minecraft/server/EntityTNTPrimed.java
|
--- a/src/main/java/net/minecraft/server/EntityTNTPrimed.java
|
||||||
+++ b/src/main/java/net/minecraft/server/EntityTNTPrimed.java
|
+++ b/src/main/java/net/minecraft/server/EntityTNTPrimed.java
|
||||||
@@ -19,11 +19,11 @@ public class EntityTNTPrimed extends Entity {
|
@@ -19,11 +19,11 @@ public class EntityTNTPrimed extends Entity {
|
@ -1,4 +1,4 @@
|
|||||||
From 39e9a4a5740484b1ade5cbb41cc445613cda057b Mon Sep 17 00:00:00 2001
|
From 9a0edbdf905d6b3068a5fff20af4522dac3d9301 Mon Sep 17 00:00:00 2001
|
||||||
From: Zach Brown <Zbob750@live.com>
|
From: Zach Brown <Zbob750@live.com>
|
||||||
Date: Tue, 24 Jun 2014 22:55:30 -0500
|
Date: Tue, 24 Jun 2014 22:55:30 -0500
|
||||||
Subject: [PATCH] Fix zombie sieges and their spawn mechanics
|
Subject: [PATCH] Fix zombie sieges and their spawn mechanics
|
@ -1,11 +1,11 @@
|
|||||||
From 117d035fae9747b3caa7d77448cebb4f1828bb8d Mon Sep 17 00:00:00 2001
|
From 07dca9a9864ad7237634a4ca23ed229ea0ba5b5b Mon Sep 17 00:00:00 2001
|
||||||
From: Zach Brown <Zbob750@live.com>
|
From: Zach Brown <Zbob750@live.com>
|
||||||
Date: Tue, 5 Aug 2014 17:49:02 -0500
|
Date: Tue, 5 Aug 2014 17:49:02 -0500
|
||||||
Subject: [PATCH] Configurable fishing time ranges
|
Subject: [PATCH] Configurable fishing time ranges
|
||||||
|
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/server/EntityFishingHook.java b/src/main/java/net/minecraft/server/EntityFishingHook.java
|
diff --git a/src/main/java/net/minecraft/server/EntityFishingHook.java b/src/main/java/net/minecraft/server/EntityFishingHook.java
|
||||||
index 197dca1..7d0fda6 100644
|
index 9d4ea60..0fc1e85 100644
|
||||||
--- a/src/main/java/net/minecraft/server/EntityFishingHook.java
|
--- a/src/main/java/net/minecraft/server/EntityFishingHook.java
|
||||||
+++ b/src/main/java/net/minecraft/server/EntityFishingHook.java
|
+++ b/src/main/java/net/minecraft/server/EntityFishingHook.java
|
||||||
@@ -315,7 +315,8 @@ public class EntityFishingHook extends Entity {
|
@@ -315,7 +315,8 @@ public class EntityFishingHook extends Entity {
|
@ -1,4 +1,4 @@
|
|||||||
From 8ba29cb16f8d0f9bcbcafbd398f66aaf72326b23 Mon Sep 17 00:00:00 2001
|
From 109aa46544af611045286e27a6653995eff5f58b Mon Sep 17 00:00:00 2001
|
||||||
From: Zach Brown <Zbob750@live.com>
|
From: Zach Brown <Zbob750@live.com>
|
||||||
Date: Sun, 29 Jun 2014 13:32:36 -0500
|
Date: Sun, 29 Jun 2014 13:32:36 -0500
|
||||||
Subject: [PATCH] Allow nerfed mobs to jump
|
Subject: [PATCH] Allow nerfed mobs to jump
|
@ -1,11 +1,11 @@
|
|||||||
From 834a42d90501c4711a915d35b1a5df45212296dc Mon Sep 17 00:00:00 2001
|
From d9da9e413d37e05c22ac1568c4ac65ad9df12b20 Mon Sep 17 00:00:00 2001
|
||||||
From: Zach Brown <Zbob750@live.com>
|
From: Zach Brown <Zbob750@live.com>
|
||||||
Date: Tue, 5 Aug 2014 17:56:02 -0500
|
Date: Tue, 5 Aug 2014 17:56:02 -0500
|
||||||
Subject: [PATCH] Toggle for player interact limiter
|
Subject: [PATCH] Toggle for player interact limiter
|
||||||
|
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
|
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||||
index 188393c..0987b90 100644
|
index 10faa8c..26ce4ed 100644
|
||||||
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
|
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||||
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
|
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||||
@@ -581,7 +581,8 @@ public class PlayerConnection implements PacketPlayInListener {
|
@@ -581,7 +581,8 @@ public class PlayerConnection implements PacketPlayInListener {
|
@ -1,4 +1,4 @@
|
|||||||
From 413a2db4e6968e7c3f618f7abdc6aa7c6641340b Mon Sep 17 00:00:00 2001
|
From e7e389c145935280c12f237ba33e2ede2f89b10b Mon Sep 17 00:00:00 2001
|
||||||
From: gsand <gsandowns@gmail.com>
|
From: gsand <gsandowns@gmail.com>
|
||||||
Date: Sun, 17 Aug 2014 16:40:54 -0500
|
Date: Sun, 17 Aug 2014 16:40:54 -0500
|
||||||
Subject: [PATCH] Player Exhaustion Multipliers
|
Subject: [PATCH] Player Exhaustion Multipliers
|
@ -1,4 +1,4 @@
|
|||||||
From e624fffa541916f7aca5bda6885d8f02b5a7c597 Mon Sep 17 00:00:00 2001
|
From e3736087c549f4992576f0ed4bfaad5d8ce9776e Mon Sep 17 00:00:00 2001
|
||||||
From: Suddenly <suddenly@suddenly.coffee>
|
From: Suddenly <suddenly@suddenly.coffee>
|
||||||
Date: Mon, 7 Jul 2014 04:11:34 +0100
|
Date: Mon, 7 Jul 2014 04:11:34 +0100
|
||||||
Subject: [PATCH] Add configurable despawn distances for living entities
|
Subject: [PATCH] Add configurable despawn distances for living entities
|
@ -1,4 +1,4 @@
|
|||||||
From 02810be39c90969e1bddb98ce902d19063d53171 Mon Sep 17 00:00:00 2001
|
From 5846639b4009856d9ed0400fa2d242fb586be668 Mon Sep 17 00:00:00 2001
|
||||||
From: Dmck2b <itallhappenedverysuddenly@gmail.com>
|
From: Dmck2b <itallhappenedverysuddenly@gmail.com>
|
||||||
Date: Thu, 10 Jul 2014 16:57:10 +0100
|
Date: Thu, 10 Jul 2014 16:57:10 +0100
|
||||||
Subject: [PATCH] Allow for toggling of spawn chunks
|
Subject: [PATCH] Allow for toggling of spawn chunks
|
@ -1,4 +1,4 @@
|
|||||||
From 4784e3e92058a9092fbbcc9d8b6a023ef6c31623 Mon Sep 17 00:00:00 2001
|
From 55cca3b8a7074e826b20d9cd004400ad6aced9d6 Mon Sep 17 00:00:00 2001
|
||||||
From: Zach Brown <Zbob750@live.com>
|
From: Zach Brown <Zbob750@live.com>
|
||||||
Date: Tue, 8 Jul 2014 22:39:41 -0500
|
Date: Tue, 8 Jul 2014 22:39:41 -0500
|
||||||
Subject: [PATCH] Better EULA handling
|
Subject: [PATCH] Better EULA handling
|
@ -1,4 +1,4 @@
|
|||||||
From 8b0d449cb76d89090aae4723793e9d58a5301d72 Mon Sep 17 00:00:00 2001
|
From a9b4a5ea623ce31c33c2362459589ce7888137a6 Mon Sep 17 00:00:00 2001
|
||||||
From: Zach Brown <Zbob750@live.com>
|
From: Zach Brown <Zbob750@live.com>
|
||||||
Date: Tue, 22 Jul 2014 21:52:19 -0500
|
Date: Tue, 22 Jul 2014 21:52:19 -0500
|
||||||
Subject: [PATCH] Fix random position generator tendency to move north west
|
Subject: [PATCH] Fix random position generator tendency to move north west
|
@ -1,4 +1,4 @@
|
|||||||
From 282c195a7be0f610136d9d068558399d6a4df4ab Mon Sep 17 00:00:00 2001
|
From 309b3c0831fda8cce0efb4d8787a3de214c2647c Mon Sep 17 00:00:00 2001
|
||||||
From: Byteflux <byte@byteflux.net>
|
From: Byteflux <byte@byteflux.net>
|
||||||
Date: Tue, 5 Aug 2014 18:39:57 -0500
|
Date: Tue, 5 Aug 2014 18:39:57 -0500
|
||||||
Subject: [PATCH] Drop falling block entities that are above the specified
|
Subject: [PATCH] Drop falling block entities that are above the specified
|
@ -1,4 +1,4 @@
|
|||||||
From 0fca3bbe6aed83859a5b107f58c74ee936f5736f Mon Sep 17 00:00:00 2001
|
From 897c5080d8ebb7ebbd3e9724d516a881f63d4997 Mon Sep 17 00:00:00 2001
|
||||||
From: Byteflux <byte@byteflux.net>
|
From: Byteflux <byte@byteflux.net>
|
||||||
Date: Sun, 3 Aug 2014 21:20:42 -0500
|
Date: Sun, 3 Aug 2014 21:20:42 -0500
|
||||||
Subject: [PATCH] Configurable speed for water flowing over lava
|
Subject: [PATCH] Configurable speed for water flowing over lava
|
@ -1,4 +1,4 @@
|
|||||||
From 8260d6efa8936d75822c4b324ecae9e4ac299033 Mon Sep 17 00:00:00 2001
|
From 8cad240c921709616da608af0737c1d7507dbca7 Mon Sep 17 00:00:00 2001
|
||||||
From: Jedediah Smith <jedediah@silencegreys.com>
|
From: Jedediah Smith <jedediah@silencegreys.com>
|
||||||
Date: Wed, 6 Aug 2014 18:17:41 -0500
|
Date: Wed, 6 Aug 2014 18:17:41 -0500
|
||||||
Subject: [PATCH] Center TNT grid sample points
|
Subject: [PATCH] Center TNT grid sample points
|
@ -1,4 +1,4 @@
|
|||||||
From e825ea4fb252c3e02b6f32af9b1e08e27c328172 Mon Sep 17 00:00:00 2001
|
From 63eabb4da69bdf01854b63c4ee9af7a744a1a9a1 Mon Sep 17 00:00:00 2001
|
||||||
From: Jedediah Smith <jedediah@silencegreys.com>
|
From: Jedediah Smith <jedediah@silencegreys.com>
|
||||||
Date: Sun, 21 Sep 2014 22:02:02 -0500
|
Date: Sun, 21 Sep 2014 22:02:02 -0500
|
||||||
Subject: [PATCH] Player affects spawning API
|
Subject: [PATCH] Player affects spawning API
|
@ -1,4 +1,4 @@
|
|||||||
From f37e6f3216b169882a186764475131f3af1481ab Mon Sep 17 00:00:00 2001
|
From 86853911cac991344a4c79a4cee9de10b8651ed3 Mon Sep 17 00:00:00 2001
|
||||||
From: Zach Brown <Zbob750@live.com>
|
From: Zach Brown <Zbob750@live.com>
|
||||||
Date: Tue, 19 Aug 2014 14:21:37 -0500
|
Date: Tue, 19 Aug 2014 14:21:37 -0500
|
||||||
Subject: [PATCH] Show 'PaperSpigot' in client crashes, server lists, and
|
Subject: [PATCH] Show 'PaperSpigot' in client crashes, server lists, and
|
@ -1,4 +1,4 @@
|
|||||||
From dd86a4e2b6efc65d344357aa91d81245346fb0d7 Mon Sep 17 00:00:00 2001
|
From dbcc9a05f4b14d5d5e6d77c7d3bba53d134d575c Mon Sep 17 00:00:00 2001
|
||||||
From: Zach Brown <Zbob750@live.com>
|
From: Zach Brown <Zbob750@live.com>
|
||||||
Date: Tue, 19 Aug 2014 14:25:40 -0500
|
Date: Tue, 19 Aug 2014 14:25:40 -0500
|
||||||
Subject: [PATCH] RIP metrics
|
Subject: [PATCH] RIP metrics
|
||||||
@ -657,7 +657,7 @@ index d9c3b63..0000000
|
|||||||
-}
|
-}
|
||||||
\ No newline at end of file
|
\ No newline at end of file
|
||||||
diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java
|
diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java
|
||||||
index 3d089dc..211fb6e 100644
|
index 3459d87..9fbf21f 100644
|
||||||
--- a/src/main/java/org/spigotmc/SpigotConfig.java
|
--- a/src/main/java/org/spigotmc/SpigotConfig.java
|
||||||
+++ b/src/main/java/org/spigotmc/SpigotConfig.java
|
+++ b/src/main/java/org/spigotmc/SpigotConfig.java
|
||||||
@@ -48,7 +48,6 @@ public class SpigotConfig
|
@@ -48,7 +48,6 @@ public class SpigotConfig
|
@ -1,4 +1,4 @@
|
|||||||
From 4e8f6f02b5c941a718f1a60e31a198e3ac717cad Mon Sep 17 00:00:00 2001
|
From 0c4d3daad8180e670e800360fe2f25d15f79b544 Mon Sep 17 00:00:00 2001
|
||||||
From: Byteflux <byte@byteflux.net>
|
From: Byteflux <byte@byteflux.net>
|
||||||
Date: Tue, 19 Aug 2014 14:51:28 -0500
|
Date: Tue, 19 Aug 2014 14:51:28 -0500
|
||||||
Subject: [PATCH] Remove invalid mob spawner tile entities
|
Subject: [PATCH] Remove invalid mob spawner tile entities
|
@ -1,4 +1,4 @@
|
|||||||
From 6e7a139066c3fd9fa5274045d80aede527b636ab Mon Sep 17 00:00:00 2001
|
From f7a916d804a0d98856017ad2cd6904c34db9f19f Mon Sep 17 00:00:00 2001
|
||||||
From: Aikar <aikar@aikar.co>
|
From: Aikar <aikar@aikar.co>
|
||||||
Date: Sun, 24 Aug 2014 21:35:11 -0400
|
Date: Sun, 24 Aug 2014 21:35:11 -0400
|
||||||
Subject: [PATCH] Optimize TileEntity Ticking
|
Subject: [PATCH] Optimize TileEntity Ticking
|
||||||
@ -103,7 +103,7 @@ index 33c228b..3bf2af0 100644
|
|||||||
public List players = new ArrayList();
|
public List players = new ArrayList();
|
||||||
diff --git a/src/main/java/org/spigotmc/WorldTileEntityList.java b/src/main/java/org/spigotmc/WorldTileEntityList.java
|
diff --git a/src/main/java/org/spigotmc/WorldTileEntityList.java b/src/main/java/org/spigotmc/WorldTileEntityList.java
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..4e6b762
|
index 0000000..e7fd3d3
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/main/java/org/spigotmc/WorldTileEntityList.java
|
+++ b/src/main/java/org/spigotmc/WorldTileEntityList.java
|
||||||
@@ -0,0 +1,174 @@
|
@@ -0,0 +1,174 @@
|
@ -1,4 +1,4 @@
|
|||||||
From 459bd528d5385f71580b40a3cd894c1bd8197520 Mon Sep 17 00:00:00 2001
|
From a887cb0c9a96e9f90b3c2b31850fe06bd019c0d5 Mon Sep 17 00:00:00 2001
|
||||||
From: Iceee <andrew@opticgaming.tv>
|
From: Iceee <andrew@opticgaming.tv>
|
||||||
Date: Mon, 11 Aug 2014 23:03:47 -0500
|
Date: Mon, 11 Aug 2014 23:03:47 -0500
|
||||||
Subject: [PATCH] Move sound handling out of the chest tick loop
|
Subject: [PATCH] Move sound handling out of the chest tick loop
|
@ -1,4 +1,4 @@
|
|||||||
From e9abda4da1c1e4c264b6f7e9ae5e861e5006a6e9 Mon Sep 17 00:00:00 2001
|
From 2d0a853d87d4c3b51d32cb8e1d8ba78da32a1b41 Mon Sep 17 00:00:00 2001
|
||||||
From: Iceee <andrew@opticgaming.tv>
|
From: Iceee <andrew@opticgaming.tv>
|
||||||
Date: Fri, 29 Aug 2014 20:33:52 -0500
|
Date: Fri, 29 Aug 2014 20:33:52 -0500
|
||||||
Subject: [PATCH] Remove specific entities that fly through an unloaded chunk
|
Subject: [PATCH] Remove specific entities that fly through an unloaded chunk
|
@ -1,4 +1,4 @@
|
|||||||
From 78ba8b100ca7bc2d828c055e28cc37e2660dbe56 Mon Sep 17 00:00:00 2001
|
From d44dc1fcfe556710513b393b70f2626e705a41e2 Mon Sep 17 00:00:00 2001
|
||||||
From: Zach Brown <Zbob750@live.com>
|
From: Zach Brown <Zbob750@live.com>
|
||||||
Date: Sun, 31 Aug 2014 12:13:32 -0500
|
Date: Sun, 31 Aug 2014 12:13:32 -0500
|
||||||
Subject: [PATCH] Configurable strength and weakness effect modifiers
|
Subject: [PATCH] Configurable strength and weakness effect modifiers
|
||||||
@ -43,5 +43,5 @@ index 25a94a6..a7b18e4 100644
|
|||||||
+ }
|
+ }
|
||||||
}
|
}
|
||||||
--
|
--
|
||||||
1.9.4.msysgit.1
|
1.9.1
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
From 344248bcdb3a81dca026e29d05ac86f141bb20b0 Mon Sep 17 00:00:00 2001
|
From 2dd27493a7bfd7ab89aec74f16473575e64f93e6 Mon Sep 17 00:00:00 2001
|
||||||
From: Dmck2b <suddenly@suddenly.coffee>
|
From: Dmck2b <suddenly@suddenly.coffee>
|
||||||
Date: Sun, 31 Aug 2014 18:12:10 +0100
|
Date: Sun, 31 Aug 2014 18:12:10 +0100
|
||||||
Subject: [PATCH] Temporary fix for rails dupe
|
Subject: [PATCH] Temporary fix for rails dupe
|
@ -1,4 +1,4 @@
|
|||||||
From 79c45681c2eba1a6a46e4b68c02139a356c06ac6 Mon Sep 17 00:00:00 2001
|
From ca6ee3b8411b8059ae664b8e5178cf179b49f80c Mon Sep 17 00:00:00 2001
|
||||||
From: Zach Brown <Zbob750@live.com>
|
From: Zach Brown <Zbob750@live.com>
|
||||||
Date: Sun, 21 Sep 2014 22:10:16 -0500
|
Date: Sun, 21 Sep 2014 22:10:16 -0500
|
||||||
Subject: [PATCH] PaperSpigot protocol warning
|
Subject: [PATCH] PaperSpigot protocol warning
|
@ -1,4 +1,4 @@
|
|||||||
From d93d9459ceaa2f5a46874bee309edc3409df721b Mon Sep 17 00:00:00 2001
|
From 8b4d0c8819ed092045e579c6cdfb854e44af037f Mon Sep 17 00:00:00 2001
|
||||||
From: Byteflux <byte@byteflux.net>
|
From: Byteflux <byte@byteflux.net>
|
||||||
Date: Sat, 13 Sep 2014 02:23:56 -0700
|
Date: Sat, 13 Sep 2014 02:23:56 -0700
|
||||||
Subject: [PATCH] Backwards compatible PacketPlayOutEntityTeleport constructor
|
Subject: [PATCH] Backwards compatible PacketPlayOutEntityTeleport constructor
|
@ -1,4 +1,4 @@
|
|||||||
From 157babb3ad74bf4f148b50f07f0112775b845130 Mon Sep 17 00:00:00 2001
|
From c6bcae3d4cf7234371b1a75dceba995b8a82713f Mon Sep 17 00:00:00 2001
|
||||||
From: Aikar <aikar@aikar.co>
|
From: Aikar <aikar@aikar.co>
|
||||||
Date: Sun, 19 Oct 2014 15:56:39 -0500
|
Date: Sun, 19 Oct 2014 15:56:39 -0500
|
||||||
Subject: [PATCH] Further improve server tick loop
|
Subject: [PATCH] Further improve server tick loop
|
@ -1,4 +1,4 @@
|
|||||||
From 2ee5580338ca7624f1425f8f7626ea4f93c9ca38 Mon Sep 17 00:00:00 2001
|
From 76e7fcd0a61b789ca55fb33bb95be63375ed7f23 Mon Sep 17 00:00:00 2001
|
||||||
From: Aikar <aikar@aikar.co>
|
From: Aikar <aikar@aikar.co>
|
||||||
Date: Sun, 19 Oct 2014 16:01:51 -0500
|
Date: Sun, 19 Oct 2014 16:01:51 -0500
|
||||||
Subject: [PATCH] Improve Network Manager packet handling
|
Subject: [PATCH] Improve Network Manager packet handling
|
@ -1,4 +1,4 @@
|
|||||||
From 33b18cbf6cb34aaa872507e4c20dc731ec877916 Mon Sep 17 00:00:00 2001
|
From 08fbd413515b6fdb8bb299485d9bd60bbe62c24b Mon Sep 17 00:00:00 2001
|
||||||
From: Aikar <aikar@aikar.co>
|
From: Aikar <aikar@aikar.co>
|
||||||
Date: Sun, 19 Oct 2014 16:04:28 -0500
|
Date: Sun, 19 Oct 2014 16:04:28 -0500
|
||||||
Subject: [PATCH] Only refresh abilities if needed
|
Subject: [PATCH] Only refresh abilities if needed
|
@ -1,4 +1,4 @@
|
|||||||
From 882a1d79c385949277aade9a1d35aa0cfd339c0d Mon Sep 17 00:00:00 2001
|
From 6011f2fe47906285314092df74e56b75b73722a7 Mon Sep 17 00:00:00 2001
|
||||||
From: Aikar <aikar@aikar.co>
|
From: Aikar <aikar@aikar.co>
|
||||||
Date: Sun, 19 Oct 2014 16:26:55 -0500
|
Date: Sun, 19 Oct 2014 16:26:55 -0500
|
||||||
Subject: [PATCH] Player lookup improvements
|
Subject: [PATCH] Player lookup improvements
|
@ -1,4 +1,4 @@
|
|||||||
From d5ecea59249849d642ab6a6612650528627f2b2f Mon Sep 17 00:00:00 2001
|
From 38ddbe06c98a3f5e48671e7f11d1542a08406291 Mon Sep 17 00:00:00 2001
|
||||||
From: Aikar <aikar@aikar.co>
|
From: Aikar <aikar@aikar.co>
|
||||||
Date: Sun, 19 Oct 2014 16:30:48 -0500
|
Date: Sun, 19 Oct 2014 16:30:48 -0500
|
||||||
Subject: [PATCH] Improve autosave mechanism
|
Subject: [PATCH] Improve autosave mechanism
|
174
Spigot-Server-Patches/0045-Configurable-game-mechanics-changes.patch
Normale Datei
174
Spigot-Server-Patches/0045-Configurable-game-mechanics-changes.patch
Normale Datei
@ -0,0 +1,174 @@
|
|||||||
|
From e6ea911ae0a814b801ce8c2b0b011963893686f3 Mon Sep 17 00:00:00 2001
|
||||||
|
From: gsand <gsandowns@gmail.com>
|
||||||
|
Date: Fri, 24 Oct 2014 22:09:58 -0500
|
||||||
|
Subject: [PATCH] Configurable game mechanics changes
|
||||||
|
|
||||||
|
|
||||||
|
diff --git a/src/main/java/net/minecraft/server/BlockMinecartTrackAbstract.java b/src/main/java/net/minecraft/server/BlockMinecartTrackAbstract.java
|
||||||
|
index b6b4146..a0b960a 100644
|
||||||
|
--- a/src/main/java/net/minecraft/server/BlockMinecartTrackAbstract.java
|
||||||
|
+++ b/src/main/java/net/minecraft/server/BlockMinecartTrackAbstract.java
|
||||||
|
@@ -61,7 +61,7 @@ public abstract class BlockMinecartTrackAbstract extends Block {
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean canPlace(World world, int i, int j, int k) {
|
||||||
|
- return World.a((IBlockAccess) world, i, j - 1, k);
|
||||||
|
+ return checkPlace(world, i, j, k); // PaperSpigot - Moved, pass it all along
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onPlace(World world, int i, int j, int k) {
|
||||||
|
@@ -84,25 +84,27 @@ public abstract class BlockMinecartTrackAbstract extends Block {
|
||||||
|
|
||||||
|
boolean flag = false;
|
||||||
|
|
||||||
|
- if (!World.a((IBlockAccess) world, i, j - 1, k)) {
|
||||||
|
+ // PaperSpigot start - Replace !World.a with our own check - Less picky rails
|
||||||
|
+ if (!checkPlace(world, i, j, k)) {
|
||||||
|
flag = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (i1 == 2 && !World.a((IBlockAccess) world, i + 1, j, k)) {
|
||||||
|
+ if (i1 == 2 && !checkPlace(world, i, j, k)) {
|
||||||
|
flag = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (i1 == 3 && !World.a((IBlockAccess) world, i - 1, j, k)) {
|
||||||
|
+ if (i1 == 3 && !checkPlace(world, i, j, k)) {
|
||||||
|
flag = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (i1 == 4 && !World.a((IBlockAccess) world, i, j, k - 1)) {
|
||||||
|
+ if (i1 == 4 && !checkPlace(world, i, j, k)) {
|
||||||
|
flag = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (i1 == 5 && !World.a((IBlockAccess) world, i, j, k + 1)) {
|
||||||
|
+ if (i1 == 5 && !checkPlace(world, i, j, k)) {
|
||||||
|
flag = true;
|
||||||
|
}
|
||||||
|
+ // PaperSpigot end
|
||||||
|
|
||||||
|
if (flag) {
|
||||||
|
// PaperSpigot start - Rails dupe workaround
|
||||||
|
@@ -146,4 +148,18 @@ public abstract class BlockMinecartTrackAbstract extends Block {
|
||||||
|
world.applyPhysics(i, j - 1, k, block);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
+
|
||||||
|
+ /**
|
||||||
|
+ * PaperSpigot - Customizable rail placement on extra blocks
|
||||||
|
+ */
|
||||||
|
+ private boolean checkPlace(World world, int i, int j, int k) {
|
||||||
|
+ Block block = World.getBlock(world, i, j - 1, k);
|
||||||
|
+ if (world.paperSpigotConfig.lessPickyRails) {
|
||||||
|
+ if (block instanceof BlockFence) {
|
||||||
|
+ return true;
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ return World.canPlace(world, block, i, j - 1, k);
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
diff --git a/src/main/java/net/minecraft/server/EntityBoat.java b/src/main/java/net/minecraft/server/EntityBoat.java
|
||||||
|
index c9f2b13..7c4c303 100644
|
||||||
|
--- a/src/main/java/net/minecraft/server/EntityBoat.java
|
||||||
|
+++ b/src/main/java/net/minecraft/server/EntityBoat.java
|
||||||
|
@@ -337,13 +337,7 @@ public class EntityBoat extends Entity {
|
||||||
|
if (!destroyEvent.isCancelled()) {
|
||||||
|
this.die();
|
||||||
|
|
||||||
|
- for (k = 0; k < 3; ++k) {
|
||||||
|
- this.a(Item.getItemOf(Blocks.WOOD), 1, 0.0F);
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
- for (k = 0; k < 2; ++k) {
|
||||||
|
- this.a(Items.STICK, 1, 0.0F);
|
||||||
|
- }
|
||||||
|
+ breakNaturally(); // PaperSpigot - Customizable boat drops
|
||||||
|
}
|
||||||
|
// CraftBukkit end
|
||||||
|
}
|
||||||
|
@@ -452,15 +446,7 @@ public class EntityBoat extends Entity {
|
||||||
|
if (!destroyEvent.isCancelled()) {
|
||||||
|
this.die();
|
||||||
|
|
||||||
|
- int l;
|
||||||
|
-
|
||||||
|
- for (l = 0; l < 3; ++l) {
|
||||||
|
- this.a(Item.getItemOf(Blocks.WOOD), 1, 0.0F);
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
- for (l = 0; l < 2; ++l) {
|
||||||
|
- this.a(Items.STICK, 1, 0.0F);
|
||||||
|
- }
|
||||||
|
+ breakNaturally(); // PaperSpigot - Customizable boat drops
|
||||||
|
}
|
||||||
|
// CraftBukkit end
|
||||||
|
}
|
||||||
|
@@ -495,4 +481,21 @@ public class EntityBoat extends Entity {
|
||||||
|
public int i() {
|
||||||
|
return this.datawatcher.getInt(18);
|
||||||
|
}
|
||||||
|
+
|
||||||
|
+ /**
|
||||||
|
+ * PaperSpigot - Handles boat drops depending on the user's config setting
|
||||||
|
+ */
|
||||||
|
+ public void breakNaturally() {
|
||||||
|
+ if (this.world.paperSpigotConfig.boatsDropBoats) {
|
||||||
|
+ this.a(Items.BOAT, 1, 0.0F);
|
||||||
|
+ } else {
|
||||||
|
+ for (int k = 0; k < 3; ++k) {
|
||||||
|
+ this.a(Item.getItemOf(Blocks.WOOD), 1, 0.0F);
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ for (int k = 0; k < 2; ++k) {
|
||||||
|
+ this.a(Items.STICK, 1, 0.0F);
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
|
||||||
|
index 1977c6c..db41b8b 100644
|
||||||
|
--- a/src/main/java/net/minecraft/server/World.java
|
||||||
|
+++ b/src/main/java/net/minecraft/server/World.java
|
||||||
|
@@ -3155,4 +3155,20 @@ public abstract class World implements IBlockAccess {
|
||||||
|
iworldaccess.b();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
+
|
||||||
|
+ /**
|
||||||
|
+ * PaperSpigot - Gets block at location
|
||||||
|
+ */
|
||||||
|
+ public static Block getBlock(IBlockAccess iblockaccess, int i, int j, int k) {
|
||||||
|
+ return iblockaccess.getType(i, j, k);
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ /**
|
||||||
|
+ * PaperSpigot - Checks if block placement is allowed (used in BlockMinecartTrackAbstract and similar)
|
||||||
|
+ */
|
||||||
|
+ public static boolean canPlace(IBlockAccess iblockaccess, Block block, int i, int j, int k) {
|
||||||
|
+ int l = iblockaccess.getData(i, j, k);
|
||||||
|
+
|
||||||
|
+ return block.getMaterial().k() && block.d() ? true : (block instanceof BlockStairs ? (l & 4) == 4 : (block instanceof BlockStepAbstract ? (l & 8) == 8 : (block instanceof BlockHopper ? true : (block instanceof BlockSnow ? (l & 7) == 7 : false))));
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
diff --git a/src/main/java/org/github/paperspigot/PaperSpigotWorldConfig.java b/src/main/java/org/github/paperspigot/PaperSpigotWorldConfig.java
|
||||||
|
index a59fd42..6b9e127 100644
|
||||||
|
--- a/src/main/java/org/github/paperspigot/PaperSpigotWorldConfig.java
|
||||||
|
+++ b/src/main/java/org/github/paperspigot/PaperSpigotWorldConfig.java
|
||||||
|
@@ -188,4 +188,12 @@ public class PaperSpigotWorldConfig
|
||||||
|
removeUnloadedTNTEntities = getBoolean("remove-unloaded.tnt-entities", true);
|
||||||
|
removeUnloadedFallingBlocks = getBoolean("remove-unloaded.falling-blocks", true);
|
||||||
|
}
|
||||||
|
+
|
||||||
|
+ public boolean boatsDropBoats;
|
||||||
|
+ public boolean lessPickyRails;
|
||||||
|
+ private void mechanicsChanges()
|
||||||
|
+ {
|
||||||
|
+ boatsDropBoats = getBoolean( "game-mechanics.boats-drop-boats", false );
|
||||||
|
+ lessPickyRails = getBoolean( "game-mechanics.less-picky-rail-placement", false );
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
--
|
||||||
|
1.9.1
|
||||||
|
|
In neuem Issue referenzieren
Einen Benutzer sperren