File tree Expand file tree Collapse file tree 12 files changed +5
-23
lines changed
src/main/java/net/theevilreaper/aves Expand file tree Collapse file tree 12 files changed +5
-23
lines changed Original file line number Diff line number Diff line change 77import net .minestom .server .item .ItemStack ;
88import net .minestom .server .utils .validate .Check ;
99import net .theevilreaper .aves .inventory .util .InventoryConstants ;
10+ import org .jetbrains .annotations .ApiStatus ;
1011import org .jetbrains .annotations .Contract ;
1112import org .jetbrains .annotations .NotNull ;
1213import org .jetbrains .annotations .Nullable ;
2223 * @version 1.2.0
2324 * @since 1.0.0
2425 */
26+ @ ApiStatus .NonExtendable
2527public sealed interface InventoryLayout permits InventoryLayoutImpl {
2628
2729 /**
Original file line number Diff line number Diff line change 3030 */
3131@ SuppressWarnings ("java:S3776" )
3232@ ApiStatus .Internal
33- @ ApiStatus .NonExtendable
3433public final class InventoryLayoutImpl implements InventoryLayout {
3534
3635 private static final String INDEX_ERROR = "The given slot index is out of range" ;
Original file line number Diff line number Diff line change 55import net .kyori .adventure .text .Component ;
66import net .kyori .adventure .text .format .NamedTextColor ;
77import net .minestom .server .entity .Player ;
8- import org .jetbrains .annotations .ApiStatus ;
98import org .jetbrains .annotations .NotNull ;
109
1110import java .util .Set ;
1716 * @version 1.0.0
1817 * @since 1.0.0
1918 **/
20- @ ApiStatus .NonExtendable
2119public final class DefaultResourcePackCondition implements ResourcePackCondition {
2220
2321 private static final Component ERROR_DOWNLOAD_MESSAGE =
@@ -59,7 +57,7 @@ private void handleDeclined(@NotNull Player player) {
5957 }
6058
6159 /**
62- * Handles what happen the download of the {@link ResourcePackInfo} failed.
60+ * Handles what happening the download of the {@link ResourcePackInfo} failed.
6361 * @param player the player who is involved
6462 */
6563 private void handleDownloadFail (@ NotNull Player player ) {
Original file line number Diff line number Diff line change 55import net .minestom .server .entity .Player ;
66import net .minestom .server .event .player .PlayerDisconnectEvent ;
77import net .minestom .server .event .player .PlayerResourcePackStatusEvent ;
8- import org .jetbrains .annotations .ApiStatus ;
98import org .jetbrains .annotations .Contract ;
109import org .jetbrains .annotations .NotNull ;
1110
2120 * @version 1.0.0
2221 * @since 1.0.1
2322 **/
24- @ ApiStatus .NonExtendable
2523public final class ResourcePackHandler {
2624
2725 private final ResourcePackInfo resourcePack ;
Original file line number Diff line number Diff line change 1515 * @since 1.2.0
1616 * @version 1.0.0
1717 */
18- @ ApiStatus .NonExtendable
1918public final class Broadcaster {
2019
2120 private Broadcaster () {}
Original file line number Diff line number Diff line change 88import net .kyori .adventure .text .serializer .legacy .LegacyComponentSerializer ;
99import net .minestom .server .coordinate .Point ;
1010import net .minestom .server .coordinate .Pos ;
11- import org .jetbrains .annotations .ApiStatus ;
1211import org .jetbrains .annotations .Contract ;
1312import org .jetbrains .annotations .NotNull ;
1413import org .jetbrains .annotations .UnmodifiableView ;
2019import static net .theevilreaper .aves .util .Strings .UTF_8_HEART ;
2120
2221/**
23- * The class contains some usefully methods for {@link Component} from adventure.
22+ * The class contains some useful methods for {@link Component} from adventure.
2423 *
2524 * @author theEvilReaper
2625 * @version 1.0.0
2726 * @since 1.0.0
2827 **/
29- @ ApiStatus .NonExtendable
3028public final class Components {
3129
3230 /**
Original file line number Diff line number Diff line change 11package net .theevilreaper .aves .util ;
22
33import it .unimi .dsi .fastutil .booleans .BooleanConsumer ;
4- import org .jetbrains .annotations .ApiStatus ;
54import org .jetbrains .annotations .NotNull ;
65
76import java .time .Duration ;
1615 * @version 1.0.0
1716 * @since 1.0.0
1817 **/
19- @ ApiStatus .NonExtendable
2018public final class Futures {
2119
2220 private Futures () {
Original file line number Diff line number Diff line change 22
33import net .minestom .server .entity .Player ;
44import net .minestom .server .item .ItemStack ;
5- import org .jetbrains .annotations .ApiStatus ;
65import org .jetbrains .annotations .NotNull ;
76
87/**
1110 * @since 1.0.6
1211 * @version 1.0.0
1312 */
14- @ ApiStatus .NonExtendable
1513public final class Items {
1614
1715 public static final int MAX_STACK_SIZE = 64 ;
Original file line number Diff line number Diff line change 1616import net .minestom .server .item .Material ;
1717import net .minestom .server .network .packet .server .play .SetCooldownPacket ;
1818import net .minestom .server .utils .validate .Check ;
19- import org .jetbrains .annotations .ApiStatus ;
2019import org .jetbrains .annotations .NotNull ;
2120import org .jetbrains .annotations .Nullable ;
2221import org .slf4j .Logger ;
3736 * @version 1.0.0
3837 * @since 1.0.0
3938 */
40- @ ApiStatus .NonExtendable
4139public final class Players {
4240
4341 private static final Logger PLAYER_LOGGER = LoggerFactory .getLogger (Players .class );
Original file line number Diff line number Diff line change 22
33import net .minestom .server .coordinate .Point ;
44import net .minestom .server .coordinate .Pos ;
5- import org .jetbrains .annotations .ApiStatus ;
65import org .jetbrains .annotations .Contract ;
76import org .jetbrains .annotations .NotNull ;
87
1312 * @version 1.0.0
1413 * @since 1.0.0
1514 **/
16- @ ApiStatus .NonExtendable
1715public final class Positions {
1816
1917 private Positions () {
You can’t perform that action at this time.
0 commit comments