Interface OptionRequestEvent


public interface OptionRequestEvent
Simple option request event for SharedSuggestionProviders.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.fabricmc.fabric.api.event.Event<OptionRequestEvent>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Optional<String>
    onOptionRequest(@NotNull net.minecraft.commands.SharedSuggestionProvider source, @NotNull String key)
     
  • Field Details

  • Method Details

    • onOptionRequest

      @NotNull @NotNull Optional<String> onOptionRequest(@NotNull @NotNull net.minecraft.commands.SharedSuggestionProvider source, @NotNull @NotNull String key)