PaperMC/patches/api/0403-Mark-experimental-api-as-such.patch
Jake Potrebic 5730a94208
Updated Upstream (Bukkit/CraftBukkit) (#8991)
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:
2b4582fb SPIGOT-5916: getLastColors does not work with the rgb colors

CraftBukkit Changes:
f7707086d SPIGOT-7299: Fix indirect/anvil damage events and minor improvements
2023-03-18 10:05:04 -07:00

1290 lines
64 KiB
Diff

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
index 842a9dd6f92737699529721ec4e06fbc225fa3e6..3c5e90f039f0d2991be442168703526405e18e3d 100644
--- a/src/main/java/org/bukkit/Material.java
+++ b/src/main/java/org/bukkit/Material.java
@@ -155,12 +155,15 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
BIRCH_PLANKS(29322),
JUNGLE_PLANKS(26445),
ACACIA_PLANKS(31312),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHERRY_PLANKS(8354),
DARK_OAK_PLANKS(20869),
MANGROVE_PLANKS(7078),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BAMBOO_PLANKS(8520),
CRIMSON_PLANKS(18812),
WARPED_PLANKS(16045),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BAMBOO_MOSAIC(10715),
/**
* BlockData: {@link Sapling}
@@ -185,6 +188,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Sapling}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHERRY_SAPLING(25204, Sapling.class),
/**
* BlockData: {@link Sapling}
@@ -199,6 +203,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link SuspiciousSand}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
SUSPICIOUS_SAND(18410, SuspiciousSand.class),
RED_SAND(16279),
GRAVEL(7804),
@@ -340,6 +345,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Orientable}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHERRY_LOG(20847, Orientable.class),
/**
* BlockData: {@link Orientable}
@@ -368,6 +374,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Orientable}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BAMBOO_BLOCK(20770, Orientable.class),
/**
* BlockData: {@link Orientable}
@@ -392,6 +399,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Orientable}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
STRIPPED_CHERRY_LOG(18061, Orientable.class),
/**
* BlockData: {@link Orientable}
@@ -432,6 +440,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Orientable}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
STRIPPED_CHERRY_WOOD(19647, Orientable.class),
/**
* BlockData: {@link Orientable}
@@ -452,6 +461,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Orientable}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
STRIPPED_BAMBOO_BLOCK(14799, Orientable.class),
/**
* BlockData: {@link Orientable}
@@ -476,6 +486,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Orientable}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHERRY_WOOD(9826, Orientable.class),
/**
* BlockData: {@link Orientable}
@@ -516,6 +527,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Leaves}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHERRY_LEAVES(20856, Leaves.class),
/**
* BlockData: {@link Leaves}
@@ -581,6 +593,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
CORNFLOWER(15405),
LILY_OF_THE_VALLEY(7185),
WITHER_ROSE(8619),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
TORCHFLOWER(4501),
SPORE_BLOSSOM(20627),
BROWN_MUSHROOM(9665),
@@ -610,6 +623,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link PinkPetals}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
PINK_PETALS(10420, PinkPetals.class),
MOSS_BLOCK(9175),
/**
@@ -651,6 +665,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Slab}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHERRY_SLAB(16673, Slab.class),
/**
* BlockData: {@link Slab}
@@ -663,10 +678,12 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Slab}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BAMBOO_SLAB(17798, Slab.class),
/**
* BlockData: {@link Slab}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BAMBOO_MOSAIC_SLAB(22118, Slab.class),
/**
* BlockData: {@link Slab}
@@ -753,10 +770,12 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link ChiseledBookshelf}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHISELED_BOOKSHELF(8099, ChiseledBookshelf.class),
/**
* BlockData: {@link DecoratedPot}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
DECORATED_POT(8720, 1, DecoratedPot.class),
MOSSY_COBBLESTONE(21900),
OBSIDIAN(32723),
@@ -842,6 +861,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Fence}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHERRY_FENCE(32047, Fence.class),
/**
* BlockData: {@link Fence}
@@ -854,6 +874,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Fence}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BAMBOO_FENCE(17207, Fence.class),
/**
* BlockData: {@link Fence}
@@ -1022,6 +1043,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Stairs}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHERRY_STAIRS(18380, Stairs.class),
/**
* BlockData: {@link Stairs}
@@ -1034,10 +1056,12 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Stairs}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BAMBOO_STAIRS(25674, Stairs.class),
/**
* BlockData: {@link Stairs}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BAMBOO_MOSAIC_STAIRS(20977, Stairs.class),
/**
* BlockData: {@link Stairs}
@@ -1873,6 +1897,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Switch}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHERRY_BUTTON(9058, Switch.class),
/**
* BlockData: {@link Switch}
@@ -1885,6 +1910,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Switch}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BAMBOO_BUTTON(21810, Switch.class),
/**
* BlockData: {@link Switch}
@@ -1933,6 +1959,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Powerable}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHERRY_PRESSURE_PLATE(8651, Powerable.class),
/**
* BlockData: {@link Powerable}
@@ -1945,6 +1972,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Powerable}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BAMBOO_PRESSURE_PLATE(26740, Powerable.class),
/**
* BlockData: {@link Powerable}
@@ -1981,6 +2009,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Door}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHERRY_DOOR(12684, Door.class),
/**
* BlockData: {@link Door}
@@ -1993,6 +2022,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Door}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BAMBOO_DOOR(19971, Door.class),
/**
* BlockData: {@link Door}
@@ -2029,6 +2059,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link TrapDoor}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHERRY_TRAPDOOR(6293, TrapDoor.class),
/**
* BlockData: {@link TrapDoor}
@@ -2041,6 +2072,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link TrapDoor}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BAMBOO_TRAPDOOR(9174, TrapDoor.class),
/**
* BlockData: {@link TrapDoor}
@@ -2073,6 +2105,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Gate}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHERRY_FENCE_GATE(28222, Gate.class),
/**
* BlockData: {@link Gate}
@@ -2085,6 +2118,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Gate}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BAMBOO_FENCE_GATE(14290, Gate.class),
/**
* BlockData: {@link Gate}
@@ -2129,13 +2163,17 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
JUNGLE_CHEST_BOAT(20133, 1),
ACACIA_BOAT(27326, 1),
ACACIA_CHEST_BOAT(28455, 1),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHERRY_BOAT(13628, 1),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHERRY_CHEST_BOAT(7165, 1),
DARK_OAK_BOAT(28618, 1),
DARK_OAK_CHEST_BOAT(8733, 1),
MANGROVE_BOAT(20792, 1),
MANGROVE_CHEST_BOAT(18572, 1),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BAMBOO_RAFT(25901, 1),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BAMBOO_CHEST_RAFT(20056, 1),
/**
* BlockData: {@link StructureBlock}
@@ -2261,6 +2299,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Sign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHERRY_SIGN(16520, 16, Sign.class),
/**
* BlockData: {@link Sign}
@@ -2273,6 +2312,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Sign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BAMBOO_SIGN(26139, 16, Sign.class),
/**
* BlockData: {@link Sign}
@@ -2285,46 +2325,57 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link HangingSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
OAK_HANGING_SIGN(20116, 16, HangingSign.class),
/**
* BlockData: {@link HangingSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
SPRUCE_HANGING_SIGN(24371, 16, HangingSign.class),
/**
* BlockData: {@link HangingSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BIRCH_HANGING_SIGN(17938, 16, HangingSign.class),
/**
* BlockData: {@link HangingSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
JUNGLE_HANGING_SIGN(27671, 16, HangingSign.class),
/**
* BlockData: {@link HangingSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ACACIA_HANGING_SIGN(30257, 16, HangingSign.class),
/**
* BlockData: {@link HangingSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHERRY_HANGING_SIGN(5088, 16, HangingSign.class),
/**
* BlockData: {@link HangingSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
DARK_OAK_HANGING_SIGN(23360, 16, HangingSign.class),
/**
* BlockData: {@link HangingSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
MANGROVE_HANGING_SIGN(25106, 16, HangingSign.class),
/**
* BlockData: {@link HangingSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BAMBOO_HANGING_SIGN(4726, 16, HangingSign.class),
/**
* BlockData: {@link HangingSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CRIMSON_HANGING_SIGN(20696, 16, HangingSign.class),
/**
* BlockData: {@link HangingSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
WARPED_HANGING_SIGN(8195, 16, HangingSign.class),
BUCKET(15215, 16),
WATER_BUCKET(8802, 1),
@@ -2348,6 +2399,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
EGG(21603, 16),
COMPASS(24139),
RECOVERY_COMPASS(12710),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BUNDLE(16835, 1),
FISHING_ROD(4167, 1, 64),
CLOCK(14980),
@@ -2488,6 +2540,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
BEE_SPAWN_EGG(22924),
BLAZE_SPAWN_EGG(4759),
CAT_SPAWN_EGG(29583),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CAMEL_SPAWN_EGG(14760),
CAVE_SPIDER_SPAWN_EGG(23341),
CHICKEN_SPAWN_EGG(5462),
@@ -2535,6 +2588,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
SKELETON_SPAWN_EGG(15261),
SKELETON_HORSE_SPAWN_EGG(21356),
SLIME_SPAWN_EGG(17196),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
SNIFFER_SPAWN_EGG(27473),
SNOW_GOLEM_SPAWN_EGG(24732),
SPIDER_SPAWN_EGG(14984),
@@ -2599,6 +2653,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Rotatable}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
PIGLIN_HEAD(5512, Rotatable.class),
NETHER_STAR(12469),
PUMPKIN_PIE(28725),
@@ -2690,6 +2745,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
END_CRYSTAL(19090),
CHORUS_FRUIT(7652),
POPPED_CHORUS_FRUIT(27844),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
TORCHFLOWER_SEEDS(18153),
BEETROOT(23305),
BEETROOT_SEEDS(21282),
@@ -2726,6 +2782,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
NAUTILUS_SHELL(19989),
HEART_OF_THE_SEA(11807),
CROSSBOW(4340, 1, 465),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
SUSPICIOUS_STEW(8173, 1),
/**
* BlockData: {@link Directional}
@@ -2937,22 +2994,39 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
PEARLESCENT_FROGLIGHT(21441, Orientable.class),
FROGSPAWN(8350),
ECHO_SHARD(12529),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BRUSH(30569, 1, 64),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
NETHERITE_UPGRADE_SMITHING_TEMPLATE(7615),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
SENTRY_ARMOR_TRIM_SMITHING_TEMPLATE(16124),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
DUNE_ARMOR_TRIM_SMITHING_TEMPLATE(30925),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
COAST_ARMOR_TRIM_SMITHING_TEMPLATE(25501),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
WILD_ARMOR_TRIM_SMITHING_TEMPLATE(5870),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
WARD_ARMOR_TRIM_SMITHING_TEMPLATE(24534),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
EYE_ARMOR_TRIM_SMITHING_TEMPLATE(14663),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
VEX_ARMOR_TRIM_SMITHING_TEMPLATE(25818),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
TIDE_ARMOR_TRIM_SMITHING_TEMPLATE(20420),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
SNOUT_ARMOR_TRIM_SMITHING_TEMPLATE(14386),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
RIB_ARMOR_TRIM_SMITHING_TEMPLATE(6010),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
SPIRE_ARMOR_TRIM_SMITHING_TEMPLATE(29143),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
POTTERY_SHARD_ARCHER(26154),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
POTTERY_SHARD_PRIZE(31677),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
POTTERY_SHARD_ARMS_UP(29222),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
POTTERY_SHARD_SKULL(14619),
/**
* BlockData: {@link Levelled}
@@ -3006,6 +3080,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link WallSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHERRY_WALL_SIGN(20188, 16, WallSign.class),
/**
* BlockData: {@link WallSign}
@@ -3022,50 +3097,62 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link WallSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BAMBOO_WALL_SIGN(18857, 16, WallSign.class),
/**
* BlockData: {@link WallHangingSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
OAK_WALL_HANGING_SIGN(15637, WallHangingSign.class),
/**
* BlockData: {@link WallHangingSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
SPRUCE_WALL_HANGING_SIGN(18833, WallHangingSign.class),
/**
* BlockData: {@link WallHangingSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BIRCH_WALL_HANGING_SIGN(15937, WallHangingSign.class),
/**
* BlockData: {@link WallHangingSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ACACIA_WALL_HANGING_SIGN(22477, WallHangingSign.class),
/**
* BlockData: {@link WallHangingSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHERRY_WALL_HANGING_SIGN(10953, WallHangingSign.class),
/**
* BlockData: {@link WallHangingSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
JUNGLE_WALL_HANGING_SIGN(16691, WallHangingSign.class),
/**
* BlockData: {@link WallHangingSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
DARK_OAK_WALL_HANGING_SIGN(14296, WallHangingSign.class),
/**
* BlockData: {@link WallHangingSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
MANGROVE_WALL_HANGING_SIGN(16974, WallHangingSign.class),
/**
* BlockData: {@link WallHangingSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CRIMSON_WALL_HANGING_SIGN(28982, WallHangingSign.class),
/**
* BlockData: {@link WallHangingSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
WARPED_WALL_HANGING_SIGN(20605, WallHangingSign.class),
/**
* BlockData: {@link WallHangingSign}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BAMBOO_WALL_HANGING_SIGN(6669, WallHangingSign.class),
/**
* BlockData: {@link RedstoneWallTorch}
@@ -3113,12 +3200,14 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
* BlockData: {@link Tripwire}
*/
TRIPWIRE(8810, Tripwire.class),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
POTTED_TORCHFLOWER(21278),
POTTED_OAK_SAPLING(11905),
POTTED_SPRUCE_SAPLING(29498),
POTTED_BIRCH_SAPLING(32484),
POTTED_JUNGLE_SAPLING(7525),
POTTED_ACACIA_SAPLING(14096),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
POTTED_CHERRY_SAPLING(30785),
POTTED_DARK_OAK_SAPLING(6486),
POTTED_MANGROVE_PROPAGULE(22003),
@@ -3175,6 +3264,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Directional}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
PIGLIN_WALL_HEAD(4446, Directional.class),
/**
* BlockData: {@link Directional}
@@ -3243,6 +3333,7 @@ public enum Material implements Keyed, Translatable, net.kyori.adventure.transla
/**
* BlockData: {@link Ageable}
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
TORCHFLOWER_CROP(28460, Ageable.class),
/**
* BlockData: {@link Ageable}
diff --git a/src/main/java/org/bukkit/Particle.java b/src/main/java/org/bukkit/Particle.java
index 93244e6d940891f1297d4a26a80ba155af306071..caa34db68bdbbc8dceefb4385f4585ac0496a0f9 100644
--- a/src/main/java/org/bukkit/Particle.java
+++ b/src/main/java/org/bukkit/Particle.java
@@ -123,8 +123,11 @@ public enum Particle {
SCULK_CHARGE(Float.class),
SCULK_CHARGE_POP,
SHRIEK(Integer.class),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
DRIPPING_CHERRY_LEAVES,
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
FALLING_CHERRY_LEAVES,
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
LANDING_CHERRY_LEAVES,
/**
* Uses {@link BlockData} as DataType
diff --git a/src/main/java/org/bukkit/Sound.java b/src/main/java/org/bukkit/Sound.java
index fad12a883046010274c8b44426096bfe4703bcc3..5537a0a86b8d360ad540e1dff3b872098fe2ad6b 100644
--- a/src/main/java/org/bukkit/Sound.java
+++ b/src/main/java/org/bukkit/Sound.java
@@ -76,25 +76,45 @@ public enum Sound implements Keyed, net.kyori.adventure.sound.Sound.Type { // Pa
BLOCK_BAMBOO_SAPLING_HIT("block.bamboo_sapling.hit"),
BLOCK_BAMBOO_SAPLING_PLACE("block.bamboo_sapling.place"),
BLOCK_BAMBOO_STEP("block.bamboo.step"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_BAMBOO_WOOD_BREAK("block.bamboo_wood.break"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_BAMBOO_WOOD_BUTTON_CLICK_OFF("block.bamboo_wood_button.click_off"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_BAMBOO_WOOD_BUTTON_CLICK_ON("block.bamboo_wood_button.click_on"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_BAMBOO_WOOD_DOOR_CLOSE("block.bamboo_wood_door.close"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_BAMBOO_WOOD_DOOR_OPEN("block.bamboo_wood_door.open"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_BAMBOO_WOOD_FALL("block.bamboo_wood.fall"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_BAMBOO_WOOD_FENCE_GATE_CLOSE("block.bamboo_wood_fence_gate.close"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_BAMBOO_WOOD_FENCE_GATE_OPEN("block.bamboo_wood_fence_gate.open"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_BAMBOO_WOOD_HANGING_SIGN_BREAK("block.bamboo_wood_hanging_sign.break"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_BAMBOO_WOOD_HANGING_SIGN_FALL("block.bamboo_wood_hanging_sign.fall"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_BAMBOO_WOOD_HANGING_SIGN_HIT("block.bamboo_wood_hanging_sign.hit"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_BAMBOO_WOOD_HANGING_SIGN_PLACE("block.bamboo_wood_hanging_sign.place"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_BAMBOO_WOOD_HANGING_SIGN_STEP("block.bamboo_wood_hanging_sign.step"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_BAMBOO_WOOD_HIT("block.bamboo_wood.hit"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_BAMBOO_WOOD_PLACE("block.bamboo_wood.place"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_BAMBOO_WOOD_PRESSURE_PLATE_CLICK_OFF("block.bamboo_wood_pressure_plate.click_off"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_BAMBOO_WOOD_PRESSURE_PLATE_CLICK_ON("block.bamboo_wood_pressure_plate.click_on"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_BAMBOO_WOOD_STEP("block.bamboo_wood.step"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_BAMBOO_WOOD_TRAPDOOR_CLOSE("block.bamboo_wood_trapdoor.close"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_BAMBOO_WOOD_TRAPDOOR_OPEN("block.bamboo_wood_trapdoor.open"),
BLOCK_BARREL_CLOSE("block.barrel.close"),
BLOCK_BARREL_OPEN("block.barrel.open"),
@@ -158,47 +178,86 @@ public enum Sound implements Keyed, net.kyori.adventure.sound.Sound.Type { // Pa
BLOCK_CHAIN_HIT("block.chain.hit"),
BLOCK_CHAIN_PLACE("block.chain.place"),
BLOCK_CHAIN_STEP("block.chain.step"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_LEAVES_BREAK("block.cherry_leaves.break"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_LEAVES_FALL("block.cherry_leaves.fall"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_LEAVES_HIT("block.cherry_leaves.hit"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_LEAVES_PLACE("block.cherry_leaves.place"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_LEAVES_STEP("block.cherry_leaves.step"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_SAPLING_BREAK("block.cherry_sapling.break"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_SAPLING_FALL("block.cherry_sapling.fall"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_SAPLING_HIT("block.cherry_sapling.hit"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_SAPLING_PLACE("block.cherry_sapling.place"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_SAPLING_STEP("block.cherry_sapling.step"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_WOOD_BREAK("block.cherry_wood.break"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_WOOD_BUTTON_CLICK_OFF("block.cherry_wood_button.click_off"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_WOOD_BUTTON_CLICK_ON("block.cherry_wood_button.click_on"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_WOOD_DOOR_CLOSE("block.cherry_wood_door.close"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_WOOD_DOOR_OPEN("block.cherry_wood_door.open"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_WOOD_FALL("block.cherry_wood.fall"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_WOOD_FENCE_GATE_CLOSE("block.cherry_wood_fence_gate.close"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_WOOD_FENCE_GATE_OPEN("block.cherry_wood_fence_gate.open"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_WOOD_HANGING_SIGN_BREAK("block.cherry_wood_hanging_sign.break"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_WOOD_HANGING_SIGN_FALL("block.cherry_wood_hanging_sign.fall"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_WOOD_HANGING_SIGN_HIT("block.cherry_wood_hanging_sign.hit"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_WOOD_HANGING_SIGN_PLACE("block.cherry_wood_hanging_sign.place"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_WOOD_HANGING_SIGN_STEP("block.cherry_wood_hanging_sign.step"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_WOOD_HIT("block.cherry_wood.hit"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_WOOD_PLACE("block.cherry_wood.place"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_WOOD_PRESSURE_PLATE_CLICK_OFF("block.cherry_wood_pressure_plate.click_off"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_WOOD_PRESSURE_PLATE_CLICK_ON("block.cherry_wood_pressure_plate.click_on"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_WOOD_STEP("block.cherry_wood.step"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_WOOD_TRAPDOOR_CLOSE("block.cherry_wood_trapdoor.close"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHERRY_WOOD_TRAPDOOR_OPEN("block.cherry_wood_trapdoor.open"),
BLOCK_CHEST_CLOSE("block.chest.close"),
BLOCK_CHEST_LOCKED("block.chest.locked"),
BLOCK_CHEST_OPEN("block.chest.open"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHISELED_BOOKSHELF_BREAK("block.chiseled_bookshelf.break"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHISELED_BOOKSHELF_FALL("block.chiseled_bookshelf.fall"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHISELED_BOOKSHELF_HIT("block.chiseled_bookshelf.hit"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHISELED_BOOKSHELF_INSERT("block.chiseled_bookshelf.insert"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHISELED_BOOKSHELF_INSERT_ENCHANTED("block.chiseled_bookshelf.insert.enchanted"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHISELED_BOOKSHELF_PICKUP("block.chiseled_bookshelf.pickup"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHISELED_BOOKSHELF_PICKUP_ENCHANTED("block.chiseled_bookshelf.pickup.enchanted"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHISELED_BOOKSHELF_PLACE("block.chiseled_bookshelf.place"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_CHISELED_BOOKSHELF_STEP("block.chiseled_bookshelf.step"),
BLOCK_CHORUS_FLOWER_DEATH("block.chorus_flower.death"),
BLOCK_CHORUS_FLOWER_GROW("block.chorus_flower.grow"),
@@ -223,11 +282,17 @@ public enum Sound implements Keyed, net.kyori.adventure.sound.Sound.Type { // Pa
BLOCK_CORAL_BLOCK_PLACE("block.coral_block.place"),
BLOCK_CORAL_BLOCK_STEP("block.coral_block.step"),
BLOCK_CROP_BREAK("block.crop.break"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_DECORATED_POT_BREAK("block.decorated_pot.break"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_DECORATED_POT_FALL("block.decorated_pot.fall"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_DECORATED_POT_HIT("block.decorated_pot.hit"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_DECORATED_POT_PLACE("block.decorated_pot.place"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_DECORATED_POT_SHATTER("block.decorated_pot.shatter"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_DECORATED_POT_STEP("block.decorated_pot.step"),
BLOCK_DEEPSLATE_BREAK("block.deepslate.break"),
BLOCK_DEEPSLATE_BRICKS_BREAK("block.deepslate_bricks.break"),
@@ -311,10 +376,15 @@ public enum Sound implements Keyed, net.kyori.adventure.sound.Sound.Type { // Pa
BLOCK_HANGING_ROOTS_HIT("block.hanging_roots.hit"),
BLOCK_HANGING_ROOTS_PLACE("block.hanging_roots.place"),
BLOCK_HANGING_ROOTS_STEP("block.hanging_roots.step"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_HANGING_SIGN_BREAK("block.hanging_sign.break"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_HANGING_SIGN_FALL("block.hanging_sign.fall"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_HANGING_SIGN_HIT("block.hanging_sign.hit"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_HANGING_SIGN_PLACE("block.hanging_sign.place"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_HANGING_SIGN_STEP("block.hanging_sign.step"),
BLOCK_HONEY_BLOCK_BREAK("block.honey_block.break"),
BLOCK_HONEY_BLOCK_FALL("block.honey_block.fall"),
@@ -450,11 +520,17 @@ public enum Sound implements Keyed, net.kyori.adventure.sound.Sound.Type { // Pa
BLOCK_NOTE_BLOCK_GUITAR("block.note_block.guitar"),
BLOCK_NOTE_BLOCK_HARP("block.note_block.harp"),
BLOCK_NOTE_BLOCK_HAT("block.note_block.hat"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_NOTE_BLOCK_IMITATE_CREEPER("block.note_block.imitate.creeper"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_NOTE_BLOCK_IMITATE_ENDER_DRAGON("block.note_block.imitate.ender_dragon"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_NOTE_BLOCK_IMITATE_PIGLIN("block.note_block.imitate.piglin"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_NOTE_BLOCK_IMITATE_SKELETON("block.note_block.imitate.skeleton"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_NOTE_BLOCK_IMITATE_WITHER_SKELETON("block.note_block.imitate.wither_skeleton"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_NOTE_BLOCK_IMITATE_ZOMBIE("block.note_block.imitate.zombie"),
BLOCK_NOTE_BLOCK_IRON_XYLOPHONE("block.note_block.iron_xylophone"),
BLOCK_NOTE_BLOCK_PLING("block.note_block.pling"),
@@ -470,10 +546,15 @@ public enum Sound implements Keyed, net.kyori.adventure.sound.Sound.Type { // Pa
BLOCK_PACKED_MUD_HIT("block.packed_mud.hit"),
BLOCK_PACKED_MUD_PLACE("block.packed_mud.place"),
BLOCK_PACKED_MUD_STEP("block.packed_mud.step"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_PINK_PETALS_BREAK("block.pink_petals.break"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_PINK_PETALS_FALL("block.pink_petals.fall"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_PINK_PETALS_HIT("block.pink_petals.hit"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_PINK_PETALS_PLACE("block.pink_petals.place"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_PINK_PETALS_STEP("block.pink_petals.step"),
BLOCK_PISTON_CONTRACT("block.piston.contract"),
BLOCK_PISTON_EXTEND("block.piston.extend"),
@@ -612,10 +693,15 @@ public enum Sound implements Keyed, net.kyori.adventure.sound.Sound.Type { // Pa
BLOCK_STONE_PRESSURE_PLATE_CLICK_OFF("block.stone_pressure_plate.click_off"),
BLOCK_STONE_PRESSURE_PLATE_CLICK_ON("block.stone_pressure_plate.click_on"),
BLOCK_STONE_STEP("block.stone.step"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_SUSPICIOUS_SAND_BREAK("block.suspicious_sand.break"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_SUSPICIOUS_SAND_FALL("block.suspicious_sand.fall"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_SUSPICIOUS_SAND_HIT("block.suspicious_sand.hit"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_SUSPICIOUS_SAND_PLACE("block.suspicious_sand.place"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
BLOCK_SUSPICIOUS_SAND_STEP("block.suspicious_sand.step"),
BLOCK_SWEET_BERRY_BUSH_BREAK("block.sweet_berry_bush.break"),
BLOCK_SWEET_BERRY_BUSH_PICK_BERRIES("block.sweet_berry_bush.pick_berries"),
@@ -708,16 +794,27 @@ public enum Sound implements Keyed, net.kyori.adventure.sound.Sound.Type { // Pa
ENTITY_BLAZE_SHOOT("entity.blaze.shoot"),
ENTITY_BOAT_PADDLE_LAND("entity.boat.paddle_land"),
ENTITY_BOAT_PADDLE_WATER("entity.boat.paddle_water"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ENTITY_CAMEL_AMBIENT("entity.camel.ambient"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ENTITY_CAMEL_DASH("entity.camel.dash"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ENTITY_CAMEL_DASH_READY("entity.camel.dash_ready"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ENTITY_CAMEL_DEATH("entity.camel.death"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ENTITY_CAMEL_EAT("entity.camel.eat"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ENTITY_CAMEL_HURT("entity.camel.hurt"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ENTITY_CAMEL_SADDLE("entity.camel.saddle"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ENTITY_CAMEL_SIT("entity.camel.sit"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ENTITY_CAMEL_STAND("entity.camel.stand"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ENTITY_CAMEL_STEP("entity.camel.step"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ENTITY_CAMEL_STEP_SAND("entity.camel.step_sand"),
ENTITY_CAT_AMBIENT("entity.cat.ambient"),
ENTITY_CAT_BEG_FOR_FOOD("entity.cat.beg_for_food"),
@@ -1159,17 +1256,29 @@ public enum Sound implements Keyed, net.kyori.adventure.sound.Sound.Type { // Pa
ENTITY_SLIME_JUMP_SMALL("entity.slime.jump_small"),
ENTITY_SLIME_SQUISH("entity.slime.squish"),
ENTITY_SLIME_SQUISH_SMALL("entity.slime.squish_small"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ENTITY_SNIFFER_DEATH("entity.sniffer.death"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ENTITY_SNIFFER_DIGGING("entity.sniffer.digging"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ENTITY_SNIFFER_DIGGING_STOP("entity.sniffer.digging_stop"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ENTITY_SNIFFER_DROP_SEED("entity.sniffer.drop_seed"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ENTITY_SNIFFER_EAT("entity.sniffer.eat"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ENTITY_SNIFFER_HAPPY("entity.sniffer.happy"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ENTITY_SNIFFER_HURT("entity.sniffer.hurt"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ENTITY_SNIFFER_IDLE("entity.sniffer.idle"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ENTITY_SNIFFER_SCENTING("entity.sniffer.scenting"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ENTITY_SNIFFER_SEARCHING("entity.sniffer.searching"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ENTITY_SNIFFER_SNIFFING("entity.sniffer.sniffing"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ENTITY_SNIFFER_STEP("entity.sniffer.step"),
ENTITY_SNOWBALL_THROW("entity.snowball.throw"),
ENTITY_SNOW_GOLEM_AMBIENT("entity.snow_golem.ambient"),
@@ -1353,7 +1462,9 @@ public enum Sound implements Keyed, net.kyori.adventure.sound.Sound.Type { // Pa
ITEM_BOTTLE_EMPTY("item.bottle.empty"),
ITEM_BOTTLE_FILL("item.bottle.fill"),
ITEM_BOTTLE_FILL_DRAGONBREATH("item.bottle.fill_dragonbreath"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ITEM_BRUSH_BRUSHING("item.brush.brushing"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
ITEM_BRUSH_BRUSH_SAND_COMPLETED("item.brush.brush_sand_completed"),
ITEM_BUCKET_EMPTY("item.bucket.empty"),
ITEM_BUCKET_EMPTY_AXOLOTL("item.bucket.empty_axolotl"),
@@ -1440,6 +1551,7 @@ public enum Sound implements Keyed, net.kyori.adventure.sound.Sound.Type { // Pa
MUSIC_NETHER_NETHER_WASTES("music.nether.nether_wastes"),
MUSIC_NETHER_SOUL_SAND_VALLEY("music.nether.soul_sand_valley"),
MUSIC_NETHER_WARPED_FOREST("music.nether.warped_forest"),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
MUSIC_OVERWORLD_CHERRY_GROVE("music.overworld.cherry_grove"),
MUSIC_OVERWORLD_DEEP_DARK("music.overworld.deep_dark"),
MUSIC_OVERWORLD_DRIPSTONE_CAVES("music.overworld.dripstone_caves"),
diff --git a/src/main/java/org/bukkit/Tag.java b/src/main/java/org/bukkit/Tag.java
index 8f9a18ae5cdc51a2cc4ac0e45781fdce91172b6c..0316b32502f151e6eef86c2a0fe19ed67dce652f 100644
--- a/src/main/java/org/bukkit/Tag.java
+++ b/src/main/java/org/bukkit/Tag.java
@@ -122,6 +122,7 @@ public interface Tag<T extends Keyed> extends Keyed {
/**
* Vanilla block tag representing all cherry log and bark variants.
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
Tag<Material> CHERRY_LOGS = Bukkit.getTag(REGISTRY_BLOCKS, NamespacedKey.minecraft("cherry_logs"), Material.class);
/**
* Vanilla block tag representing all jungle log and bark variants.
@@ -146,6 +147,7 @@ public interface Tag<T extends Keyed> extends Keyed {
/**
* Vanilla block tag representing all bamboo blocks.
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
Tag<Material> BAMBOO_BLOCKS = Bukkit.getTag(REGISTRY_BLOCKS, NamespacedKey.minecraft("bamboo_blocks"), Material.class);
/**
* Vanilla block tag representing all banner blocks.
@@ -320,14 +322,17 @@ public interface Tag<T extends Keyed> extends Keyed {
/**
* Vanilla block tag representing all ceiling signs.
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
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 - 1.20
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 - 1.20
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.
@@ -691,6 +696,7 @@ public interface Tag<T extends Keyed> extends Keyed {
/**
* Vanilla block tag representing blocks which can be dug by sniffers.
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
Tag<Material> SNIFFER_DIGGABLE_BLOCK = Bukkit.getTag(REGISTRY_BLOCKS, NamespacedKey.minecraft("sniffer_diggable_block"), Material.class);
/**
* Key for the built in item registry.
@@ -757,6 +763,7 @@ public interface Tag<T extends Keyed> extends Keyed {
/**
* Vanilla item tag representing all books that may be placed on bookshelves.
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
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.
@@ -777,6 +784,7 @@ public interface Tag<T extends Keyed> extends Keyed {
/**
* Vanilla item tag representing all hanging signs.
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
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
@@ -786,26 +794,32 @@ public interface Tag<T extends Keyed> extends Keyed {
/**
* Vanilla item tag representing all items which modify note block sounds when placed on top.
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
Tag<Material> ITEMS_NOTE_BLOCK_TOP_INSTRUMENTS = Bukkit.getTag(REGISTRY_ITEMS, NamespacedKey.minecraft("noteblock_top_instruments"), Material.class);
/**
* Vanilla item tag representing all trimmable armor items.
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
Tag<Material> ITEMS_TRIMMABLE_ARMOR = Bukkit.getTag(REGISTRY_ITEMS, NamespacedKey.minecraft("trimmable_armor"), Material.class);
/**
* Vanilla item tag representing all materials which can be used for trimming armor.
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
Tag<Material> ITEMS_TRIM_MATERIALS = Bukkit.getTag(REGISTRY_ITEMS, NamespacedKey.minecraft("trim_materials"), Material.class);
/**
* Vanilla item tag representing all trimming templates.
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
Tag<Material> ITEMS_TRIM_TEMPLATES = Bukkit.getTag(REGISTRY_ITEMS, NamespacedKey.minecraft("trim_templates"), Material.class);
/**
* Vanilla item tag representing all food for sniffers.
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
Tag<Material> ITEMS_SNIFFER_FOOD = Bukkit.getTag(REGISTRY_ITEMS, NamespacedKey.minecraft("sniffer_food"), Material.class);
/**
* Vanilla item tag representing all decorated pot shards.
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
Tag<Material> ITEMS_DECORATED_POT_SHARDS = Bukkit.getTag(REGISTRY_ITEMS, NamespacedKey.minecraft("decorated_pot_shards"), Material.class);
/**
* Vanilla item tag representing all swords.
@@ -834,6 +848,7 @@ public interface Tag<T extends Keyed> extends Keyed {
/**
* Vanilla item tag representing all item which break decorated pots.
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
Tag<Material> ITEMS_BREAKS_DECORATED_POTS = Bukkit.getTag(REGISTRY_ITEMS, NamespacedKey.minecraft("breaks_decorated_pots"), Material.class);
/**
* Vanilla item tag representing all items that confer freeze immunity on
diff --git a/src/main/java/org/bukkit/TreeType.java b/src/main/java/org/bukkit/TreeType.java
index d355c91748796f74064b5c34090f1ccafc0f1de0..ab40b68c8c4a32e3ae10708d230658560f448288 100644
--- a/src/main/java/org/bukkit/TreeType.java
+++ b/src/main/java/org/bukkit/TreeType.java
@@ -96,5 +96,6 @@ public enum TreeType {
/**
* Cherry tree
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHERRY,
}
diff --git a/src/main/java/org/bukkit/block/Biome.java b/src/main/java/org/bukkit/block/Biome.java
index 5d8fa5b39a5d50cca48ba63af3a84b80f279b649..612ebdd08816438f5532f367ce2f64eb3a9803ff 100644
--- a/src/main/java/org/bukkit/block/Biome.java
+++ b/src/main/java/org/bukkit/block/Biome.java
@@ -72,6 +72,7 @@ public enum Biome implements Keyed, net.kyori.adventure.translation.Translatable
FROZEN_PEAKS,
JAGGED_PEAKS,
STONY_PEAKS,
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHERRY_GROVE,
/**
* Represents a custom Biome
diff --git a/src/main/java/org/bukkit/block/ChiseledBookshelf.java b/src/main/java/org/bukkit/block/ChiseledBookshelf.java
index 4cae298f18b35f73e3a64d5c8926bdc0f0402c4b..fee629dce62bc3978204f9b3a8e0aab72197ccfb 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 - 1.20
public interface ChiseledBookshelf extends TileState, BlockInventoryHolder {
/**
diff --git a/src/main/java/org/bukkit/block/DecoratedPot.java b/src/main/java/org/bukkit/block/DecoratedPot.java
index c943d2e5c99244067a806954b962738463ee8cfb..4ee094e5d479bfba999c0b522b844a5adde12f18 100644
--- a/src/main/java/org/bukkit/block/DecoratedPot.java
+++ b/src/main/java/org/bukkit/block/DecoratedPot.java
@@ -8,6 +8,7 @@ import org.jetbrains.annotations.Nullable;
/**
* Represents a captured state of a decorated pot.
*/
+@org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
public interface DecoratedPot extends TileState {
/**
diff --git a/src/main/java/org/bukkit/block/HangingSign.java b/src/main/java/org/bukkit/block/HangingSign.java
index 9bef6c6597222833f6c36bbfc382849fecad4439..519b32ae3d7ec29183fdcbbda590595e6f920877 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 - 1.20
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 c7502a3913cf14e66559c21489d6f2205f3eb06a..d39196e729627fc08edfa0b80a3b92868bc3bd34 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 - 1.20
@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 - 1.20
public void setNoteBlockSound(@Nullable NamespacedKey noteBlockSound);
/**
diff --git a/src/main/java/org/bukkit/block/SuspiciousSand.java b/src/main/java/org/bukkit/block/SuspiciousSand.java
index 2f64b66d1066c368adac16f6f79c5280da61176f..a29d600638b7931e0271b4e0d025e4063b34e25d 100644
--- a/src/main/java/org/bukkit/block/SuspiciousSand.java
+++ b/src/main/java/org/bukkit/block/SuspiciousSand.java
@@ -7,6 +7,7 @@ import org.jetbrains.annotations.Nullable;
/**
* Represents a captured state of suspicious sand.
*/
+@org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
public interface SuspiciousSand extends Lootable, TileState {
/**
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..0456fba0ac9e8fd9eebf9850d425c1353686ceca 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 - 1.20
public interface ChiseledBookshelf extends Directional {
/**
diff --git a/src/main/java/org/bukkit/block/data/type/DecoratedPot.java b/src/main/java/org/bukkit/block/data/type/DecoratedPot.java
index eb0ffa977450ef0c79caa78302cfe75ee35b34b7..965dc4360fb5cf964a9093bf6519bfcc27981679 100644
--- a/src/main/java/org/bukkit/block/data/type/DecoratedPot.java
+++ b/src/main/java/org/bukkit/block/data/type/DecoratedPot.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 - 1.20
public interface DecoratedPot extends Directional, Waterlogged {
}
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..91af0bb0830bd1b964c1ee603e462486456c6101 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 - 1.20
public interface HangingSign extends Attachable, Rotatable, Waterlogged {
}
diff --git a/src/main/java/org/bukkit/block/data/type/PinkPetals.java b/src/main/java/org/bukkit/block/data/type/PinkPetals.java
index a84b36f7587eb2ed9e9177973b3166dc94cdf3df..33893e1d37c0a2447b632208f9e05495c5e1d31c 100644
--- a/src/main/java/org/bukkit/block/data/type/PinkPetals.java
+++ b/src/main/java/org/bukkit/block/data/type/PinkPetals.java
@@ -5,6 +5,7 @@ import org.bukkit.block.data.Directional;
/**
* 'flower_amount' represents the number of petals.
*/
+@org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
public interface PinkPetals extends Directional {
/**
diff --git a/src/main/java/org/bukkit/block/data/type/SuspiciousSand.java b/src/main/java/org/bukkit/block/data/type/SuspiciousSand.java
index bb10fda9449ec0ea8a17158c33b345fdf882175d..d4520375a5c093df510c2e68fb1034536ef0734f 100644
--- a/src/main/java/org/bukkit/block/data/type/SuspiciousSand.java
+++ b/src/main/java/org/bukkit/block/data/type/SuspiciousSand.java
@@ -5,6 +5,7 @@ import org.bukkit.block.data.BlockData;
/**
* 'dusted' represents how far uncovered by brush the block is.
*/
+@org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
public interface SuspiciousSand extends BlockData {
/**
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..1f5da84daebb58a546c6a3d2646a5aad9b2ed7a3 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 - 1.20
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
index f7548098bcdd033d9c530fdc584fc5538c635ca1..b2305bc7faf1f7edbbf11522970384172808894c 100644
--- a/src/main/java/org/bukkit/entity/Boat.java
+++ b/src/main/java/org/bukkit/entity/Boat.java
@@ -141,9 +141,11 @@ public interface Boat extends Vehicle {
BIRCH(Material.BIRCH_PLANKS),
JUNGLE(Material.JUNGLE_PLANKS),
ACACIA(Material.ACACIA_PLANKS),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHERRY(Material.CHERRY_PLANKS),
DARK_OAK(Material.DARK_OAK_PLANKS),
MANGROVE(Material.MANGROVE_PLANKS),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
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..7280c3090cdf77f1bc13e3a2d6e35bd89ea8a22c 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 - 1.20
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
index 9f935266f51f4ea5d1193031f52e5327350cc06f..ee3a3bda9a5b9cf3bcabf80ee3c653a2959fab0c 100644
--- a/src/main/java/org/bukkit/entity/EntityType.java
+++ b/src/main/java/org/bukkit/entity/EntityType.java
@@ -278,10 +278,12 @@ public enum EntityType implements Keyed, Translatable, net.kyori.adventure.trans
FROG("frog", Frog.class, -1),
TADPOLE("tadpole", Tadpole.class, -1),
WARDEN("warden", Warden.class, -1),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CAMEL("camel", Camel.class, -1),
BLOCK_DISPLAY("block_display", BlockDisplay.class, -1),
INTERACTION("interaction", Interaction.class, -1),
ITEM_DISPLAY("item_display", ItemDisplay.class, -1),
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
SNIFFER("sniffer", Sniffer.class, -1),
TEXT_DISPLAY("text_display", TextDisplay.class, -1),
/**
diff --git a/src/main/java/org/bukkit/entity/Sniffer.java b/src/main/java/org/bukkit/entity/Sniffer.java
index dc640c44660acef8f2d17283426052fe7e9e8ae2..50c953619dc8139f064ba139e75a397325ae8cd4 100644
--- a/src/main/java/org/bukkit/entity/Sniffer.java
+++ b/src/main/java/org/bukkit/entity/Sniffer.java
@@ -3,6 +3,7 @@ package org.bukkit.entity;
/**
* Represents a Sniffer.
*/
+@org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
public interface Sniffer extends Animals {
}
diff --git a/src/main/java/org/bukkit/entity/memory/MemoryKey.java b/src/main/java/org/bukkit/entity/memory/MemoryKey.java
index 8f601e85df580ef8106eaff8b9eafb5691a4874b..99ca502a14e3f321c323d7675bc47e7ee77d7464 100644
--- a/src/main/java/org/bukkit/entity/memory/MemoryKey.java
+++ b/src/main/java/org/bukkit/entity/memory/MemoryKey.java
@@ -69,6 +69,7 @@ public final class MemoryKey<T> implements Keyed {
public static final MemoryKey<Location> LIKED_NOTEBLOCK_POSITION = new MemoryKey<>(NamespacedKey.minecraft("liked_noteblock"), Location.class);
public static final MemoryKey<Integer> LIKED_NOTEBLOCK_COOLDOWN_TICKS = new MemoryKey<>(NamespacedKey.minecraft("liked_noteblock_cooldown_ticks"), Integer.class);
public static final MemoryKey<Integer> ITEM_PICKUP_COOLDOWN_TICKS = new MemoryKey<>(NamespacedKey.minecraft("item_pickup_cooldown_ticks"), Integer.class);
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
public static final MemoryKey<Location> SNIFFER_EXPLORED_POSITIONS = new MemoryKey<>(NamespacedKey.minecraft("sniffer_explored_positions"), Location.class);
/**
diff --git a/src/main/java/org/bukkit/event/inventory/InventoryType.java b/src/main/java/org/bukkit/event/inventory/InventoryType.java
index 456eb20f8d603b1ebbaa11b8832e56c08406b7c9..374b06a5e098f81dfe059df35f02139afd1e7991 100644
--- a/src/main/java/org/bukkit/event/inventory/InventoryType.java
+++ b/src/main/java/org/bukkit/event/inventory/InventoryType.java
@@ -137,13 +137,14 @@ public enum InventoryType {
/**
* Pseudo chiseled bookshelf inventory, with 6 slots of undefined type.
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
CHISELED_BOOKSHELF(6, "Chiseled Bookshelf"),
/**
* The new smithing inventory, with 3 CRAFTING slots and 1 RESULT slot.
*
* @deprecated draft, experimental 1.20 API
*/
- @Deprecated
+ @Deprecated @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
SMITHING_NEW(4, "Upgrade Gear"),
;
diff --git a/src/main/java/org/bukkit/inventory/ChiseledBookshelfInventory.java b/src/main/java/org/bukkit/inventory/ChiseledBookshelfInventory.java
index b99f26079c14931d443615fa81eac9791080ecb0..dadb5b3563b5835c821a2d55d1f076a58f73230d 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 - 1.20
public interface ChiseledBookshelfInventory extends Inventory {
@Nullable
diff --git a/src/main/java/org/bukkit/inventory/ItemFlag.java b/src/main/java/org/bukkit/inventory/ItemFlag.java
index 4e637420b9a39b822be19367a16da93f236549b3..615cd9994be8a988b474eb512d9e9b7ace743a7a 100644
--- a/src/main/java/org/bukkit/inventory/ItemFlag.java
+++ b/src/main/java/org/bukkit/inventory/ItemFlag.java
@@ -37,5 +37,6 @@ public enum ItemFlag {
/**
* Setting to show/hide armor trim from armor.
*/
+ @org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
HIDE_ARMOR_TRIM;
}
diff --git a/src/main/java/org/bukkit/inventory/SmithingTransformRecipe.java b/src/main/java/org/bukkit/inventory/SmithingTransformRecipe.java
index 08fd3eca8383cdc2d06c3ce973e8c402d279077e..c845b68217eef87668d0bd725c51181312128f47 100644
--- a/src/main/java/org/bukkit/inventory/SmithingTransformRecipe.java
+++ b/src/main/java/org/bukkit/inventory/SmithingTransformRecipe.java
@@ -6,6 +6,7 @@ import org.jetbrains.annotations.NotNull;
/**
* Represents a smithing transform recipe.
*/
+@org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
public class SmithingTransformRecipe extends SmithingRecipe {
private final RecipeChoice template;
diff --git a/src/main/java/org/bukkit/inventory/SmithingTrimRecipe.java b/src/main/java/org/bukkit/inventory/SmithingTrimRecipe.java
index 32cbdc342615e76ff7a896e67cb0736b0bdf1978..69655ab0ece84c1d9a440c476fae7679f7c9cdf3 100644
--- a/src/main/java/org/bukkit/inventory/SmithingTrimRecipe.java
+++ b/src/main/java/org/bukkit/inventory/SmithingTrimRecipe.java
@@ -7,6 +7,7 @@ import org.jetbrains.annotations.NotNull;
/**
* Represents a smithing trim recipe.
*/
+@org.jetbrains.annotations.ApiStatus.Experimental // Paper - 1.20
public class SmithingTrimRecipe extends SmithingRecipe implements ComplexRecipe {
private final RecipeChoice template;
diff --git a/src/main/java/org/bukkit/inventory/meta/BundleMeta.java b/src/main/java/org/bukkit/inventory/meta/BundleMeta.java
index bc992fdf6d5517995547d136e8cdbe4bd3496abe..72663706cce18a19697828f16b782c12168fb8f3 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 - 1.20
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 862640b4611458dfbcd3be797eacd120fc8d1f9f..cf2313a0bbf74eaa6ef1d792356f1b05614eeeae 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 - 1.20
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 - 1.20
@Nullable
NamespacedKey getNoteBlockSound();