Commits

Doc authored and md_5 committed 33498e1d9a1
#831: Add a standard of annotations for Minecraft experimental things and API

Co-authored-by: 2008Choco <hawkeboyz2@hotmail.com>
No tags

src/main/java/org/bukkit/block/data/type/ChiseledBookshelf.java

Modified
1 1 package org.bukkit.block.data.type;
2 2
3 3 import java.util.Set;
4 +import org.bukkit.MinecraftExperimental;
4 5 import org.bukkit.block.data.Directional;
6 +import org.jetbrains.annotations.ApiStatus;
5 7 import org.jetbrains.annotations.NotNull;
6 8
7 9 /**
8 10 * Interface to the 'slot_0_occupied', 'slow_1_occupied' ... 'slot_5_occupied'
9 11 * flags on a bookshelf which indicate which slots are occupied rendered on the
10 12 * outside.
11 13 * <br>
12 14 * Block may have 0, 1... {@link #getMaximumOccupiedSlots()}-1 occupied slots.
13 15 */
16 +@MinecraftExperimental
17 +@ApiStatus.Experimental
14 18 public interface ChiseledBookshelf extends Directional {
15 19
16 20 /**
17 21 * Checks if the following slot is occupied.
18 22 *
19 23 * @param slot to check
20 24 * @return if slot is occupied
21 25 */
22 26 boolean isSlotOccupied(int slot);
23 27

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut