Commits
Doc authored and md_5 committed 33498e1d9a1
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 + | |
17 + | 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 | |