Skript icon indicating copy to clipboard operation
Skript copied to clipboard

Allow literal-only string parsing

Open TPGamesNL opened this issue 3 years ago • 1 comments

Description

Allows for strings to be parsed as literals in script, e.g. when a pattern contains %*string%. Comment said this would be handled by VariableString, but this isn't the case when talking about literal parsing (VariableString isn't allowed in this case).

TODO: check behaviour with expression in it


Target Minecraft Versions: any Requirements: none Related Issues: #4664

TPGamesNL avatar Mar 16 '22 09:03 TPGamesNL

this only allows simple variablestrings to be used as literals, right? also, what about a case where a variablestring is not simple but it only consists of literal text and literal expressions?

Pikachu920 avatar Mar 16 '22 15:03 Pikachu920

This is going to be required for text displays in 1.19.4 parsing from the lang pattern of an entity data.

TheLimeGlass avatar Mar 23 '23 01:03 TheLimeGlass