Interface TextConvertibleArgumentType<T>

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

public interface TextConvertibleArgumentType<T> extends DecoratableArgumentType<T>
Mappings:
Namespace Name
official eu
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

    Methods inherited from interface net.minecraft.command.argument.DecoratableArgumentType

    decorate, decorate, getFormatClass
  • Method Details

    • toText

      Text toText(T value)
      Mappings:
      Namespace Name Mixin selector
      official a Leu;a(Ljava/lang/Object;)Lrm;
      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;