Interface TextConvertibleArgumentType<T>

All Superinterfaces:
com.mojang.brigadier.arguments.ArgumentType<T>
All Known Implementing Classes:
MessageArgumentType, TextArgumentType

public interface TextConvertibleArgumentType<T> extends com.mojang.brigadier.arguments.ArgumentType<T>
Mappings:
Namespace Name
official et
intermediary net/minecraft/class_7451
named net/minecraft/command/argument/TextConvertibleArgumentType
  • Method Summary

    Modifier and Type
    Method
    Description
    toText(T value)
     

    Methods inherited from interface com.mojang.brigadier.arguments.ArgumentType

    getExamples, listSuggestions, parse
  • Method Details

    • toText

      Text toText(T value)
      Mappings:
      Namespace Name Mixin selector
      official a Let;a(Ljava/lang/Object;)Lrl;
      intermediary method_43752 Lnet/minecraft/class_7451;method_43752(Ljava/lang/Object;)Lnet/minecraft/class_2561;
      named toText Lnet/minecraft/command/argument/TextConvertibleArgumentType;toText(Ljava/lang/Object;)Lnet/minecraft/text/Text;