Package net.minecraft.text
Interface ParsableText
- All Known Implementing Classes:
NbtText
,NbtText.BlockNbtText
,NbtText.EntityNbtText
,NbtText.StorageNbtText
,ScoreText
,SelectorText
,TranslatableText
public interface ParsableText
A
Text
that needs to be parsed when it is loaded into the game.-
Method Summary
Modifier and Type Method Description MutableText
parse(ServerCommandSource source, Entity sender, int depth)
-
Method Details
-
parse
MutableText parse(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-