File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
api/src/main/java/org/geysermc/geyser/api Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,6 @@ public SessionLoadResourcePacksEvent(@NonNull GeyserConnection connection) {
80
80
*
81
81
* @param uuid the resource pack uuid to register the options for
82
82
* @param options the options to register for the pack
83
- * @throws IllegalArgumentException if the pack is not registered
84
83
* @throws ResourcePackException if an issue occurred during resource pack option registration
85
84
*/
86
85
public abstract void registerOptions (@ NonNull UUID uuid , @ NonNull ResourcePackOption <?>... options );
Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ public abstract class GeyserDefineResourcePacksEvent implements Event {
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
66
* @throws ResourcePackException if an issue occurred during resource pack option registration
68
67
*/
69
68
public abstract void registerOptions (@ NonNull UUID uuid , @ NonNull ResourcePackOption <?>... options );
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public interface ResourcePack {
63
63
String contentKey ();
64
64
65
65
/**
66
- * @return the resource pack uuid. Shortcut for getting the UUID from the header.
66
+ * @return the resource pack uuid. Shortcut for getting the UUID from the header
67
67
*/
68
68
@ NonNull
69
69
default UUID uuid () {
@@ -86,7 +86,7 @@ static ResourcePack create(@NonNull PackCodec codec) {
86
86
* It can be used to set a content key.
87
87
*
88
88
* @param codec the {@link PackCodec} to base the builder on
89
- * @return a {@link Builder} to build a resource pack.
89
+ * @return a {@link Builder} to build a resource pack
90
90
*/
91
91
static Builder builder (@ NonNull PackCodec codec ) {
92
92
return GeyserApi .api ().provider (Builder .class , codec );
You can’t perform that action at this time.
0 commit comments