Interface ItemStringReader.Callbacks

All Known Implementing Classes:
ItemStringReader.SuggestionCallbacks
Enclosing class:
ItemStringReader

public static interface ItemStringReader.Callbacks
Mappings:
Namespace Name
named net/minecraft/command/argument/ItemStringReader$Callbacks
intermediary net/minecraft/class_2291$class_9219
official ha$d
  • Method Details

    • onItem

      default void onItem(RegistryEntry<Item> item)
      Mappings:
      Namespace Name Mixin selector
      named onItem Lnet/minecraft/command/argument/ItemStringReader$Callbacks;onItem(Lnet/minecraft/registry/entry/RegistryEntry;)V
      intermediary method_56853 Lnet/minecraft/class_2291$class_9219;method_56853(Lnet/minecraft/class_6880;)V
      official a Lha$d;a(Lji;)V
    • onComponent

      default <T> void onComponent(DataComponentType<T> type, T value)
      Mappings:
      Namespace Name Mixin selector
      named onComponent Lnet/minecraft/command/argument/ItemStringReader$Callbacks;onComponent(Lnet/minecraft/component/DataComponentType;Ljava/lang/Object;)V
      intermediary method_57802 Lnet/minecraft/class_2291$class_9219;method_57802(Lnet/minecraft/class_9331;Ljava/lang/Object;)V
      official a Lha$d;a(Lkl;Ljava/lang/Object;)V
    • setSuggestor

      default void setSuggestor(Function<com.mojang.brigadier.suggestion.SuggestionsBuilder,CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> suggestor)
      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 Lha$d;a(Ljava/util/function/Function;)V