Class ItemParser.SuggestionsVisitor

java.lang.Object
net.minecraft.commands.arguments.item.ItemParser.SuggestionsVisitor
All Implemented Interfaces:
ItemParser.Visitor
Enclosing class:
ItemParser

static class ItemParser.SuggestionsVisitor extends Object implements ItemParser.Visitor
  • 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 interface ItemParser.Visitor
    • resolveSuggestions

      public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> resolveSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder p_336050_, com.mojang.brigadier.StringReader p_335952_)