AlleCraft

Offset effect (sponge_redstone)

Sep 25th, 2021
71
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2. "scripts": {
  3. "id": "custom_sky:sponge_redstone",
  4. "swing": true,
  5. "drop_rule": "player",
  6. "properties": [
  7. {
  8. "property": "scavenge_player:is_hand"
  9. },
  10. {
  11. "property": "scavenge_player:is_sneaking"
  12. },
  13. {
  14. "property": "scavenge_world:is_side",
  15. "side": "east",
  16. "inverted": false
  17. },
  18. {
  19. "property": "scavenge_player:send_message",
  20. "chat": true,
  21. "message": "1 message sended",
  22. "simple": true,
  23. "jei_visible": false,
  24. "jei_description": "scavenge_player.send_message.desc",
  25. "jei_simple": true
  26. },
  27. {
  28. "property": "scavenge_player:send_command",
  29. "command": "/setblock %2$s %3$s %4$s minecraft:piston[ facing= north ]",
  30. "jei_visible": false,
  31. "jei_description": "scavenge_player.send_command.desc",
  32. "jei_simple": true
  33. },
  34. {
  35. "property": "scavenge_player:send_message",
  36. "chat": true,
  37. "message": "2 message sended",
  38. "simple": true,
  39. "jei_visible": false,
  40. "jei_description": "scavenge_player.send_message.desc",
  41. "jei_simple": true
  42. },
  43. {
  44. "property": "scavenge_world:set_structure",
  45. "blocks": [
  46. {
  47. "properties": [
  48. {
  49. "property": "",
  50. "value": ""
  51. }
  52. ],
  53. "block": "minecraft:redstone_block",
  54. "positions": [
  55. {
  56. "x": 0,
  57. "y": 1,
  58. "z": 0
  59. }
  60. ]
  61. }
  62. ],
  63. "jei_visible": false,
  64. "jei_description": "scavenge_world.set_structure.desc",
  65. "jei_simple": true
  66. },
  67. {
  68. "property": "scavenge_player:send_message",
  69. "chat": true,
  70. "message": "3 message sended",
  71. "simple": true,
  72. "jei_visible": false,
  73. "jei_description": "scavenge_player.send_message.desc",
  74. "jei_simple": true
  75. },
  76. {
  77. "property": "scavenge_utils:offset_effect",
  78. "effects": [
  79. {
  80. "positions": [
  81. {
  82. "x": 0,
  83. "y": 0,
  84. "z": 0
  85. },
  86. {
  87. "x": 0,
  88. "y": 1,
  89. "z": 0
  90. }
  91. ]
  92. }
  93. ]
  94. }
  95. ],
  96. "loot": [],
  97. "type": {
  98. "type": "right_click",
  99. "consume": true,
  100. "show": true
  101. },
  102. "targets": [
  103. {
  104. "type": "block",
  105. "id": "minecraft:sponge"
  106. }
  107. ]
  108. }
  109. }
  110.  
  111.  
RAW Paste Data