Main Forum

Planned Set Var: Block Name

4 replies
Posts:
338
Sparks:
+118
Overlord
This is probably suggested, because it's so obvious, but I did not see any dupes.

Set Var: Block Name works simply, it would take 2 inputs

Var
and
Location

It will return the block that the location is, in the form of text

For example:

If the block is grass, and the location points there, the var will be set to "grass_block"
etc
Posted Feb 4, 19 · OP
Posts:
208
Sparks:
+29
Untagged users
This will probably be possible when 5.0 comes out (along with item vars)
Posted Feb 4, 19
Posts:
338
Sparks:
+118
Overlord
wrote:
This will probably be possible when 5.0 comes out (along with item vars)
It should be possible before then, this isn't setting a var to a block, it's just setting a var to text that is equal to the block's internal ID
Posted Feb 5, 19 · OP
Posts:
193
Sparks:
+42
Untagged users
wrote:
wrote:
This will probably be possible when 5.0 comes out (along with item vars)
It should be possible before then, this isn't setting a var to a block, it's just setting a var to text that is equal to the block's internal ID
I think that even if they could finish it earlier, it would be better to add it when they add item vars. They're both relatively similar concepts and even still, it would be better to add into Patch 5.0 with all of the other additions.
19.jpg
Posted Feb 6, 19
Posts:
290
Sparks:
+213
Admins
Mod
Overlord
Once item variables arrive, a “Set to block at location” set variable feature is planned together with them, the result of which you will be able to get the block name of. In other words, you’ll be getting this functionality.
cAAPh7A.gif
DiamondFire Moderator
Posted Feb 11, 19
Like
x 1
x 1
List
Undo
NoticeNotices