마인크래프트

[마인크래프트] 제가 사용하는 커맨드박스... 1.19.73 버젼

귀신이보인다 2023. 5. 17. 09:15
728x90
반응형

give @s minecraft:command_block
netherite_boots
give @p netherite_chestplate
give @p netherite_helmet
give @p netherite_leggings
give @p netherite_pickaxe

give @p minecraft:farmland
give @p minecraft:pumpkin_seeds
give @p minecraft:melon_seeds
give @p minecraft:wheat_seeds
give @p minecraft:fishing_rod

/tp @a 101 67 172
/effect @p instant_health 3600 1

/effect @p slow_falling 3600 1
/effect @p levitation 300 1


kill @e[type=minecraft:creeper]
kill @e[type=minecraft:enderman]
kill @e[type=tnt]
/gamerule commandBlockOutput truefalse
/setworldspawn 124 62 157

/clear @a minecraft:tnt

/clear @p[x=105,y=76,z=154,r=4] tripwire_hook 0 0
fill 103 77 154 105 76 154 air 문열림
fill 103 77 154 105 76 154 glass

/clear @p bone 0 100
/effect @p levitation 300 1
kill @e[type=minecart,r=2]
give @p minecart
/kill @e[type=item]
/time set 0
/gamerule doDaylightCycle false
/gamerule doDaylightCycle true
/gamemode creative @s
/gamemode adventure @p
/gamemode survival @p

#들어올때
/clear @p[x=117,y=64,z=130,r=5] tripwire_hook 0 0
/gamemode adventure @p
#나갈때
/clear @p[x=116,y=65,z=88,r=5] tripwire_hook 0 0
/gamemode survival @p

/clear @p[x=116,y=72,z=163,r=2] tripwire_hook 0 0
116 73 163 116 72 162
fill 116 73 163 116 72 162 air 문열림
fill 116 73 163 116 72 162 glass
/setblock 122 62 149
122 62 149

gamemode survival @e[type=player,r=10]
give @s structure_block
/clear @p[x=104,y=76,z=155,r=2] tripwire_hook 0 0
116 73 163 116 72 162
fill 103 77 154 105 76 154 air 문열림
fill 103 77 154 105 76 154 glass

give @e[type=player,r=10] bone

tag @a[hasitem={item=bone,location=slot.weapon.mainhand}] add activate
tp @a[tag=activate] 117 64 130
replaceitem entity @a[tag=activate] slot.weapon.mainhand 1 air
/clear @p[x=117,y=64,z=130,r=5] tripwire_hook 0 0
tag @a remove activate

summon Skeleton 1 -50 0 {powered:true}
tp @e[type=player,r=5] 124 201 83 하늘집
tp @e[type=player,r=5] 123 92 83 지상

/clear @p[x=113,y=72,z=160,r=10] tripwire_hook 0 0
gamemode survival @e[type=player,r=10]

 /scoreboard objectives add deathCount deathCount
[반복] gamemode adventure @a[scores={death=1..}]
[연쇄] scoreboard players set @a[scores={deathCount=1..}] deathCount 0
/scoreboard players reset @a

/scoreboard objectives add aaa deathCount 1

/scoreboard objectives add death dummy death

반복 /scoreboard players add @a death 1

#연쇄 gamemode adventure @a[scores={death=1}]
반복 gamemode adventure @a[scores={death=1..}]
#연쇄 /scoreboard players set @e[type=player,r=5] death 0
gamemode adventure @e[type=player,r=5,scores={death=!0}]
gamemode adventure @a[scores={death=!0}]
연쇄 /scoreboard players set @a[scores={death=1..}] death 0

execute @a[scores={death=1}] ~ ~ ~ gamemode adventure @a[type=player]
execute as @a[scores={death=1}] run gamemode adventure @a[type=player]
commandBlockOutput true
setblock 140 62 58
반복/무조건부/항상사용
tag @a add check

채인/무조건부/항상사용
tag @e[type=player] remove check

채인/무조건부/항상사용
tag @e[type=player] add task

채인/무조건부/항상사용
execute @a[tag=check,tag=task] ~ ~ ~ scoreboard players add @s score 1

채인/무조건부/항상사용
tag @a[tag=check] remove task

채인/무조건부/항상사용
execute @a[tag=check,tag=task] ~ ~ ~ scoreboard players add @s score 1

114 72 161

execute as @a at @s if block ~ ~-0.1 ~ minecraft:bed run gamemode adventure @e[type=player,r=30]
execute as @a at @s if block ~+5 ~-0.1 ~ bed run say test
execute as @a at @s positioned ~ ~-0.1 ~ if entity @e[hasitem={item=bed},r=5] run gamemode adventure @e[type=player,r=5]
execute as @a at @s if entity @e[hasitem={item=bed},r=10] run say test

execute as @a at @s if block ~-2 ~ ~-1 minecraft:bed run gamemode adventure @e[type=player,r=5]
execute as @a at @s if block ~ ~ ~ minecraft:bed run say test

execute as @a at @s if block ~ ~ ~ minecraft:bed run tp @s 113 72 159

/tickingarea add circle ~ ~ ~ 4
/execute as @a at @s facing entity @e[r=10] feet if block ~ ~ ~ minecraft:bed run say test

execute as @a at @s if block ~ ~ ~ minecraft:bed run scoreboard players add @a death 1
gamemode adventure @a[scores={death=!0}]
/scoreboard players set @a[scores={death=1..}] death 0



scoreboard players add @e[type=player,r=5] death 1

scoreboard players set @e[type=player,r=5,scores={death=1..}] death 0


scoreboard players list @a
scoreboard players add @s death 1
scoreboard players reset @e[scores={death=1..},r=30] death
if score @e[type=player,r=5,scores={death=1..}] death matches 0 

execute as @a at @s if block ~ ~ ~ bed run testfor @a 
execute as @a at @s if block ~ ~ ~ bed run scoreboard players add @e[type=player,r=5] death 1
gamemode adventure @a[scores={death=1..}]
scoreboard players reset @e[scores={death=1..},r=30] death


/clear @p[x=124,y=91,z=125,r=3] tripwire_hook 0 0
gamemode survival @e[type=player,r=10]
fill 125 90 128 123 90 126 glass 다리있음
fill 125 90 128 123 90 126 air 다리없음

125 89 127 
123 89 128

fill 116 73 163 116 72 162 glass


/clear @p[x=117,y=72,z=156,r=3] tripwire_hook 0 0
fill 119 73 156 117 72 156 air
fill 119 73 156 117 72 156 glass


/give @e[type=player,r=5] potion 1 22 체력회복포션
give @e[type=player,r=5] potion 1 22 
/give @e[type=player,r=5] potion 1 41 느린낙하포션
/give @e[type=player,r=5] splash_potion 1 35 투척용나약의포션
give @e[type=player,r=5] golden_apple 1

/clear @e[type=player,r=5] sand 0 100
/give @e[type=player,r=5] bone

give @e[type=player,r=3] sand 1000

좀비주민 소환
summon zombie_villager 155 63 76

 

정리가않됨...

728x90
반응형