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 hb$c
  • 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 Lhb$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 interface ItemStringReader.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 Lhb$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 Lhb$c;a(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lcom/mojang/brigadier/StringReader;)Ljava/util/concurrent/CompletableFuture;