Package net.minecraft.command.argument
Class SlotRangeArgumentType
java.lang.Object
net.minecraft.command.argument.SlotRangeArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<SlotRange>
public class SlotRangeArgumentType
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<SlotRange>
- Mappings:
Namespace Name named net/minecraft/command/argument/SlotRangeArgumentType
intermediary net/minecraft/class_9351
official fy
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Collection
<String> private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SlotRange
getSlotRange
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) <S> CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> listSuggestions
(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder) parse
(com.mojang.brigadier.StringReader stringReader) static SlotRangeArgumentType
-
Field Details
-
EXAMPLES
- Mappings:
Namespace Name Mixin selector named EXAMPLES
Lnet/minecraft/command/argument/SlotRangeArgumentType;EXAMPLES:Ljava/util/Collection;
intermediary field_49767
Lnet/minecraft/class_9351;field_49767:Ljava/util/Collection;
official a
Lfy;a:Ljava/util/Collection;
-
UNKNOWN_SLOT_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType UNKNOWN_SLOT_EXCEPTION- Mappings:
Namespace Name Mixin selector named UNKNOWN_SLOT_EXCEPTION
Lnet/minecraft/command/argument/SlotRangeArgumentType;UNKNOWN_SLOT_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_49768
Lnet/minecraft/class_9351;field_49768:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
official b
Lfy;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
-
Constructor Details
-
SlotRangeArgumentType
public SlotRangeArgumentType()
-
-
Method Details
-
slotRange
- Mappings:
Namespace Name Mixin selector named slotRange
Lnet/minecraft/command/argument/SlotRangeArgumentType;slotRange()Lnet/minecraft/command/argument/SlotRangeArgumentType;
intermediary method_58130
Lnet/minecraft/class_9351;method_58130()Lnet/minecraft/class_9351;
official a
Lfy;a()Lfy;
-
getSlotRange
public static SlotRange getSlotRange(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) - Mappings:
Namespace Name Mixin selector named getSlotRange
Lnet/minecraft/command/argument/SlotRangeArgumentType;getSlotRange(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/inventory/SlotRange;
intermediary method_58133
Lnet/minecraft/class_9351;method_58133(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_9348;
official a
Lfy;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lcrs;
-
parse
public SlotRange parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<SlotRange>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named parse
Lnet/minecraft/command/argument/SlotRangeArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/inventory/SlotRange;
intermediary method_58132
Lnet/minecraft/class_9351;method_58132(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_9348;
official a
Lfy;a(Lcom/mojang/brigadier/StringReader;)Lcrs;
-
listSuggestions
public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder) - Specified by:
listSuggestions
in interfacecom.mojang.brigadier.arguments.ArgumentType<SlotRange>
- Mappings:
Namespace Name Mixin selector named listSuggestions
Lnet/minecraft/command/argument/SlotRangeArgumentType;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary listSuggestions
Lnet/minecraft/class_9351;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
official listSuggestions
Lfy;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<SlotRange>
-