13
0
geforkt von Mirrors/Paper

Updated Upstream (Bukkit/CraftBukkit)

Upstream has released updates that appears to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
eeb1042f #491: Add support to change block's lid state

CraftBukkit Changes:
8fb65851 #660: Add support to change block's lid state
Dieser Commit ist enthalten in:
Mariell Hoversholm 2020-07-29 21:50:16 +02:00
Ursprung 4b422c1f0a
Commit 9b4ddafa60
4 geänderte Dateien mit 8 neuen und 7 gelöschten Zeilen

Datei anzeigen

@ -245,8 +245,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
/**
* Represents a captured state of a chest.
*/
-public interface Chest extends Container, Lootable {
+public interface Chest extends Container, LootableBlockInventory { // Paper
-public interface Chest extends Container, Lootable, Lidded {
+public interface Chest extends Container, LootableBlockInventory, Lidded { // Paper
/**
* Gets the inventory of the chest block represented by this block state.
@ -318,8 +318,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
/**
* Represents a captured state of a ShulkerBox.
*/
-public interface ShulkerBox extends Container, Lootable {
+public interface ShulkerBox extends Container, LootableBlockInventory { // Paper
-public interface ShulkerBox extends Container, Lootable, Lidded {
+public interface ShulkerBox extends Container, LootableBlockInventory, Lidded { // Paper
/**
* Get the {@link DyeColor} corresponding to this ShulkerBox

Datei anzeigen

@ -77,6 +77,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
this.b = this.a;
float f = 0.1F;
@@ -0,0 +0,0 @@ public class TileEntityChest extends TileEntityLootable implements ITickable {
if (this.viewingCount > 0 && this.a == 0.0F) {
this.a(SoundEffects.BLOCK_CHEST_OPEN);
}
@ -106,7 +107,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
@@ -0,0 +0,0 @@ public class TileEntityChest extends TileEntityLootable implements ITickable {
}
private void a(SoundEffect soundeffect) {
public void a(SoundEffect soundeffect) { // PAIL private -> public, rename playSound
+ if (!this.getBlock().b(BlockChest.c)) { return; } // Paper - this can be delayed, double check exists - Fixes GH-2074
BlockPropertyChestType blockpropertychesttype = (BlockPropertyChestType) this.getBlock().get(BlockChest.c);

@ -1 +1 @@
Subproject commit bd45a2f11d5297104482d86101fcbe9983051b2e
Subproject commit eeb1042f1ac356cc989dd1c4e35b37ee0ab93891

@ -1 +1 @@
Subproject commit c3a22e7850f7b6c41163676a154b22c61952b2a9
Subproject commit 8fb65851f12f78c26ca979377370395e64c8a61f