Class ItemPackArgumentType
-
- All Implemented Interfaces:
-
com.mojang.brigadier.arguments.ArgumentType
public class ItemPackArgumentType implements ArgumentType<T>NI物品包生成器参数类型
-
-
Method Summary
Modifier and Type Method Description static ItemPackArgumentTypepack()static ItemPackgetPack(@NonNull() CommandContext<CommandSender> context, @NonNull() String name)static ItemPackSelectorgetItemPackSelector(@NonNull() CommandContext<CommandSender> context, @NonNull() String name)ItemPackSelectorparse(@NonNull() StringReader reader)<S> CompletableFuture<Suggestions>listSuggestions(@NonNull() CommandContext<S> context, @NonNull() SuggestionsBuilder builder)Collection<String>getExamples()-
-
Method Detail
-
pack
@NonNull() static ItemPackArgumentType pack()
-
getPack
@Nullable() static ItemPack getPack(@NonNull() CommandContext<CommandSender> context, @NonNull() String name)
-
getItemPackSelector
@NonNull() static ItemPackSelector getItemPackSelector(@NonNull() CommandContext<CommandSender> context, @NonNull() String name)
-
parse
@NonNull() ItemPackSelector parse(@NonNull() StringReader reader)
-
listSuggestions
<S> CompletableFuture<Suggestions> listSuggestions(@NonNull() CommandContext<S> context, @NonNull() SuggestionsBuilder builder)
-
getExamples
@NonNull() Collection<String> getExamples()
-
-
-
-