akon1248

Untitled

Aug 31st, 2018
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.71 KB | None | 0 0
  1. on place:
  2. if player is holding stone named "&r磨かれた石":
  3. set block at event-location to upside-down double stone slab
  4. if player is holding sand stone named "&r磨かれた砂岩":
  5. set block at event-location to upside-down double sandstone slab
  6. if player is holding red sand stone named "&r磨かれた赤砂岩":
  7. set block at event-location to red_sandstone_double_slab:8
  8. if player is holding oak log named "&rオークの樹皮ブロック":
  9. set block at event-location to any_oak_wooden_logs_item:12
  10. if player is holding spruce log named "&rマツの樹皮ブロック":
  11. set block at event-location to any_oak_wooden_logs_item:13
  12. if player is holding birch log named "&rシラカバの樹皮ブロック":
  13. set block at event-location to any_oak_wooden_logs_item:14
  14. if player is holding jungle log named "&rジャングルの樹皮ブロック":
  15. set block at event-location to any_oak_wooden_logs_item:15
  16. if player is holding acacia log named "&rアカシアの樹皮ブロック":
  17. set block at event-location to anyacacia_wooden_logs_item:12
  18. if player is holding dark oak log named "&rダークオークの樹皮ブロック":
  19. set block at event-location to anyacacia_wooden_logs_item:13
  20. on load:
  21. register new shapeless recipe for stone named "&r磨かれた石" using stone, stone, stone, stone, stone, stone, stone, stone, stone
  22. register new shapeless recipe for sand stone named "&r磨かれた砂岩" using sand stone, sand stone, sand stone, sand stone, sand stone, sand stone, sand stone, sand stone, sand stone
  23. register new shapeless recipe for red sand stone named "&r磨かれた赤砂岩" using red sand stone, red sand stone, red sand stone, red sand stone, red sand stone, red sand stone, red sand stone, red sand stone, red sand stone
  24. register new shapeless recipe for oak log named "&rオークの樹皮ブロック" using oak log, oak log, oak log, oak log, oak log, oak log, oak log, oak log, oak log
  25. register new shapeless recipe for spruce log named "&rマツの樹皮ブロック" using spruce log, spruce log, spruce log, spruce log, spruce log, spruce log, spruce log, spruce log, spruce log
  26. register new shapeless recipe for birch log named "&rシラカバの樹皮ブロック" using birch log, birch log, birch log, birch log, birch log, birch log, birch log, birch log, birch log
  27. register new shapeless recipe for jungle log named "&rジャングルの樹皮ブロック" using jungle log, jungle log, jungle log, jungle log, jungle log, jungle log, jungle log, jungle log, jungle log
  28. register new shapeless recipe for acacia log named "&rアカシアの樹皮ブロック" using acacia log, acacia log, acacia log, acacia log, acacia log, acacia log, acacia log, acacia log, acacia log
  29. register new shapeless recipe for dark oak log named "&rダークオークの樹皮ブロック" using dark oak log, dark oak log, dark oak log, dark oak log, dark oak log, dark oak log, dark oak log, dark oak log, dark oak log
  30. on break:
  31. if event-block is upside-down double stone slab:
  32. set {_x} to the event-block's x-coordinate
  33. set {_y} to the event-block's y-coordinate
  34. set {_z} to the event-block's z-coordinate
  35. wait 1 tick
  36. if player's gamemode is survival or adventure:
  37. execute console command "/execute %player% %{_x}% %{_y}% %{_z}% kill @e[type=item,dx=0,dy=0,dz=0,c=2]"
  38. drop 1 stone named "&r磨かれた石" at event-location
  39. if event-block is upside-down double sandstone slab:
  40. set {_x} to the event-block's x-coordinate
  41. set {_y} to the event-block's y-coordinate
  42. set {_z} to the event-block's z-coordinate
  43. wait 1 tick
  44. if player's gamemode is survival or adventure:
  45. execute console command "/execute %player% %{_x}% %{_y}% %{_z}% kill @e[type=item,dx=0,dy=0,dz=0,c=2]"
  46. drop 1 sand stone named "&r磨かれた砂岩" at event-location
  47. if event-block is red_sandstone_double_slab:8:
  48. set {_x} to the event-block's x-coordinate
  49. set {_y} to the event-block's y-coordinate
  50. set {_z} to the event-block's z-coordinate
  51. wait 1 tick
  52. if player's gamemode is survival or adventure:
  53. execute console command "/execute %player% %{_x}% %{_y}% %{_z}% kill @e[type=item,dx=0,dy=0,dz=0,c=2]"
  54. drop 1 red sand stone named "&r磨かれた赤砂岩" at event-location
  55. if event-block is any_oak_wooden_logs_item:12:
  56. set {_x} to the event-block's x-coordinate
  57. set {_y} to the event-block's y-coordinate
  58. set {_z} to the event-block's z-coordinate
  59. wait 1 tick
  60. execute console command "/execute %player% %{_x}% %{_y}% %{_z}% entitydata @e[type=item,c=1,dx=0,dy=0,dz=0] {Item:{id:""minecraft:log"",tag:{display:{Name:""§rオークの樹皮ブロック""}},Count:1b,Damage:0s}}"
  61. if event-block is any_oak_wooden_logs_item:13:
  62. set {_x} to the event-block's x-coordinate
  63. set {_y} to the event-block's y-coordinate
  64. set {_z} to the event-block's z-coordinate
  65. wait 1 tick
  66. execute console command "/execute %player% %{_x}% %{_y}% %{_z}% entitydata @e[type=item,c=1,dx=0,dy=0,dz=0] {Item:{id:""minecraft:log"",tag:{display:{Name:""§rマツの樹皮ブロック""}},Count:1b,Damage:1s}}"
  67. if event-block is any_oak_wooden_logs_item:14:
  68. set {_x} to the event-block's x-coordinate
  69. set {_y} to the event-block's y-coordinate
  70. set {_z} to the event-block's z-coordinate
  71. wait 1 tick
  72. execute console command "/execute %player% %{_x}% %{_y}% %{_z}% entitydata @e[type=item,c=1,dx=0,dy=0,dz=0] {Item:{id:""minecraft:log"",tag:{display:{Name:""§rシラカバの樹皮ブロック""}},Count:1b,Damage:2s}}"
  73. if event-block is any_oak_wooden_logs_item:15:
  74. set {_x} to the event-block's x-coordinate
  75. set {_y} to the event-block's y-coordinate
  76. set {_z} to the event-block's z-coordinate
  77. wait 1 tick
  78. execute console command "/execute %player% %{_x}% %{_y}% %{_z}% entitydata @e[type=item,c=1,dx=0,dy=0,dz=0] {Item:{id:""minecraft:log"",tag:{display:{Name:""§rジャングルの樹皮ブロック""}},Count:1b,Damage:3s}}"
  79. if event-block is anyacacia_wooden_logs_item:12:
  80. set {_x} to the event-block's x-coordinate
  81. set {_y} to the event-block's y-coordinate
  82. set {_z} to the event-block's z-coordinate
  83. wait 1 tick
  84. execute console command "/execute %player% %{_x}% %{_y}% %{_z}% entitydata @e[type=item,c=1,dx=0,dy=0,dz=0] {Item:{id:""minecraft:log2"",tag:{display:{Name:""§rアカシアの樹皮ブロック""}},Count:1b,Damage:0s}}"
  85. if event-block is anyacacia_wooden_logs_item:13:
  86. set {_x} to the event-block's x-coordinate
  87. set {_y} to the event-block's y-coordinate
  88. set {_z} to the event-block's z-coordinate
  89. wait 1 tick
  90. execute console command "/execute %player% %{_x}% %{_y}% %{_z}% entitydata @e[type=item,c=1,dx=0,dy=0,dz=0] {Item:{id:""minecraft:log2"",tag:{display:{Name:""§rダークオークの樹皮ブロック""}},Count:1b,Damage:1s}}"
Advertisement
Add Comment
Please, Sign In to add comment