The Meaning of Life, the Universe, and Everything.
Join Date:
6/28/2014
Posts:
389
Member Details
(This is not a wishlist, the second idea is pretty much required for the first to be useful)
In this suggestion, NBT information passed by commands (entitydata, summon, give, etc.) are searched for any instances of this pattern *[scoreboard_name], and will replace any instance of that pattern with the value of the scoreboard objective scoreboard_name. When enclosed by quotes, it will instead look for the scoreboard string (see below).
Scoreboard strings seem somewhat self explanatory. Adding a new subcommand to the /scoreboard command, "string" with the possible subcommands of "add"(self explanatory, adds a string with the name of the first argument), "set" (sets the value of the string name argument 1 as argument 2, allowing for spaces if you put quotes around it.), "concat", (adds the contents of string value of the name argument 2 to string value of name argument 1), "remove" (removes a string called argument 1), and "sub" (gets a substring from string value named argument 1, from positions argument 2 to argument 3 starting at 0, and puts it into string value named argument 4).
Possible uses for this: creating an easier way of creating personalized items using functions, such as custom Lock tags for chests, easier parsing of user input, and lots of other things people much smarter than me would probably come up with ("I made an x86 emulator in Minecraft and ran Minecraft on it!" - SethBling probably).
(This is not a wishlist, the second idea is pretty much required for the first to be useful)
In this suggestion, NBT information passed by commands (entitydata, summon, give, etc.) are searched for any instances of this pattern *[scoreboard_name], and will replace any instance of that pattern with the value of the scoreboard objective scoreboard_name. When enclosed by quotes, it will instead look for the scoreboard string (see below).
Scoreboard strings seem somewhat self explanatory. Adding a new subcommand to the /scoreboard command, "string" with the possible subcommands of "add"(self explanatory, adds a string with the name of the first argument), "set" (sets the value of the string name argument 1 as argument 2, allowing for spaces if you put quotes around it.), "concat", (adds the contents of string value of the name argument 2 to string value of name argument 1), "remove" (removes a string called argument 1), and "sub" (gets a substring from string value named argument 1, from positions argument 2 to argument 3 starting at 0, and puts it into string value named argument 4).
Possible uses for this: creating an easier way of creating personalized items using functions, such as custom Lock tags for chests, easier parsing of user input, and lots of other things people much smarter than me would probably come up with ("I made an x86 emulator in Minecraft and ran Minecraft on it!" - SethBling probably).
Nice to see you guys again.