ココマンドブロックの中身のコマンド /から次の/の前までが一つのコマンドブロックに入力するコマンドです。 /tag @a[tag=ajin] add death_ch/tag @e[type=player,tag=ajin] remove death_ch/execute as @a[tag=ajin,tag=death_ch] at @s run tag @s add ajin_death/execute as @a[tag=ajin,tag=death_ch] at @s run summon armor_stand ajin_place/effect @e[type=armor_stand,name=ajin_place] invisibility 1000000 255 true/tag @a[tag=death_ch] remove death_ch/execute as @e[type=player,tag=ajin_death] at @s unless entity @e[type=armor_stand,name=ajin_place,r=1] run tp @s @e[type=armor_stand,name=ajin_place,c=1]/execute as @e[type=armor_stand,name=ajin_place] at @s if entity @e[type=player,tag=ajin_death,r=0.5] run tp @s ~ ~-10000 ~/execute as @a[tag=ajin_death] at @s run tp @s ~ ~ ~ facing ~1 ~5 ~/playanimation @a[tag=ajin_death] animation.player.sleeping none 100000/inputpermission set @a[tag=ajin_death] movement disabled/inputpermission set @a[tag=ajin_death] camera disabled/effect @a[tag=ajin_death] resistance 1000000 255 true/scoreboard players add @a[tag=ajin_death] ajin_time 1/execute as @a[tag=ajin_death,scores={ajin_time=150..}] at @s run tag @s remove ajin_death/execute as @a[tag=ajin,scores={ajin_time=150..}] at @s run effect @s resistance 0 0 true/execute as @a[tag=ajin,scores={ajin_time=150..}] at @s run inputpermission set @s movement enabled/execute as @a[tag=ajin,scores={ajin_time=150..}] at @s run inputpermission set @s camera enabled/execute as @a[tag=ajin,scores={ajin_time=150..}] at @s run camera @s clear/playanimation @a[tag=ajin,scores={ajin_time=150..}] animation.player.sleeping none 0/scoreboard players reset @a[tag=ajin,scores={ajin_time=150..}] ajin_time/execute as @a[tag=ajin_death] at @s run camera @s set minecraft:free pos ~1 ~5 ~ facing @s/execute as @a[tag=ajin_death] at @s run particle minecraft:wither_boss_invulnerable ~ ~ ~/execute as @a[tag=ajin,tag=!ajin_death] at @s unless entity @s[hasitem={item=nether_star}] run give @s nether_star/execute as @a[tag=ajin] at @s if entity @e[name=ネザースター,type=item,r=2] unless entity @e[name=IBM,type=wither_skeleton] unless entity @s[scores={ajin_cool=1..}] run particle minecraft:smash_ground_particle_center ^ ^-1 ^-0.5/execute as @a[tag=ajin] at @s if entity @e[name=ネザースター,type=item,r=2] unless entity @e[name=IBM,type=wither_skeleton] run summon wither_skeleton IBM ^ ^1 ^-0.5/replaceitem entity @e[name=IBM,type=wither_skeleton] slot.weapon.mainhand 0 air/replaceitem entity @e[name=IBM,type=wither_skeleton] slot.armor.head 0 air/replaceitem entity @e[name=IBM,type=wither_skeleton] slot.armor.chest 0 netherite_chestplate/replaceitem entity @e[name=IBM,type=wither_skeleton] slot.armor.legs 0 netherite_leggings/replaceitem entity @e[name=IBM,type=wither_skeleton] slot.armor.feet 0 netherite_boots/effect @e[name=IBM,type=wither_skeleton] weakness 1000000 255 true/effect @e[name=IBM,type=wither_skeleton] slowness 1000000 255 true/execute as @a[tag=ajin] at @s if entity @e[name=ネザースター,type=item,r=2] run kill @e[name=ネザースター,r=2,c=1]/execute as @e[name=IBM,type=wither_skeleton] at @s run effect @e[r=2] wither 0 0 true/execute as @e[name=IBM,type=wither_skeleton] at @s if entity @a[hasitem={item=nether_star,location=slot.weapon.mainhand},tag=ajin] run tp @s ~ ~ ~ facing @e[tag=!ajin,type=!armor_stand,r=30,rm=0.5,c=1,type=!item,name=!IBM]/execute as @e[name=IBM,type=wither_skeleton] at @s if entity @a[hasitem={item=nether_star,location=slot.weapon.mainhand},tag=ajin,name=!IBM] run tp @s ^ ^ ^0.5 true/execute as @e[name=IBM,type=wither_skeleton] at @s if entity @a[hasitem={item=nether_star,location=slot.weapon.mainhand},tag=ajin] unless block ^ ^ ^1 air if block ^ ^1 ^1 air if block ^ ^2 ^1 air if block ~ ~1 ~ air run tp @s ^ ^1 ^1/execute as @e[name=IBM,type=wither_skeleton] at @s if entity @a[hasitem={item=nether_star,location=slot.weapon.mainhand},tag=ajin] run tp @s ~ ~-0.3 ~ true/execute as @e[name=IBM,type=wither_skeleton] at @s if entity @a[hasitem={item=nether_star,location=slot.weapon.mainhand},tag=ajin] run damage @e[tag=!ajin,type=!armor_stand,r=2,rm=0.0001,c=1,type=!item] 3 entity_attack entity @s/scoreboard players add @e[type=wither_skeleton,name=IBM] ajin_time 1/execute as @e[type=wither_skeleton,name=IBM,scores={ajin_time=6000..}] at @s run tp @s ~ ~-100000 ~/scoreboard players set @a[tag=ajin] ajin_cool 3000/execute as @e[name=IBM,type=wither_skeleton] at @s run particle minecraft:wither_boss_invulnerable ~ ~1 ~/scoreboard players remove @a[tag=ajin,scores={ajin_cool=1..}] ajin_cool 1/scoreboard players reset @a[scores={ajin_cool=0}] ajin_cool/title @a[hasitem={item=nether_star,location=slot.weapon.mainhand}, tag=ajin,scores={ajin_cool=1..}] actionbar IBM使用不可/execute as @a[hasitem={item=nether_star,location=slot.weapon.mainhand}, tag=ajin] at @s unless entity @s[scores={ajin_cool=1..}] unless entity @e[name=IBM,type=wither_skeleton] run title @s actionbar IBM使用可能/execute as @a[hasitem={item=nether_star,location=slot.weapon.mainhand}, tag=ajin] at @s if entity @e[name=IBM,type=wither_skeleton] run title @s actionbar IBM使用中/execute as @a[tag=ajin,tag=!ajin_death] at @s unless entity @s[hasitem={item=slime_ball}] run give @s slime_ball/execute as @e[name=IBM,type=wither_skeleton,c=1] at @s run camera @a[tag=ajin,hasitem={item=slime_ball,location=slot.weapon.mainhand}] set minecraft:free pos ^ ^2 ^0.8 facing ^ ^2 ^2/execute as @e[tag=ajin] at @s unless entity @s[hasitem={item=slime_ball,location=slot.weapon.mainhand}] run camera @s clear/execute as @a[tag=ajin] at @s unless entity @e[name=IBM,type=wither_skeleton] run camera @s clear/execute as @a[tag=ajin] at @s if entity @e[name=スライムボール,type=item,r=2] run execute as @e[name=IBM,type=wither_skeleton] at @s run tp @s ~ ~ ~ facing ^0.1 ^ ^/execute as @a[tag=ajin] at @s if entity @e[name=スライムボール,type=item,r=2] run kill @e[name=スライムボール,r=2,c=1]/execute as @a[tag=ajin,hasitem={item=slime_ball,location=slot.weapon.mainhand}] at @s if entity @s[y=~1.4,dx=0] unless entity @s[y=~1.5,dx=0] run execute as @e[name=IBM,type=wither_skeleton] at @s run tp @s ^ ^ ^0.5 true/execute as @a[tag=ajin,hasitem={item=slime_ball,location=slot.weapon.mainhand}] at @s if entity @s[y=~1.4,dx=0] unless entity @s[y=~1.5,dx=0] run execute as @e[name=IBM,type=wither_skeleton] at @s unless block ^ ^ ^1 air if block ^ ^1 ^1 air if block ^ ^2 ^1 air if block ~ ~1 ~ air run tp @s ^ ^1 ^1/execute as @a[tag=ajin,hasitem={item=slime_ball,location=slot.weapon.mainhand}] at @s if entity @s[y=~1.4,dx=0] unless entity @s[y=~1.5,dx=0] run execute as @e[name=IBM,type=wither_skeleton] at @s run tp @s ~ ~-0.3 ~ true/execute as @a[tag=ajin,hasitem={item=slime_ball,location=slot.weapon.mainhand}] at @s if entity @s[y=~1.4,dx=0] unless entity @s[y=~1.5,dx=0] run execute as @e[name=IBM,type=wither_skeleton] at @s run damage @e[tag=!ajin,type=!armor_stand,r=2,rm=0.0001,c=1,type=!item] 3 entity_attack entity @s/execute as @e[name=IBM,type=wither_skeleton] at @s unless entity @a[hasitem={item=slime_ball,location=slot.weapon.mainhand}] unless entity @e[tag=!ajin,type=!armor_stand,r=30,rm=0.5,c=1,type=!item,name=!IBM] run tp @s ~ ~ ~ facing ~ ~-10 ~/execute as @a[tag=ajin,tag=ajin_death] at @s if entity @s[hasitem={item=nether_star}] run clear @s nether_star/execute as @a[tag=ajin,tag=ajin_death] at @s if entity @s[hasitem={item=slime_ball}] run clear @s slime_ball