mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
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
This commit is contained in:
parent
4b422c1f0a
commit
9b4ddafa60
@ -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
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user