akon1248

Untitled

Aug 30th, 2018
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.94 KB | None | 0 0
  1. on place:
  2. if player is holding stone named "&r磨かれた石":
  3. set {_x} to the event-block's x-coordinate
  4. set {_y} to the event-block's y-coordinate
  5. set {_z} to the event-block's z-coordinate
  6. execute console command "/execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}% double_stone_slab 8"
  7. if player is holding sand stone named "&r磨かれた砂岩":
  8. set {_x} to the event-block's x-coordinate
  9. set {_y} to the event-block's y-coordinate
  10. set {_z} to the event-block's z-coordinate
  11. execute console command "/execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}% double_stone_slab 9"
  12. if player is holding red sand stone named "&r磨かれた赤砂岩":
  13. set {_x} to the event-block's x-coordinate
  14. set {_y} to the event-block's y-coordinate
  15. set {_z} to the event-block's z-coordinate
  16. execute console command "/execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}% double_stone_slab2 8"
  17. if player is holding oak log named "&rオークの樹皮ブロック":
  18. set {_x} to the event-block's x-coordinate
  19. set {_y} to the event-block's y-coordinate
  20. set {_z} to the event-block's z-coordinate
  21. execute console command "/execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}% log 12"
  22. if player is holding spruce log named "&rマツの樹皮ブロック":
  23. set {_x} to the event-block's x-coordinate
  24. set {_y} to the event-block's y-coordinate
  25. set {_z} to the event-block's z-coordinate
  26. execute console command "/execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}% log 13"
  27. if player is holding birch log named "&rシラカバの樹皮ブロック":
  28. set {_x} to the event-block's x-coordinate
  29. set {_y} to the event-block's y-coordinate
  30. set {_z} to the event-block's z-coordinate
  31. execute console command "/execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}% log 14"
  32. if player is holding jungle log named "&rジャングルの樹皮ブロック":
  33. set {_x} to the event-block's x-coordinate
  34. set {_y} to the event-block's y-coordinate
  35. set {_z} to the event-block's z-coordinate
  36. execute console command "/execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}% log 14"
  37. if player is holding acacia log named "&rアカシアの樹皮ブロック":
  38. set {_x} to the event-block's x-coordinate
  39. set {_y} to the event-block's y-coordinate
  40. set {_z} to the event-block's z-coordinate
  41. execute console command "/execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}% log2 12"
  42. if player is holding dark oak log named "&rダークオークの樹皮ブロック":
  43. set {_x} to the event-block's x-coordinate
  44. set {_y} to the event-block's y-coordinate
  45. set {_z} to the event-block's z-coordinate
  46. execute console command "/execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}% log2 13"
Advertisement
Add Comment
Please, Sign In to add comment