Started by
Darknessay
on
Topic category: Help with MCreator software
Let's say I'm making an item that summons a defender mob. I create it using "Spawn entity", but how can I access only the created entity by other procedures? How can I write it into a variable or something?
Edited by Darknessay on Sat, 12/02/2023 - 09:02
Use a "global variable"
Variables [Tab] >> Add new variable >> Variable scope >> Global_Map
No, it's not a solution. Solution is:
Set variable (get nearest entity in cube)
What set variable? I look for "variable" and for "var" in the procedure blocks search bar and there are zero results. There is no procedure block for variables, I can't set nor use variables in procedures.
There is a whole section for managing variables in the left toolbar, look for section containing word "variables"
Certain procedure blocks are not searchable as they are dynamically injected in the Blockly