Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Membrane of Lightness Tutorial:
- 1st Part (Item Part):
- 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:[{}]}}}
- 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:[{}]}}}
- 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}
- 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
- 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}]}
- 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
- 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
- 8. Put this in a chain command block, conditional, always active, connected to 7th one: scoreboard objectives add flightmagic_jump minecraft.custom:minecraft.jump
- 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
- 2nd Part (Effects Part):
- 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
- 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
- 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
- 4. Put this in a repeating command block, always active: scoreboard players set @a[scores={flightmagic_sneak=1..}] flightmagic 0
- 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
- 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
- 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
- 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