Class ItemParser.SuggestionsVisitor
java.lang.Object
net.minecraft.commands.arguments.item.ItemParser.SuggestionsVisitor
- All Implemented Interfaces:
ItemParser.Visitor
- Enclosing class:
ItemParser
-
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> resolveSuggestions
(com.mojang.brigadier.suggestion.SuggestionsBuilder p_336050_, com.mojang.brigadier.StringReader p_335952_) void
visitSuggestions
(Function<com.mojang.brigadier.suggestion.SuggestionsBuilder, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> p_335625_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.commands.arguments.item.ItemParser.Visitor
visitComponent, visitItem
-
Field Details
-
suggestions
private Function<com.mojang.brigadier.suggestion.SuggestionsBuilder,CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> suggestions
-
-
Constructor Details
-
SuggestionsVisitor
SuggestionsVisitor()
-
-
Method Details
-
visitSuggestions
public void visitSuggestions(Function<com.mojang.brigadier.suggestion.SuggestionsBuilder, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> p_335625_) - Specified by:
visitSuggestions
in interfaceItemParser.Visitor
-
resolveSuggestions
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> resolveSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder p_336050_, com.mojang.brigadier.StringReader p_335952_)
-