Advertisement
UltraLio

Membrane of Lightness

Sep 4th, 2022 (edited)
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.85 KB | Gaming | 0 0
  1. Membrane of Lightness 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:feather",Count:1b}}] if entity @e[type=minecraft:item,distance=..1,nbt={Item:{id:"minecraft:glowstone_dust",Count:1b}}] if entity @e[type=minecraft:item,distance=..1,nbt={Item:{id:"minecraft:phantom_membrane,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:phantom_membrane",Count:1b,tag:{display:{Name:'{"text":"Membrane of Lightness","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:phantom_membrane",Count:1b,tag:{display:{Name:'{"text":"Membrane of Lightness","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:phantom_membrane",Count:1b,tag:{display:{Name:'{"text":"Membrane of Lightness","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:phantom_membrane",Count:1b,tag:{display:{Name:'{"text":"Membrane of Lightness","italic":false}'},Enchantments:[{}]}}}] run playsound minecraft:entity.phantom.ambient ambient @a ~ ~0.5 ~ 1 2 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:["flightmagic"],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 flightmagic minecraft.custom:minecraft.talked_to_villager
  18.  
  19. 7. Put this in a chain command block, conditional, always active, connected to 6th one: scoreboard objectives add flightmagic_sneak minecraft.custom:minecraft.sneak_time
  20.  
  21. 8. Put this in a chain command block, conditional, always active, connected to 7th one: scoreboard objectives add flightmagic_jump minecraft.custom:minecraft.jump
  22.  
  23. 9. Put this in a repeating command block, always active: execute at @a[nbt={SelectedItem:{id:"minecraft:phantom_membrane",Count:1b,tag:{display:{Name:'{"text":"Membrane of Lightness","italic":false}'},Enchantments:[{}]}}}] run tp @e[type=minecraft:villager,tag=flightmagic,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 as @a unless entity @s[nbt={SelectedItem:{id:"minecraft:phantom_membrane",Count:1b,tag:{display:{Name:'{"text":"Membrane of Lightness","italic":false}'},Enchantments:[{}]}}}] run scoreboard players set @s flightmagic_sneak 0
  28.  
  29. 2. Put this in a repeating command block, always active: execute as @a unless entity @s[nbt={SelectedItem:{id:"minecraft:phantom_membrane",Count:1b,tag:{display:{Name:'{"text":"Membrane of Lightness","italic":false}'},Enchantments:[{}]}}}] run scoreboard players set @s flightmagic_jump 0
  30.  
  31. 3. Put this in a repeating command block, always active: execute at @a[scores={flightmagic=1..},nbt={SelectedItem:{id:"minecraft:phantom_membrane",Count:1b,tag:{display:{Name:'{"text":"Membrane of Lightness","italic":false}'},Enchantments:[{}]}}}] run particle minecraft:wax_off ~ ~1 ~ 0.5 0.5 0.5 1 5 force @a
  32.  
  33. 4. Put this in a repeating command block, always active: scoreboard players set @a[scores={flightmagic_sneak=1..}] flightmagic 0
  34.  
  35. 5. Put this in a repeating command block, always active: effect give @a[nbt={SelectedItem:{id:"minecraft:phantom_membrane",Count:1b,tag:{display:{Name:'{"text":"Membrane of Lightness","italic":false}'},Enchantments:[{}]}}}] minecraft:slow_falling 1 0 true
  36.  
  37. 6. Put this in a repeating command block, always active: effect give @a[scores={flightmagic=1..},nbt={SelectedItem:{id:"minecraft:phantom_membrane",Count:1b,tag:{display:{Name:'{"text":"Membrane of Lightness","italic":false}'},Enchantments:[{}]}}}] minecraft:levitation 1 9 true
  38.  
  39. 7. Put this in a repeating command block, always active: effect give @a[scores={flightmagic_jump=1..},nbt={SelectedItem:{id:"minecraft:phantom_membrane",Count:1b,tag:{display:{Name:'{"text":"Membrane of Lightness","italic":false}'},Enchantments:[{}]}}}] minecraft:levitation 1 49 true
  40.  
  41. 8. Put this in a chain command block, conditional, always active, connected to 7th one: scoreboard players set @a[scores={flightmagic_jump=1..}] flightmagic_jump 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement