1
Command challenge #2
OK guys. you did AWESOME on the first challenge.
but Im ramping up the difficulty by a HUGE amount
Ok. say you wanted to have a place where the player can choose a name for lets say, a dog.
How can you make it so that same name can be use in respawning the dog, and in cutscenes?
I would be surprised if anyone got the awnser for that.
but Im ramping up the difficulty by a HUGE amount
Ok. say you wanted to have a place where the player can choose a name for lets say, a dog.
How can you make it so that same name can be use in respawning the dog, and in cutscenes?
I would be surprised if anyone got the awnser for that.
6
YAY you won the 1 cant question woo woo woooo
What the guy above said :B
-- EDIT --
having clones (as in two entities), one as a player's "pet", the other one for re-spawning the same one without the need to name it again or whatever.
In that case you can always call the clone and have it spawn near the player as the pet, while the clone remains as a static object.
Can't think of a way to dynamically assign names from entities as NBT tags to execute a summon.
-- EDIT --
having clones (as in two entities), one as a player's "pet", the other one for re-spawning the same one without the need to name it again or whatever.
In that case you can always call the clone and have it spawn near the player as the pet, while the clone remains as a static object.
Can't think of a way to dynamically assign names from entities as NBT tags to execute a summon.
The only way to clone entities is using structure blocks.
Rough concept: Detect if the player uses a nametag when a dog is close enough to the player, place and activate a structure block on the coords of the named dog which will save the dog. To be completely save you can then place the "structure" containing the dog somewhere and remove all blocks and other entities from it (just in case), before re-saving it. Whenever the player wants to summon the dog using some sort of "trigger", just place a structure block on the player that loads the structure file with the named dog.
I haven't tested this at all and it's probably not a perfect answer. This is just what popped into my head when I read the challenge.
Rough concept: Detect if the player uses a nametag when a dog is close enough to the player, place and activate a structure block on the coords of the named dog which will save the dog. To be completely save you can then place the "structure" containing the dog somewhere and remove all blocks and other entities from it (just in case), before re-saving it. Whenever the player wants to summon the dog using some sort of "trigger", just place a structure block on the player that loads the structure file with the named dog.
I haven't tested this at all and it's probably not a perfect answer. This is just what popped into my head when I read the challenge.
Ask the player to rename a name tag? Then keep teleporting the dog where you need it to be?
What if the dog dies? How would respawn it without the need to rename it?
(That is the big question)
(That is the big question)
dont know lmfao
