Package net.minecraft.command.argument
Class ItemStringReader.SuggestionCallbacks
java.lang.Object
net.minecraft.command.argument.ItemStringReader.SuggestionCallbacks
- All Implemented Interfaces:
ItemStringReader.Callbacks
- Enclosing class:
ItemStringReader
private static class ItemStringReader.SuggestionCallbacks
extends Object
implements ItemStringReader.Callbacks
- Mappings:
Namespace Name named net/minecraft/command/argument/ItemStringReader$SuggestionCallbacks
intermediary net/minecraft/class_2291$class_9218
official hh$c
-
Field Summary
Modifier and TypeFieldDescriptionprivate Function
<com.mojang.brigadier.suggestion.SuggestionsBuilder, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> getSuggestions
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, com.mojang.brigadier.StringReader reader) void
setSuggestor
(Function<com.mojang.brigadier.suggestion.SuggestionsBuilder, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> suggestor) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.command.argument.ItemStringReader.Callbacks
onComponentAdded, onComponentRemoved, onItem
-
Field Details
-
suggestor
private Function<com.mojang.brigadier.suggestion.SuggestionsBuilder,CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> suggestor- Mappings:
Namespace Name Mixin selector named suggestor
Lnet/minecraft/command/argument/ItemStringReader$SuggestionCallbacks;suggestor:Ljava/util/function/Function;
intermediary field_48973
Lnet/minecraft/class_2291$class_9218;field_48973:Ljava/util/function/Function;
official a
Lhh$c;a:Ljava/util/function/Function;
-
-
Constructor Details
-
SuggestionCallbacks
SuggestionCallbacks()
-
-
Method Details
-
setSuggestor
public void setSuggestor(Function<com.mojang.brigadier.suggestion.SuggestionsBuilder, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> suggestor) - Specified by:
setSuggestor
in interfaceItemStringReader.Callbacks
- Mappings:
Namespace Name Mixin selector named setSuggestor
Lnet/minecraft/command/argument/ItemStringReader$Callbacks;setSuggestor(Ljava/util/function/Function;)V
intermediary method_56880
Lnet/minecraft/class_2291$class_9219;method_56880(Ljava/util/function/Function;)V
official a
Lhh$d;a(Ljava/util/function/Function;)V
-
getSuggestions
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> getSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, com.mojang.brigadier.StringReader reader) - Mappings:
Namespace Name Mixin selector named getSuggestions
Lnet/minecraft/command/argument/ItemStringReader$SuggestionCallbacks;getSuggestions(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lcom/mojang/brigadier/StringReader;)Ljava/util/concurrent/CompletableFuture;
intermediary method_56879
Lnet/minecraft/class_2291$class_9218;method_56879(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lcom/mojang/brigadier/StringReader;)Ljava/util/concurrent/CompletableFuture;
official a
Lhh$c;a(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lcom/mojang/brigadier/StringReader;)Ljava/util/concurrent/CompletableFuture;
-