3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-10-03 16:31:14 +02:00
Dieser Commit ist enthalten in:
onebeastchris 2024-08-11 15:52:05 +02:00
Ursprung 0f8d729dbc
Commit 87829c9d0a

Datei anzeigen

@ -26,6 +26,7 @@
package org.geysermc.geyser.api.pack; package org.geysermc.geyser.api.pack;
import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.NonNull;
import org.checkerframework.checker.nullness.qual.Nullable;
import java.util.Collection; import java.util.Collection;
import java.util.UUID; import java.util.UUID;
@ -78,6 +79,7 @@ public interface ResourcePackManifest {
* Gets the settings of the resource pack. * Gets the settings of the resource pack.
* This is the text shown in the settings menu of a resource pack. * This is the text shown in the settings menu of a resource pack.
*/ */
@NonNull
Collection<? extends Setting> settings(); Collection<? extends Setting> settings();
/** /**
@ -196,6 +198,7 @@ public interface ResourcePackManifest {
* *
* @return the folder name * @return the folder name
*/ */
@NonNull
String folderName(); String folderName();
/** /**
@ -205,6 +208,7 @@ public interface ResourcePackManifest {
* *
* @return the subpack name * @return the subpack name
*/ */
@NonNull
String name(); String name();
/** /**
@ -214,7 +218,7 @@ public interface ResourcePackManifest {
* *
* @return the memory tier * @return the memory tier
*/ */
@Nullable
Float memoryTier(); Float memoryTier();
} }
@ -229,6 +233,7 @@ public interface ResourcePackManifest {
* *
* @return the type * @return the type
*/ */
@NonNull
String type(); String type();
/** /**
@ -236,6 +241,7 @@ public interface ResourcePackManifest {
* *
* @return the text content * @return the text content
*/ */
@NonNull
String text(); String text();
} }