2022-12-09 10:13:22 +01:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Jake Potrebic <jake.m.potrebic@gmail.com>
|
|
|
|
Date: Thu, 8 Dec 2022 17:31:21 -0800
|
|
|
|
Subject: [PATCH] Mark experimental api as such
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/Material.java b/src/main/java/org/bukkit/Material.java
|
2023-03-14 18:21:11 +01:00
|
|
|
index 716a40b055e693cfda38d2d8223ce4320919a332..3ac13a9ed56dc8386ded8fb77f7e1161dce3827e 100644
|
2022-12-09 10:13:22 +01:00
|
|
|
--- a/src/main/java/org/bukkit/Material.java
|
|
|
|
+++ b/src/main/java/org/bukkit/Material.java
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -158,9 +158,11 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
|
|
|
|
CHERRY_PLANKS(8354),
|
2022-12-09 10:13:22 +01:00
|
|
|
DARK_OAK_PLANKS(20869),
|
|
|
|
MANGROVE_PLANKS(7078),
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
BAMBOO_PLANKS(8520),
|
|
|
|
CRIMSON_PLANKS(18812),
|
|
|
|
WARPED_PLANKS(16045),
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
BAMBOO_MOSAIC(10715),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link Sapling}
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -368,6 +370,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
|
2022-12-09 10:13:22 +01:00
|
|
|
/**
|
|
|
|
* BlockData: {@link Orientable}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
BAMBOO_BLOCK(20770, Orientable.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link Orientable}
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -452,6 +455,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
|
2022-12-09 10:13:22 +01:00
|
|
|
/**
|
|
|
|
* BlockData: {@link Orientable}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
STRIPPED_BAMBOO_BLOCK(14799, Orientable.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link Orientable}
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -663,10 +667,12 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
|
2022-12-09 10:13:22 +01:00
|
|
|
/**
|
|
|
|
* BlockData: {@link Slab}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
BAMBOO_SLAB(17798, Slab.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link Slab}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
BAMBOO_MOSAIC_SLAB(22118, Slab.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link Slab}
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -753,6 +759,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
|
2022-12-09 10:13:22 +01:00
|
|
|
/**
|
|
|
|
* BlockData: {@link ChiseledBookshelf}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
CHISELED_BOOKSHELF(8099, ChiseledBookshelf.class),
|
2023-03-14 18:21:11 +01:00
|
|
|
/**
|
|
|
|
* BlockData: {@link DecoratedPot}
|
|
|
|
@@ -854,6 +861,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
|
2022-12-09 10:13:22 +01:00
|
|
|
/**
|
|
|
|
* BlockData: {@link Fence}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
BAMBOO_FENCE(17207, Fence.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link Fence}
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -1034,10 +1042,12 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
|
2022-12-09 10:13:22 +01:00
|
|
|
/**
|
|
|
|
* BlockData: {@link Stairs}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
BAMBOO_STAIRS(25674, Stairs.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link Stairs}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
BAMBOO_MOSAIC_STAIRS(20977, Stairs.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link Stairs}
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -1885,6 +1895,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
|
2022-12-09 10:13:22 +01:00
|
|
|
/**
|
|
|
|
* BlockData: {@link Switch}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
BAMBOO_BUTTON(21810, Switch.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link Switch}
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -1945,6 +1956,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
|
2022-12-09 10:13:22 +01:00
|
|
|
/**
|
|
|
|
* BlockData: {@link Powerable}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
BAMBOO_PRESSURE_PLATE(26740, Powerable.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link Powerable}
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -1993,6 +2005,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
|
2022-12-09 10:13:22 +01:00
|
|
|
/**
|
|
|
|
* BlockData: {@link Door}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
BAMBOO_DOOR(19971, Door.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link Door}
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -2041,6 +2054,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
|
2022-12-09 10:13:22 +01:00
|
|
|
/**
|
|
|
|
* BlockData: {@link TrapDoor}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
BAMBOO_TRAPDOOR(9174, TrapDoor.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link TrapDoor}
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -2085,6 +2099,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
|
2022-12-09 10:13:22 +01:00
|
|
|
/**
|
|
|
|
* BlockData: {@link Gate}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
BAMBOO_FENCE_GATE(14290, Gate.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link Gate}
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -2135,7 +2150,9 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
|
2022-12-09 10:13:22 +01:00
|
|
|
DARK_OAK_CHEST_BOAT(8733, 1),
|
|
|
|
MANGROVE_BOAT(20792, 1),
|
|
|
|
MANGROVE_CHEST_BOAT(18572, 1),
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
BAMBOO_RAFT(25901, 1),
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
BAMBOO_CHEST_RAFT(20056, 1),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link StructureBlock}
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -2273,6 +2290,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
|
2022-12-09 10:13:22 +01:00
|
|
|
/**
|
|
|
|
* BlockData: {@link Sign}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
BAMBOO_SIGN(26139, 16, Sign.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link Sign}
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -2285,46 +2303,57 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
|
2022-12-09 10:13:22 +01:00
|
|
|
/**
|
|
|
|
* BlockData: {@link HangingSign}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
OAK_HANGING_SIGN(20116, 16, HangingSign.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link HangingSign}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
SPRUCE_HANGING_SIGN(24371, 16, HangingSign.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link HangingSign}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
BIRCH_HANGING_SIGN(17938, 16, HangingSign.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link HangingSign}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
JUNGLE_HANGING_SIGN(27671, 16, HangingSign.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link HangingSign}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
ACACIA_HANGING_SIGN(30257, 16, HangingSign.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link HangingSign}
|
|
|
|
*/
|
2023-03-14 18:21:11 +01:00
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
CHERRY_HANGING_SIGN(5088, 16, HangingSign.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link HangingSign}
|
|
|
|
*/
|
2022-12-09 10:13:22 +01:00
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
DARK_OAK_HANGING_SIGN(23360, 16, HangingSign.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link HangingSign}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
MANGROVE_HANGING_SIGN(25106, 16, HangingSign.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link HangingSign}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
BAMBOO_HANGING_SIGN(4726, 16, HangingSign.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link HangingSign}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
CRIMSON_HANGING_SIGN(20696, 16, HangingSign.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link HangingSign}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
WARPED_HANGING_SIGN(8195, 16, HangingSign.class),
|
|
|
|
BUCKET(15215, 16),
|
|
|
|
WATER_BUCKET(8802, 1),
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -2348,6 +2377,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
|
2022-12-09 10:13:22 +01:00
|
|
|
EGG(21603, 16),
|
|
|
|
COMPASS(24139),
|
|
|
|
RECOVERY_COMPASS(12710),
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
BUNDLE(16835, 1),
|
|
|
|
FISHING_ROD(4167, 1, 64),
|
|
|
|
CLOCK(14980),
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -2488,6 +2518,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
|
2022-12-09 10:13:22 +01:00
|
|
|
BEE_SPAWN_EGG(22924),
|
|
|
|
BLAZE_SPAWN_EGG(4759),
|
|
|
|
CAT_SPAWN_EGG(29583),
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
CAMEL_SPAWN_EGG(14760),
|
|
|
|
CAVE_SPIDER_SPAWN_EGG(23341),
|
|
|
|
CHICKEN_SPAWN_EGG(5462),
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -2599,6 +2630,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
|
2022-12-09 10:13:22 +01:00
|
|
|
/**
|
|
|
|
* BlockData: {@link Rotatable}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
PIGLIN_HEAD(5512, Rotatable.class),
|
|
|
|
NETHER_STAR(12469),
|
|
|
|
PUMPKIN_PIE(28725),
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -3022,50 +3054,62 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
|
2022-12-09 10:13:22 +01:00
|
|
|
/**
|
|
|
|
* BlockData: {@link WallSign}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
BAMBOO_WALL_SIGN(18857, 16, WallSign.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link WallHangingSign}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
OAK_WALL_HANGING_SIGN(15637, WallHangingSign.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link WallHangingSign}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
SPRUCE_WALL_HANGING_SIGN(18833, WallHangingSign.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link WallHangingSign}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
BIRCH_WALL_HANGING_SIGN(15937, WallHangingSign.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link WallHangingSign}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
ACACIA_WALL_HANGING_SIGN(22477, WallHangingSign.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link WallHangingSign}
|
|
|
|
*/
|
2023-03-14 18:21:11 +01:00
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
CHERRY_WALL_HANGING_SIGN(10953, WallHangingSign.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link WallHangingSign}
|
|
|
|
*/
|
2022-12-09 10:13:22 +01:00
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
JUNGLE_WALL_HANGING_SIGN(16691, WallHangingSign.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link WallHangingSign}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
DARK_OAK_WALL_HANGING_SIGN(14296, WallHangingSign.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link WallHangingSign}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
MANGROVE_WALL_HANGING_SIGN(16974, WallHangingSign.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link WallHangingSign}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
CRIMSON_WALL_HANGING_SIGN(28982, WallHangingSign.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link WallHangingSign}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
WARPED_WALL_HANGING_SIGN(20605, WallHangingSign.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link WallHangingSign}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
BAMBOO_WALL_HANGING_SIGN(6669, WallHangingSign.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link RedstoneWallTorch}
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -3175,6 +3219,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
|
2022-12-09 10:13:22 +01:00
|
|
|
/**
|
|
|
|
* BlockData: {@link Directional}
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
PIGLIN_WALL_HEAD(4446, Directional.class),
|
|
|
|
/**
|
|
|
|
* BlockData: {@link Directional}
|
|
|
|
diff --git a/src/main/java/org/bukkit/Tag.java b/src/main/java/org/bukkit/Tag.java
|
2023-03-14 18:21:11 +01:00
|
|
|
index 8f9a18ae5cdc51a2cc4ac0e45781fdce91172b6c..bfcf1f54596dbea22336a4eb441d64399358c580 100644
|
2022-12-09 10:13:22 +01:00
|
|
|
--- a/src/main/java/org/bukkit/Tag.java
|
|
|
|
+++ b/src/main/java/org/bukkit/Tag.java
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -146,6 +146,7 @@ public interface Tag<T extends Keyed> extends Keyed {
|
2022-12-09 10:13:22 +01:00
|
|
|
/**
|
|
|
|
* Vanilla block tag representing all bamboo blocks.
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
Tag<Material> BAMBOO_BLOCKS = Bukkit.getTag(REGISTRY_BLOCKS, NamespacedKey.minecraft("bamboo_blocks"), Material.class);
|
|
|
|
/**
|
|
|
|
* Vanilla block tag representing all banner blocks.
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -320,14 +321,17 @@ public interface Tag<T extends Keyed> extends Keyed {
|
2022-12-09 10:13:22 +01:00
|
|
|
/**
|
|
|
|
* Vanilla block tag representing all ceiling signs.
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
Tag<Material> CEILING_HANGING_SIGNS = Bukkit.getTag(REGISTRY_BLOCKS, NamespacedKey.minecraft("ceiling_hanging_signs"), Material.class);
|
|
|
|
/**
|
|
|
|
* Vanilla block tag representing all wall hanging signs.
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
Tag<Material> WALL_HANGING_SIGNS = Bukkit.getTag(REGISTRY_BLOCKS, NamespacedKey.minecraft("wall_hanging_signs"), Material.class);
|
|
|
|
/**
|
|
|
|
* Vanilla block tag representing all hanging signs.
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
Tag<Material> ALL_HANGING_SIGNS = Bukkit.getTag(REGISTRY_BLOCKS, NamespacedKey.minecraft("all_hanging_signs"), Material.class);
|
|
|
|
/**
|
|
|
|
* Vanilla block tag representing all signs, regardless of type.
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -757,6 +761,7 @@ public interface Tag<T extends Keyed> extends Keyed {
|
2022-12-09 10:13:22 +01:00
|
|
|
/**
|
|
|
|
* Vanilla item tag representing all books that may be placed on bookshelves.
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
Tag<Material> ITEMS_BOOKSHELF_BOOKS = Bukkit.getTag(REGISTRY_ITEMS, NamespacedKey.minecraft("bookshelf_books"), Material.class);
|
|
|
|
/**
|
|
|
|
* Vanilla item tag representing all items that may be placed in beacons.
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -777,6 +782,7 @@ public interface Tag<T extends Keyed> extends Keyed {
|
2022-12-09 10:13:22 +01:00
|
|
|
/**
|
|
|
|
* Vanilla item tag representing all hanging signs.
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
Tag<Material> ITEMS_HANGING_SIGNS = Bukkit.getTag(REGISTRY_ITEMS, NamespacedKey.minecraft("hanging_signs"), Material.class);
|
|
|
|
/**
|
|
|
|
* Vanilla item tag representing all items which will ignite creepers when
|
|
|
|
diff --git a/src/main/java/org/bukkit/block/ChiseledBookshelf.java b/src/main/java/org/bukkit/block/ChiseledBookshelf.java
|
|
|
|
index 4cae298f18b35f73e3a64d5c8926bdc0f0402c4b..93ddac92266edf3b08096ca6c9bc182991924aa8 100644
|
|
|
|
--- a/src/main/java/org/bukkit/block/ChiseledBookshelf.java
|
|
|
|
+++ b/src/main/java/org/bukkit/block/ChiseledBookshelf.java
|
|
|
|
@@ -7,6 +7,7 @@ import org.jetbrains.annotations.NotNull;
|
|
|
|
/**
|
|
|
|
* Represents a captured state of a chiseled bookshelf.
|
|
|
|
*/
|
|
|
|
+@org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
public interface ChiseledBookshelf extends TileState, BlockInventoryHolder {
|
|
|
|
|
|
|
|
/**
|
|
|
|
diff --git a/src/main/java/org/bukkit/block/HangingSign.java b/src/main/java/org/bukkit/block/HangingSign.java
|
|
|
|
index 9bef6c6597222833f6c36bbfc382849fecad4439..d404ee784f3b99276080ec77d91ba5da724ce563 100644
|
|
|
|
--- a/src/main/java/org/bukkit/block/HangingSign.java
|
|
|
|
+++ b/src/main/java/org/bukkit/block/HangingSign.java
|
|
|
|
@@ -3,5 +3,6 @@ package org.bukkit.block;
|
|
|
|
/**
|
|
|
|
* Represents a captured state of a hanging sign.
|
|
|
|
*/
|
|
|
|
+@org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
public interface HangingSign extends Sign {
|
|
|
|
}
|
2022-12-26 18:53:35 +01:00
|
|
|
diff --git a/src/main/java/org/bukkit/block/Skull.java b/src/main/java/org/bukkit/block/Skull.java
|
|
|
|
index c7502a3913cf14e66559c21489d6f2205f3eb06a..e4b8b03ceed86548e46774096e84b0c0a39b61a4 100644
|
|
|
|
--- a/src/main/java/org/bukkit/block/Skull.java
|
|
|
|
+++ b/src/main/java/org/bukkit/block/Skull.java
|
|
|
|
@@ -110,6 +110,7 @@ public interface Skull extends TileState {
|
|
|
|
*
|
|
|
|
* @return the key of the sound, or null
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
@Nullable
|
|
|
|
public NamespacedKey getNoteBlockSound();
|
|
|
|
|
|
|
|
@@ -121,6 +122,7 @@ 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);
|
|
|
|
|
|
|
|
/**
|
2022-12-09 10:13:22 +01:00
|
|
|
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 a172e22ce47c74554a582e8fce2796238bfb5d65..c21e8afdbe944b74049d959e27d4d389a6980d15 100644
|
|
|
|
--- a/src/main/java/org/bukkit/block/data/type/ChiseledBookshelf.java
|
|
|
|
+++ b/src/main/java/org/bukkit/block/data/type/ChiseledBookshelf.java
|
|
|
|
@@ -11,6 +11,7 @@ import org.jetbrains.annotations.NotNull;
|
|
|
|
* <br>
|
|
|
|
* Block may have 0, 1... {@link #getMaximumOccupiedSlots()}-1 occupied slots.
|
|
|
|
*/
|
|
|
|
+@org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
public interface ChiseledBookshelf extends Directional {
|
|
|
|
|
|
|
|
/**
|
|
|
|
diff --git a/src/main/java/org/bukkit/block/data/type/HangingSign.java b/src/main/java/org/bukkit/block/data/type/HangingSign.java
|
|
|
|
index c5a0c1476317ce2688ead25c53f3adabf875eefd..42d05598b27e59fba09b0bd2a7208215e7f771ed 100644
|
|
|
|
--- a/src/main/java/org/bukkit/block/data/type/HangingSign.java
|
|
|
|
+++ b/src/main/java/org/bukkit/block/data/type/HangingSign.java
|
|
|
|
@@ -4,5 +4,6 @@ import org.bukkit.block.data.Attachable;
|
|
|
|
import org.bukkit.block.data.Rotatable;
|
|
|
|
import org.bukkit.block.data.Waterlogged;
|
|
|
|
|
|
|
|
+@org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
public interface HangingSign extends Attachable, Rotatable, Waterlogged {
|
|
|
|
}
|
|
|
|
diff --git a/src/main/java/org/bukkit/block/data/type/WallHangingSign.java b/src/main/java/org/bukkit/block/data/type/WallHangingSign.java
|
|
|
|
index 283b21024d7a6eeebbf7306f95fce7eb4714bac6..7c9273b07b39b656796983cb43cd7f0987ee0fd8 100644
|
|
|
|
--- a/src/main/java/org/bukkit/block/data/type/WallHangingSign.java
|
|
|
|
+++ b/src/main/java/org/bukkit/block/data/type/WallHangingSign.java
|
|
|
|
@@ -3,5 +3,6 @@ package org.bukkit.block.data.type;
|
|
|
|
import org.bukkit.block.data.Directional;
|
|
|
|
import org.bukkit.block.data.Waterlogged;
|
|
|
|
|
|
|
|
+@org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
public interface WallHangingSign extends Directional, Waterlogged {
|
|
|
|
}
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/Boat.java b/src/main/java/org/bukkit/entity/Boat.java
|
2023-03-14 18:21:11 +01:00
|
|
|
index f7548098bcdd033d9c530fdc584fc5538c635ca1..bfa6ea36446084a26b090321e9b63e262f69c995 100644
|
2022-12-09 10:13:22 +01:00
|
|
|
--- a/src/main/java/org/bukkit/entity/Boat.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Boat.java
|
2023-03-14 18:21:11 +01:00
|
|
|
@@ -144,6 +144,7 @@ public interface Boat extends Vehicle {
|
|
|
|
CHERRY(Material.CHERRY_PLANKS),
|
2022-12-09 10:13:22 +01:00
|
|
|
DARK_OAK(Material.DARK_OAK_PLANKS),
|
|
|
|
MANGROVE(Material.MANGROVE_PLANKS),
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
BAMBOO(Material.BAMBOO_PLANKS),
|
|
|
|
;
|
|
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/Camel.java b/src/main/java/org/bukkit/entity/Camel.java
|
|
|
|
index 17e4e0a822d4372e0a98612294ec0bd728830164..f827d8f508441a035974974d34450879835de91e 100644
|
|
|
|
--- a/src/main/java/org/bukkit/entity/Camel.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Camel.java
|
|
|
|
@@ -3,6 +3,7 @@ package org.bukkit.entity;
|
|
|
|
/**
|
|
|
|
* Represents a Camel.
|
|
|
|
*/
|
|
|
|
+@org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
public interface Camel extends AbstractHorse, Sittable {
|
|
|
|
|
|
|
|
/**
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/EntityType.java b/src/main/java/org/bukkit/entity/EntityType.java
|
2023-03-14 18:21:11 +01:00
|
|
|
index 9f935266f51f4ea5d1193031f52e5327350cc06f..0303841e461a64db863e3732d2d7c763b50b9eb0 100644
|
2022-12-09 10:13:22 +01:00
|
|
|
--- a/src/main/java/org/bukkit/entity/EntityType.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/EntityType.java
|
2023-02-15 23:10:14 +01:00
|
|
|
@@ -278,6 +278,7 @@ public enum EntityType implements Keyed, Translatable, net.kyori.adventure.trans
|
2022-12-09 10:13:22 +01:00
|
|
|
FROG("frog", Frog.class, -1),
|
|
|
|
TADPOLE("tadpole", Tadpole.class, -1),
|
|
|
|
WARDEN("warden", Warden.class, -1),
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
CAMEL("camel", Camel.class, -1),
|
2023-03-14 18:21:11 +01:00
|
|
|
BLOCK_DISPLAY("block_display", BlockDisplay.class, -1),
|
|
|
|
INTERACTION("interaction", Interaction.class, -1),
|
2022-12-09 10:13:22 +01:00
|
|
|
diff --git a/src/main/java/org/bukkit/event/inventory/InventoryType.java b/src/main/java/org/bukkit/event/inventory/InventoryType.java
|
2023-03-14 18:21:11 +01:00
|
|
|
index 456eb20f8d603b1ebbaa11b8832e56c08406b7c9..822b1f50dee09fbc8070e34724fe8e5673d80e1d 100644
|
2022-12-09 10:13:22 +01:00
|
|
|
--- a/src/main/java/org/bukkit/event/inventory/InventoryType.java
|
|
|
|
+++ b/src/main/java/org/bukkit/event/inventory/InventoryType.java
|
|
|
|
@@ -137,6 +137,7 @@ public enum InventoryType {
|
|
|
|
/**
|
|
|
|
* Pseudo chiseled bookshelf inventory, with 6 slots of undefined type.
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
CHISELED_BOOKSHELF(6, "Chiseled Bookshelf"),
|
2023-03-14 18:21:11 +01:00
|
|
|
/**
|
|
|
|
* The new smithing inventory, with 3 CRAFTING slots and 1 RESULT slot.
|
2022-12-09 10:13:22 +01:00
|
|
|
diff --git a/src/main/java/org/bukkit/inventory/ChiseledBookshelfInventory.java b/src/main/java/org/bukkit/inventory/ChiseledBookshelfInventory.java
|
|
|
|
index b99f26079c14931d443615fa81eac9791080ecb0..47a8f451e8112bf533778f25166dcf1966057c70 100644
|
|
|
|
--- a/src/main/java/org/bukkit/inventory/ChiseledBookshelfInventory.java
|
|
|
|
+++ b/src/main/java/org/bukkit/inventory/ChiseledBookshelfInventory.java
|
|
|
|
@@ -6,6 +6,7 @@ import org.jetbrains.annotations.Nullable;
|
|
|
|
/**
|
|
|
|
* Interface to the inventory of a chiseled bookshelf.
|
|
|
|
*/
|
|
|
|
+@org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
public interface ChiseledBookshelfInventory extends Inventory {
|
|
|
|
|
|
|
|
@Nullable
|
|
|
|
diff --git a/src/main/java/org/bukkit/inventory/meta/BundleMeta.java b/src/main/java/org/bukkit/inventory/meta/BundleMeta.java
|
|
|
|
index bc992fdf6d5517995547d136e8cdbe4bd3496abe..751a13c4c00c7167ed3c64c0cd91ac66dc2f0dc3 100644
|
|
|
|
--- a/src/main/java/org/bukkit/inventory/meta/BundleMeta.java
|
|
|
|
+++ b/src/main/java/org/bukkit/inventory/meta/BundleMeta.java
|
|
|
|
@@ -5,6 +5,7 @@ import org.bukkit.inventory.ItemStack;
|
|
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
|
|
|
|
+@org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
public interface BundleMeta extends ItemMeta {
|
|
|
|
|
|
|
|
/**
|
2022-12-26 18:53:35 +01:00
|
|
|
diff --git a/src/main/java/org/bukkit/inventory/meta/SkullMeta.java b/src/main/java/org/bukkit/inventory/meta/SkullMeta.java
|
|
|
|
index 862640b4611458dfbcd3be797eacd120fc8d1f9f..263fd5d4f8288108c4e2d16ca57a29a7e1c1e376 100644
|
|
|
|
--- a/src/main/java/org/bukkit/inventory/meta/SkullMeta.java
|
|
|
|
+++ b/src/main/java/org/bukkit/inventory/meta/SkullMeta.java
|
|
|
|
@@ -104,6 +104,7 @@ 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);
|
|
|
|
|
|
|
|
/**
|
|
|
|
@@ -114,6 +115,7 @@ public interface SkullMeta extends ItemMeta {
|
|
|
|
*
|
|
|
|
* @return the key of the sound, or null
|
|
|
|
*/
|
|
|
|
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
|
|
|
@Nullable
|
|
|
|
NamespacedKey getNoteBlockSound();
|
|
|
|
|