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 he$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 Lhe$d;a(Ljm;)V
    • onComponentAdded

      default <T> void onComponentAdded(ComponentType<T> type, T value)
      Mappings:
      Namespace Name Mixin selector
      named onComponentAdded Lnet/minecraft/command/argument/ItemStringReader$Callbacks;onComponentAdded(Lnet/minecraft/component/ComponentType;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 Lhe$d;a(Lkp;Ljava/lang/Object;)V
    • onComponentRemoved

      default <T> void onComponentRemoved(ComponentType<T> type)
      Mappings:
      Namespace Name Mixin selector
      named onComponentRemoved Lnet/minecraft/command/argument/ItemStringReader$Callbacks;onComponentRemoved(Lnet/minecraft/component/ComponentType;)V
      intermediary method_60379 Lnet/minecraft/class_2291$class_9219;method_60379(Lnet/minecraft/class_9331;)V
      official a Lhe$d;a(Lkp;)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 Lhe$d;a(Ljava/util/function/Function;)V