@@ -44,27 +44,27 @@ public abstract class GeyserDefineResourcePacksEvent implements Event {
44
44
/**
45
45
* Gets an unmodifiable list of {@link ResourcePack}'s that will be sent to clients.
46
46
*
47
- * @return an unmodifiable list of resource packs that will be sent to clients.
47
+ * @return an unmodifiable list of resource packs that will be sent to clients
48
48
*/
49
49
public abstract @ NonNull List <ResourcePack > resourcePacks ();
50
50
51
51
/**
52
52
* Registers a {@link ResourcePack} to be sent to the client, optionally alongside
53
53
* {@link ResourcePackOption} options specifying how it will be applied on clients.
54
54
*
55
- * @param pack a resource pack that will be sent to the client.
55
+ * @param pack a resource pack that will be sent to the client
56
56
* @param options {@link ResourcePackOption}'s that specify how clients load the pack
57
- * @throws ResourcePackException when an issue occurred during pack registration.
57
+ * @throws ResourcePackException if an issue occurred during pack registration
58
58
*/
59
59
public abstract void register (@ NonNull ResourcePack pack , @ Nullable ResourcePackOption <?>... options );
60
60
61
61
/**
62
- * Sets {@link ResourcePackOption}'s for a resource pack
62
+ * Sets {@link ResourcePackOption}'s for a resource pack.
63
63
*
64
64
* @param uuid the resource pack uuid to register the options for
65
65
* @param options the options to register for the pack
66
- * @throws IllegalArgumentException if the pack is not registered.
67
- * @throws ResourcePackException when an issue occurred during resource pack option registration.
66
+ * @throws IllegalArgumentException if the pack is not registered
67
+ * @throws ResourcePackException if an issue occurred during resource pack option registration
68
68
*/
69
69
public abstract void registerOptions (@ NonNull UUID uuid , @ NonNull ResourcePackOption <?>... options );
70
70
@@ -74,7 +74,7 @@ public abstract class GeyserDefineResourcePacksEvent implements Event {
74
74
*
75
75
* @param uuid the resource pack uuid for which the options are set
76
76
* @return a list of {@link ResourcePackOption}
77
- * @throws ResourcePackException if the pack does not exist.
77
+ * @throws ResourcePackException if the pack does not exist
78
78
*/
79
79
public abstract Collection <ResourcePackOption <?>> options (@ NonNull UUID uuid );
80
80
@@ -83,14 +83,14 @@ public abstract class GeyserDefineResourcePacksEvent implements Event {
83
83
*
84
84
* @param uuid the resource pack for which the option type is set
85
85
* @param type the {@link ResourcePackOption.Type} of the option to query
86
- * @throws ResourcePackException if the pack does not exist.
86
+ * @throws ResourcePackException if the pack does not exist
87
87
*/
88
88
public abstract @ Nullable ResourcePackOption <?> option (@ NonNull UUID uuid , ResourcePackOption .@ NonNull Type type );
89
89
90
90
/**
91
91
* Unregisters a {@link ResourcePack} from being sent to clients.
92
92
*
93
- * @param uuid the uuid of the resource pack to remove.
93
+ * @param uuid the uuid of the resource pack to remove
94
94
*/
95
95
public abstract void unregister (@ NonNull UUID uuid );
96
96
}
0 commit comments