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_335628_, com.mojang.brigadier.StringReader p_329757_) void
visitSuggestions
(Function<com.mojang.brigadier.suggestion.SuggestionsBuilder, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> p_328999_) 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, visitRemovedComponent
-
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_328999_) - Specified by:
visitSuggestions
in interfaceItemParser.Visitor
-
resolveSuggestions
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> resolveSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder p_335628_, com.mojang.brigadier.StringReader p_329757_)
-