net.minecraft.command.argument

public class SlotSourceArgumentType

implements com.mojang.brigadier.arguments.ArgumentType<SlotSourceArgumentType$SlotSourceProvider>

net.minecraft.commands.arguments.SlotSourceArgument
net.minecraft.class_1_1077
net.minecraft.command.argument.SlotSourceArgumentType

Field summary

Modifier and TypeField
private static final Collection<String>
EXAMPLES
field_1_7525
EXAMPLES
private final com.mojang.brigadier.arguments.ArgumentType<RegistryEntry<SlotSource>>
holderArgument
field_1_7526
referenceArgumentType

Constructor summary

ModifierConstructor
private (CommandRegistryAccess commandRegistryAccess)

Method summary

Modifier and TypeMethod
public static SlotSourceArgumentType
slotSource(CommandBuildContext context)
method_1_6886(class_7157 arg0)
create(CommandRegistryAccess commandRegistryAccess)
public static SlotSourceArgumentType$SlotSourceProvider
getSlotSource(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name)
method_1_6884(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getSlotSourceProvider(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argument)
public SlotSourceArgumentType$SlotSourceProvider
parse(com.mojang.brigadier.StringReader reader)
method_1_6885(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
listSuggestions(com.mojang.brigadier.context.CommandContext<S> contextBuilder, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder)
public Collection<String>
getExamples()
public Object
parse(com.mojang.brigadier.StringReader reader)
parse(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader reader)