Advertisement
Lmeagno

(2015, April 7) PCCS v1.07

Apr 7th, 2015
337
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1. SOME COMMANDS HAVE BEEN WITHHELD TO REDUCE SPAM IN THIS PASTE.
  2. ALL COMMANDS CAN BE FOUND IN THE MINECRAFT WORLD/SCHEMATIC DOWNLOAD HERE:
  3. http://www.planetminecraft.com/project/portable-custom-crafting-station-commands/
  4. TO REQUEST COMMANDS, MESSAGE "LMEAGNO" ON PLANETMINECRAFT.COM
  5.  
  6.  
  7.  
  8.  
  9. /scoreboard objectives add DummyReset stat.useItem.minecraft.<BLOCK>
  10.  
  11. /scoreboard objectives add Dummy dummy
  12.  
  13.  
  14.  
  15. =======================
  16. REDUCING FILL CLOCK LAG
  17. =======================
  18. /execute @e[type=ArmorStand,name=Crafting] ~ ~ ~ detect ~ ~ ~ dropper 1 /fill -2 5 0 -2 5 0 air 0 replace redstone_block 0
  19.  
  20. /execute @e[type=ArmorStand,name=Crafting] ~ ~ ~ detect ~ ~ ~ dropper 9 /fill -2 5 0 -2 5 0 redstone_block 0 replace air
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32. ======================================
  33. PORTABLE CUSTOM CRAFTING STATION SETUP
  34. ======================================
  35. /execute @a[score_DummyReset_min=1] ~ ~ ~ /fill ~-5 ~-5 ~-5 ~5 ~5 ~5 double_plant 1 replace <BLOCK> #
  36.  
  37. /execute @a[score_DummyReset_min=1] ~ ~ ~ /fill ~-5 ~-5 ~-5 ~5 ~5 ~5 barrier 0 replace air 0
  38.  
  39. /execute @a[score_DummyReset_min=1] ~ ~ ~ /fill ~-5 ~-5 ~-5 ~5 ~5 ~5 air 0 replace barrier 0
  40.  
  41. /execute @a[score_DummyReset_min=1] ~ ~ ~ /scoreboard players set @e[type=Item,c=1] DummyReset -1 {Item:{id:minecraft:double_plant,Damage:1s}}
  42.  
  43. -
  44.  
  45. /execute @e[type=Item,score_DummyReset=-1,score_DummyReset_min=-1] ~ ~ ~ /setblock ~ ~ ~ command_block 0 replace {Command:"/summon ArmorStand ~ ~-.49 ~ {Small:1b,Invisible:1b,Marker:1b,NoGravity:1b,CustomName:Crafting,Equipment:[{},{},{},{},{id:minecraft:crafting_table}]}"}
  46.  
  47. /execute @e[type=Item,score_DummyReset=-1,score_DummyReset_min=-1] ~ ~ ~
  48. /clone ~ ~1 ~ ~ ~1 ~ ~ 0 ~ replace move
  49.  
  50. /execute @e[type=Item,score_DummyReset=-1,score_DummyReset_min=-1] ~ ~ ~
  51. /fill ~ ~1 ~ ~ ~1 ~ stone_button 13 replace air
  52.  
  53. /execute @e[type=ArmorStand,name=Crafting] ~ ~ ~ detect ~ ~ ~ command_block -1
  54. /clone ~ 0 ~ ~ 0 ~ ~ ~1 ~ replace
  55.  
  56. /execute @e[type=ArmorStand,name=Crafting] ~ ~ ~ detect ~ ~ ~ command_block -1
  57. /setblock ~ 0 ~ bedrock
  58.  
  59. /execute @e[type=ArmorStand,name=Crafting] ~ ~ ~ detect ~ ~ ~ command_block -1
  60. /scoreboard players set @e[type=ArmorStand,name=Crafting,r=0] DummyReset 0
  61.  
  62. /execute @e[type=ArmorStand,name=Crafting] ~ ~ ~ detect ~ ~ ~ command_block -1
  63. /scoreboard players set @e[type=ArmorStand,name=Crafting] Dummy 0 {Small:1b}
  64.  
  65. /execute @e[type=ArmorStand,name=Crafting] ~ ~ ~ detect ~ ~ ~ command_block -1
  66. /setblock ~ ~ ~ dropper 1 replace {CustomName:"Crafting Station"}
  67.  
  68. /scoreboard players set @e[type=ArmorStand,name=Crafting,score_DummyReset_min=1] DummyReset 0
  69.  
  70. /stats entity @e[type=ArmorStand,name=Crafting] set SuccessCount @e[type=ArmorStand,name=Crafting,c=1] DummyReset
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82. =================
  83. ITEM TRANSFORMING
  84. =================
  85. /execute @e[type=ArmorStand,name=Crafting] ~ ~ ~
  86. /scoreboard players set @e[type=Item,name=!ItemT,r=0] DummyReset 1 {Item:{id:minecraft:dropper},Age:0s}
  87.  
  88. /entitydata @e[type=Item,score_DummyReset=1,score_DummyReset_min=1,name=!ItemT] {CustomName:"ItemT",Item:{id:minecraft:<BLOCK>}}
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98. =================
  99. CLEAN-UP COMMANDS
  100. =================
  101. /execute @e[type=ArmorStand,score_Dummy=0,score_Dummy_min=0] ~ ~ ~ detect ~ ~ ~ air 0 /kill @e[c=1]
  102.  
  103. /kill @e[type=!Player,score_DummyReset=-1,score_DummyReset_min=-1]
  104.  
  105. /scoreboard players reset @e[type=!ArmorStand,score_DummyReset_min=0] DummyReset
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement