Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- To create an unbreakable elytra, just follow these steps:
- 1: Copy the code into a command block, and activate it.
- 2: Place down a block of diamond.
- 3: Drop down any elytra
- 4: You'll lose the diamond block, but in return, your elytra will never break!
- /summon falling_block ~ ~1 ~ {Block:"repeating_command_block",Time:1,TileEntityData:{auto:1b,Command:"/execute @e[name=item.item.elytra] ~ ~ ~ detect ~ ~-1 ~ minecraft:diamond_block 0 /summon armor_stand ~ ~ ~ {CustomName:elytra,NoGravity:1}"},Passengers:[{id:"falling_block",Block:"repeating_command_block",Time:1,TileEntityData:{auto:1b,Command:"/execute @e[type=armor_stand,name=elytra] ~ ~ ~ /kill @e[name=item.item.elytra,r=1]"},Passengers:[{id:"falling_block",Block:"repeating_command_block",Time:1,TileEntityData:{auto:1b,Command:"/execute @e[type=armor_stand,name=elytra] ~ ~ ~ /give @p elytra 1 0 {Unbreakable:1}"},Passengers:[{id:"falling_block",Block:"repeating_command_block",Time:1,TileEntityData:{auto:1b,Command:"/execute @e[type=armor_stand,name=elytra] ~ ~ ~ /setblock ~ ~-1 ~ air 0 replace diamond_block"},Passengers:[{id:"falling_block",Block:"repeating_command_block",Time:1,TileEntityData:{auto:1b,Command:"/kill @e[type=armor_stand,name=elytra]"},Passengers:[{id:"falling_block",Block:"command_block",Time:1,TileEntityData:{auto:1b,Command:"/gamerule commandBlockOutput false"}}]}]}]}]}]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement