I am trying to create a mob arena (dark) so that I can finish a mini game map. I want to put a button that will give the nearest player an extended Potion of Night Vision. What would be the code to spawn that in?
|
|
The data value for potions is
Assuming you want this button to work only once, you can put an RS NOR latch between the button and the command block, so that the button activates the SET input (optionally with a hidden button accessible only to you attached to the RESET input, for easy testing). You may also want to use the |
|||
|
|
