Advertisement
UltraLio

Midas' Gold Tutorial

Sep 1st, 2022
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.38 KB | Gaming | 0 0
  1. Midas' Gold Tutorial:
  2.  
  3.  
  4.  
  5. 1st Part (Item Part):
  6.  
  7. 1. Put this in a repeating command block, always active: execute at @e[type=minecraft:item,nbt={Item:{id:"minecraft:end_crystal",Count:1b}}] if entity @e[type=minecraft:item,distance=..1,nbt={Item:{id:"minecraft:raw_gold_block",Count:1b}}] if entity @e[type=minecraft:item,distance=..1,nbt={Item:{id:"minecraft:ender_pearl",Count:1b}}] if entity @e[type=minecraft:item,distance=..1,nbt={Item:{id:"minecraft:fire_charge,Count:1b}}] if entity @e[type=minecraft:item,distance=..1,nbt={Item:{id:"minecraft:nether_star,Count:1b}}] run summon minecraft:item ~ ~ ~ {Item:{id:"minecraft:raw_gold",Count:1b,tag:{display:{Name:'{"text":"Midas\' Gold","italic":false}'},Enchantments:[{}]}}}
  8.  
  9. 2. Put this in a chain command block, conditional, always active, connected to 1st one: kill @e[type=minecraft:item,nbt=!{Item:{id:"minecraft:raw_gold",Count:1b,tag:{display:{Name:'{"text":"Midas\' Gold","italic":false}'},Enchantments:[{}]}}}]
  10.  
  11. 3. Put this in a chain command block, conditional, always active, connected to 2nd one: execute at @e[type=minecraft:item,nbt={Item:{id:"minecraft:raw_gold",Count:1b,tag:{display:{Name:'{"text":"Midas\' Gold","italic":false}'},Enchantments:[{}]}}}] run summon minecraft:area_effect_cloud ~ ~0.5 ~ {Particle:"wax_off",Radius:1f,RadiusPerTick:0.1f,Duration:10}
  12.  
  13. 4. Put this in a chain command block, conditional, always active, connected to 3rd one: execute at @e[type=minecraft:item,nbt={Item:{id:"minecraft:raw_gold",Count:1b,tag:{display:{Name:'{"text":"Midas\' Gold","italic":false}'},Enchantments:[{}]}}}] run playsound minecraft:block.note_block.bell ambient @a ~ ~0.5 ~ 1 0 1
  14.  
  15. 5. Put this in a chain command block, conditional, always active, connected to 4th one: execute at @a run summon minecraft:villager ~ ~3 ~ {Invulnerable:1b,NoGravity:1b,Silent:1b,NoAI:1b,Tags:["midastouch"],ActiveEffects:[{Id:11,Amplifier:255b,Duration:1000000,ShowParticles:0b},{Id:14,Amplifier:255b,Duration:1000000,ShowParticles:0b}]}
  16.  
  17. 6. Put this in a chain command block, conditional, always active, connected to 5th one: scoreboard objectives add midastouch minecraft.custom:minecraft.talked_to_villager
  18.  
  19. 7. Put this in a chain command block, conditional, always active, connected to 5th one: scoreboard objectives add midastouch_sneak minecraft.custom:minecraft.talked_to_villager
  20.  
  21. 8. Put this in a chain command block, conditional, always active, connected to 5th one: scoreboard objectives add midastouch_jump minecraft.custom:minecraft.talked_to_villager
  22.  
  23. 9. Put this in a repeating command block, always active: execute at @a[nbt={SelectedItem:{id:"minecraft:raw_gold",Count:1b,tag:{display:{Name:'{"text":"Midas\' Gold","italic":false}'},Enchantments:[{}]}}}] run tp @e[type=minecraft:villager,tag=midastouch,sort=nearest,limit=1] ^ ^0.6 ^2
  24.  
  25. 2nd Part (Effects Part):
  26.  
  27. 1. Put this in a repeating command block, always active: execute at @a[scores={midastouch=1..},nbt={SelectedItem:{id:"minecraft:raw_gold",Count:1b,tag:{display:{Name:'{"text":"Midas\' Gold","italic":false}'},Enchantments:[{}]}}}] run playsound minecraft:block.note_block.bell @a ^ ^1 ^1 1 0 1
  28.  
  29. 2. Put this in a chain command block, conditional, always active, connected to 1st one: execute at @a[scores={midastouch=1..},nbt={SelectedItem:{id:"minecraft:raw_gold",Count:1b,tag:{display:{Name:'{"text":"Midas\' Gold","italic":false}'},Enchantments:[{}]}}}] run summon minecraft:armor_stand ^ ^1 ^1 {NoGravity:1b,Silent:1b,Invulnerable:1b,Invisible:1b,Tags:["midastouch"]}
  30.  
  31. 3. Put this in a chain command block, conditional, always active, connected to 2nd one: scoreboard players set @a[scores={midastouch=1..}] midastouch 0
  32.  
  33. 4. Put this in a repeating command block, always active: execute as @a unless entity @s[nbt={SelectedItem:{id:"minecraft:raw_gold",Count:1b,tag:{display:{Name:'{"text":"Midas\' Gold","italic":false}'},Enchantments:[{}]}}}] run scoreboard players set @s midastouch_jump 0
  34.  
  35. 5. Put this in a repeating command block, always active: execute as @a unless entity @s[nbt={SelectedItem:{id:"minecraft:raw_gold",Count:1b,tag:{display:{Name:'{"text":"Midas\' Gold","italic":false}'},Enchantments:[{}]}}}] run scoreboard players set @s midastouch_sneak 0
  36.  
  37. 6. Put this in a repeating command block, always active: execute as @e[type=minecraft:armor_stand,tag=midastouch] at @s run tp @s ^ ^ ^1 facing entity @e[type=!player,tag=!midastouch,sort=nearest,limit=1]
  38.  
  39. 7. Put this in a repeating command block, always active: execute at @e[type=minecraft:armor_stand,tag=midastouch] run particle minecraft:wax_off ~ ~1 ~ 0.25 0.25 0.25 1 10 force @a
  40.  
  41. 8. Put this in a chain command block, conditional, always active, connected to 7th one: execute at @e[type=minecraft:armor_stand,tag=midastouch] run playsound minecraft:block.note_block.bell ambient @a ~ ~1 ~ 1 0 1
  42.  
  43. 9. Put this in a repeating command block, always active: execute as @e[type=!minecraft:player,tag=!midastouch] at @s if entity @e[type=minecraft:armor_stand,tag=midastouch,distance=..1] run effect give @s minecraft:invisibility 10 255 true
  44.  
  45. 10. Put this in a chain command block, conditional, always active, connected to 9th one: execute at @e[type=!minecraft:player,tag=!midastouch] if entity @e[type=minecraft:armor_stand,tag=midastouch,distance=..1] run summon minecraft:falling_block ~ ~1 ~ {BlockState:{Name:"minecraft:raw_gold_block"},Time:1,DropItem:1b,Tags:["midastouch"]}
  46.  
  47. 11. Put this in a chain command block, conditional, always active, connected to 10th one: execute as @e[type=!minecraft:player,tag=!midastouch] at @s if entity @e[type=minecraft:armor_stand,tag=midastouch,distance=..1] run kill @s
  48.  
  49. 12. Put this in a chain command block, conditional, always active, connected to 11th one: kill @e[type=minecraft:armor_stand,tag=midastouch]
  50.  
  51. 13. Put this in a repeating command block, always active: execute at @a[nbt={SelectedItem:{id:"minecraft:raw_gold",Count:1b,tag:{display:{Name:'{"text":"Midas\' Gold","italic":false}'},Enchantments:[{}]}}}] unless block ~ ~-1 ~ minecraft:air run setblock ~ ~-1 ~ minecraft:raw_gold_block replace
  52.  
  53. 14. Put this in a repeating command block, always active: execute at @a[nbt={SelectedItem:{id:"minecraft:raw_gold",Count:1b,tag:{display:{Name:'{"text":"Midas\' Gold","italic":false}'},Enchantments:[{}]}}}] run particle minecraft:wax_off ~ ~ ~ 0.5 0.125 0.5 1 10 force @a
  54.  
  55. 15. Put this in a repeating command block, always active: execute at @a[scores={midastouch_sneak=1..},nbt={SelectedItem:{id:"minecraft:raw_gold",Count:1b,tag:{display:{Name:'{"text":"Midas\' Gold","italic":false}'},Enchantments:[{}]}}}] run particle minecraft:wax_off ~ ~ ~ 7 0.125 7 1 100 force @a
  56.  
  57. 16. Put this in a chain command block, conditional, always active, connected to 15th one: execute at @a[scores={midastouch_sneak=1..},nbt={SelectedItem:{id:"minecraft:raw_gold",Count:1b,tag:{display:{Name:'{"text":"Midas\' Gold","italic":false}'},Enchantments:[{}]}}}] run playsound minecraft:block.note_block.bell ambient @a ~ ~ ~ 1 0 1
  58.  
  59. 17. Put this in a chain command block, conditional, always active, connected to 16th one: execute at @a[scores={midastouch_sneak=1..},nbt={SelectedItem:{id:"minecraft:raw_gold",Count:1b,tag:{display:{Name:'{"text":"Midas\' Gold","italic":false}'},Enchantments:[{}]}}}] run fill ~-7 ~-1 ~-7 ~7 ~-1 ~7 minecraft:raw_gold_block replace
  60.  
  61. 18. Put this in a chain command block, conditional, always active, connected to 17th one: execute as @e[type=!minecraft:player,tag=!midastouch] at @s if entity @a[scores={midastouch_sneak=1..},nbt={SelectedItem:{id:"minecraft:raw_gold",Count:1b,tag:{display:{Name:'{"text":"Midas\' Gold","italic":false}'},Enchantments:[{}]}}},distance=..14] run effect give @s minecraft:invisibility 10 255 true
  62.  
  63. 19. Put this in a chain command block, conditional, always active, connected to 18th one: execute as @e[type=!minecraft:player,tag=!midastouch] at @s if entity @a[scores={midastouch_sneak=1..},nbt={SelectedItem:{id:"minecraft:raw_gold",Count:1b,tag:{display:{Name:'{"text":"Midas\' Gold","italic":false}'},Enchantments:[{}]}}},distance=..14] run summon minecraft:falling_block ~ ~1 ~ {BlockState:{Name:"minecraft:raw_gold_block"},Time:1,DropItem:1b,Tags:["midastouch"]}
  64.  
  65. 20. Put this in a chain command block, conditional, always active, connected to 19th one: execute as @e[type=!minecraft:player,tag=!midastouch] at @s if entity @a[scores={midastouch_sneak=1..},nbt={SelectedItem:{id:"minecraft:raw_gold",Count:1b,tag:{display:{Name:'{"text":"Midas\' Gold","italic":false}'},Enchantments:[{}]}}},distance=..14] run kill @s
  66.  
  67. 21. Put this in a chain command block, conditional, always active, connected to 20th one: scoreboard players set @a[scores={midastouch_sneak=1..}] midastouch_sneak 0
  68.  
  69. 22. Put this in a repeating command block, always active: execute at @a[scores={midastouch_jump=1..},nbt={SelectedItem:{id:"minecraft:raw_gold",Count:1b,tag:{display:{Name:'{"text":"Midas\' Gold","italic":false}'},Enchantments:[{}]}}}] run summon minecraft:fireball ^ ^1 ^1 {HasVisualFire:0b,Tags:["midastouch"],Item:{id:"minecraft:raw_gold_block",Count:1b}}
  70.  
  71. 23. Put this in a chain command block, conditional, always active, connected to 22nd one: scoreboard players set @a[scores={midastouch_jump=1..}] midastouch_jump 0
  72.  
  73. 24. Put this in a repeating command block, always active: execute at @e[type=minecraft:fireball,tag=midastouch] run particle minecraft:wax_off ~ ~ ~ 0.25 0.25 0.25 1 25 force @a
  74.  
  75. 25. Put this in a chain command block, conditional, always active, connected to 24th one: execute at @e[type=minecraft:fireball,tag=midastouch] run playsound minecraft:block.note_block.bell ambient @a ~ ~ ~ 1 1 1
  76.  
  77. 26. Put this in a repeating command block, always active: execute as @e[type=!minecraft:player,tag=!midastouch,nbt={HurtTime:10s}] at @s if entity @a[nbt={SelectedItem:{id:"minecraft:raw_gold",Count:1b,tag:{display:{Name:'{"text":"Midas\' Gold","italic":false}'},Enchantments:[{}]}}},distance=..14] run particle minecraft:wax_off ~ ~1 ~ 0.25 0.25 0.25 10 25 force @a
  78.  
  79. 27. Put this in a chain command block, conditional, always active, connected to 26th one: execute as @e[type=!minecraft:player,tag=!midastouch,nbt={HurtTime:10s}] at @s if entity @a[nbt={SelectedItem:{id:"minecraft:raw_gold",Count:1b,tag:{display:{Name:'{"text":"Midas\' Gold","italic":false}'},Enchantments:[{}]}}},distance=..14] run playsound minecraft:block.note_block.bell ambient @a ~ ~1 ~ 1 1 1
  80.  
  81. 28. Put this in a chain command block, conditional, always active, connected to 27th one: execute as @e[type=!minecraft:player,tag=!midastouch,nbt={HurtTime:10s}] at @s if entity @a[nbt={SelectedItem:{id:"minecraft:raw_gold",Count:1b,tag:{display:{Name:'{"text":"Midas\' Gold","italic":false}'},Enchantments:[{}]}}},distance=..14] run effect give @s minecraft:invisibility 10 255 true
  82.  
  83. 29. Put this in a chain command block, conditional, always active, connected to 28th one: execute as @e[type=!minecraft:player,tag=!midastouch,nbt={HurtTime:10s}] at @s if entity @a[nbt={SelectedItem:{id:"minecraft:raw_gold",Count:1b,tag:{display:{Name:'{"text":"Midas\' Gold","italic":false}'},Enchantments:[{}]}}},distance=..14] run summon minecraft:falling_block ~ ~1 ~ {BlockState:{Name:"minecraft:raw_gold_block"},Time:1,DropItem:1b,Tags:["midastouch"]}
  84.  
  85. 30. Put this in a chain command block, conditional, always active, connected to 29th one: execute as @e[type=!minecraft:player,tag=!midastouch,nbt={HurtTime:10s}] at @s if entity @a[nbt={SelectedItem:{id:"minecraft:raw_gold",Count:1b,tag:{display:{Name:'{"text":"Midas\' Gold","italic":false}'},Enchantments:[{}]}}},distance=..14] run kill @s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement