Started by Matthew MBG on Tue, 07/27/2021 - 12:32
Topic category: Help with modding (Java Edition)
I would like to make a player open their enderchest when they execute a command. Is it possible? Using mcreator 2021.1, Forge 1.16.5.
Edited by Matthew MBG on Tue, 07/27/2021 - 13:36
It's too manually laborious to do this.
Well for every enderchest you want to be able to open you would need at least 3 variables and those are X,Y,Z coords of each enderchest.
Meaning if somehow 3 enderchest that you have placed got destroyed you would need to have another stored, meaning a total of 12 variables that is stored.
Also you would have to find a way to find one that you already placed before mod was installed.
enderchest 1 location = X Y Z
enderchest 2 location = X Y Z
enderchest 3 location = X Y Z
enderchest 4 location = X Y Z
I don't know a way with procedure blocks but you could do this with coding I believe.