• 0

    posted a message on NEED HELP summon a mob in area only once 1.16.5 java

    I FINALLY figured out a (probably sloppy and inefficient) solution. I first placed a repeating command set to always active labeling the triggered area:

    example: execute if entity @p[x=100.5,y=70,z=100.5,distance=..5.5]

    Then a comparator in front of that going into a command block set to impulse that creates a summon command.

    /summon iron_golem ~ ~ ~

    Then a chain command block after that one with a fill command set to always active with a command code that deletes the command blocks with air.

    /fill ~-4 ~ ~-4 ~4 ~1 ~4 air


    Man that took forever to figure out. Here is hoping it will help anyone else from having to suffer. If you know a better solution, please reply.

    Posted in: Discussion
  • 0

    posted a message on NEED HELP summon a mob in area only once 1.16.5 java

    Im creating and adventure mode map and I want a mob to spawn when a player comes within a certain area of my map. I know how to do this repeatedly but I want it to only happen once, so if the player tries going back and forth in the area after one has already been summoned, it wont work anymore. I don't want it to activate by stepping on a pressure plate. I have spent hours trying to find a solution with no luck. Please help if you can.

    Posted in: Discussion
  • To post a comment, please .