Updated Upstream (Bukkit/CraftBukkit) (#8714)
Upstream has released updates that appear 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: aef9b6d2 PR-800: Add support for NoteBlock sounds in Skulls CraftBukkit Changes: ae8f5fc02 PR-1125: Add support for NoteBlock sounds in Skulls 0a1c89e4b SPIGOT-7212: Allow negative firework power 909a246af SPIGOT-7211: generateTree() with Consumer or Predicate is broken c810c3ed8 Increase outdated build delay
This commit is contained in:
@@ -348,6 +348,26 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+@org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
||||
public interface HangingSign extends Sign {
|
||||
}
|
||||
diff --git a/src/main/java/org/bukkit/block/Skull.java b/src/main/java/org/bukkit/block/Skull.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/block/Skull.java
|
||||
+++ b/src/main/java/org/bukkit/block/Skull.java
|
||||
@@ -0,0 +0,0 @@ public interface Skull extends TileState {
|
||||
*
|
||||
* @return the key of the sound, or null
|
||||
*/
|
||||
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
||||
@Nullable
|
||||
public NamespacedKey getNoteBlockSound();
|
||||
|
||||
@@ -0,0 +0,0 @@ public interface Skull extends TileState {
|
||||
*
|
||||
* @param noteBlockSound the key of the sound to be played, or null
|
||||
*/
|
||||
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
||||
public void setNoteBlockSound(@Nullable NamespacedKey noteBlockSound);
|
||||
|
||||
/**
|
||||
diff --git a/src/main/java/org/bukkit/block/data/type/ChiseledBookshelf.java b/src/main/java/org/bukkit/block/data/type/ChiseledBookshelf.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/block/data/type/ChiseledBookshelf.java
|
||||
@@ -454,3 +474,23 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
public interface BundleMeta extends ItemMeta {
|
||||
|
||||
/**
|
||||
diff --git a/src/main/java/org/bukkit/inventory/meta/SkullMeta.java b/src/main/java/org/bukkit/inventory/meta/SkullMeta.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/inventory/meta/SkullMeta.java
|
||||
+++ b/src/main/java/org/bukkit/inventory/meta/SkullMeta.java
|
||||
@@ -0,0 +0,0 @@ public interface SkullMeta extends ItemMeta {
|
||||
*
|
||||
* @param noteBlockSound the key of the sound to be played, or null
|
||||
*/
|
||||
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
||||
void setNoteBlockSound(@Nullable NamespacedKey noteBlockSound);
|
||||
|
||||
/**
|
||||
@@ -0,0 +0,0 @@ public interface SkullMeta extends ItemMeta {
|
||||
*
|
||||
* @return the key of the sound, or null
|
||||
*/
|
||||
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
||||
@Nullable
|
||||
NamespacedKey getNoteBlockSound();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user