#906: Add missing MinecraftExperimental annotation to Bundles

By: Doc <nachito94@msn.com>
This commit is contained in:
Bukkit/Spigot 2023-09-23 10:33:13 +10:00
parent 27975d2062
commit eef02e5dd2
2 changed files with 8 additions and 1 deletions

View file

@ -1391,8 +1391,11 @@ public enum Sound implements Keyed {
ITEM_BUCKET_FILL_LAVA("item.bucket.fill_lava"),
ITEM_BUCKET_FILL_POWDER_SNOW("item.bucket.fill_powder_snow"),
ITEM_BUCKET_FILL_TADPOLE("item.bucket.fill_tadpole"),
@MinecraftExperimental
ITEM_BUNDLE_DROP_CONTENTS("item.bundle.drop_contents"),
@MinecraftExperimental
ITEM_BUNDLE_INSERT("item.bundle.insert"),
@MinecraftExperimental
ITEM_BUNDLE_REMOVE_ONE("item.bundle.remove_one"),
ITEM_CHORUS_FRUIT_TELEPORT("item.chorus_fruit.teleport"),
ITEM_CROP_PLANT("item.crop.plant"),

View file

@ -1,10 +1,14 @@
package org.bukkit.inventory.meta;
import java.util.List;
import org.bukkit.MinecraftExperimental;
import org.bukkit.inventory.ItemStack;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@MinecraftExperimental
@ApiStatus.Experimental
public interface BundleMeta extends ItemMeta {
/**
@ -24,7 +28,7 @@ public interface BundleMeta extends ItemMeta {
/**
* Sets the items stored in this item.
*
* <br>
* Removes all items when given null.
*
* @param items the items to set