How to code an freeze stick?

Welcome to the guide for freeze stick

  1. Make an new line with an diamond block
  2. Press the sign
  3. Select the sword
  4. Search for ‘damage player’
  5. Select that item
  6. Set on the first gray glass an if player
  7. Click the chest
  8. Select the chest again
  9. Make an freeze stick and put your stick in the chest
  10. Set in the ‘if player’ section an iron block
  11. Set general and =
  12. Take an dynamic variable from the iron ingot
  13. Name the dynamic variable ‘%victim%_frozen’
  14. Put the dynamic variable in the chest from the iron block
  15. Take from the iron ingot an text
  16. Say in the chat ‘yes’ while holding the item
  17. Put the yes book on the iron block chest under the white glass
  18. Now create an new diamond block on an new blue glass
  19. Click the skgn
  20. Select move 2 times (on the 2 tabs)
  21. Place then near the new line an obsidian (if variable)
  22. Click the sign
  23. Select =
  24. Take an dynamic variable from the iron ingot
  25. Say while holding the variable ‘%player%_frozen’
  26. Take from the iron ingot an text variable
  27. Say while holding the item ‘yes’
  28. But the text book under the white glass
  29. But the variable under the orange glass
  30. Set in the pistons an game action
  31. Select the redstone compater
  32. Select ‘cancel event’
  33. Now test it!
How to code unfreeze?
  1. You have already an diamond block for damage player, use that line for it
  2. Place an if player
  3. Click the sign
  4. Select invertory ______
  5. Select holding item
  6. Make now an unfreeze stick
  7. Put your stick in the chest
  8. Place an variable
  9. Click the sign
  10. General
  11. =
  12. Take an dynamic variable
  13. Say in the chat while holding the variable ‘%victim%_frozen’
  14. Take from the iron ingot an text variable
  15. Say while holding the variable ‘no’
  16. But the text variable under the white glass
  17. Put the dynamic variable under the orange glass
  18. You are done!
2 Likes

Need more help?
Check out this video tutorial I found: How to code a freeze stick in Mineland - YouTube (this is my guide, also credits are in the description of this video)

1 Like