How do you set string variables? I can't seem to do so

Started by DerexXD on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do you set string variables? I can't seem to do so

Like in the procedure box

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
1. Create local variable. 2…
Wed, 09/25/2019 - 22:58

1. Create local variable.

2. Variable name [pick one]. Variable type: String.

3. [from Custom Variables tab] Set local [nameOfString]  to...

4. [from Text tab] " ... " option at the top.

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also, if you want to use…
Wed, 09/25/2019 - 23:00

Also, if you want to use numbers, like "Player food level", use:

[in Text tab] "create text with".

For example:

Set local [Stringname] to create text with: "Player hp is: "

                                                                           get entity health