我的世界防熊高級版,進(jìn)來看看吧

一,創(chuàng)造計(jì)分板
/scoreboard objectives add X
二,指令核心
1./tag @r add 名字
2./clear @a[tag=名字] 物品ID
3./say @a[tag=名字] ID
4./scoreboard players add @a[tag=名字] X 1
5/tag @a remove 名字
三,計(jì)分板和titleraw
1./execute @a[scores={X=1..}] ~ ~ ~ titleraw @s actionbar {"rawtext":[{"text":"防熊系統(tǒng):
拿了1次禁物品開始警告,
超過4次不可破壞方塊,6次黑名單(可申回),
每一分鐘撤回1次數(shù)
(6次數(shù)的人不可撤回,需要管理員或房主審問)
上限為6次"},{"text":"
你的當(dāng)前次數(shù):§4"},{"score":{"name":"@s","objective":"X"}}]}
2./scoreboard players ramove @a[scores={X=!6}]X 1
3./scoreboard players set @a[scores={X=..0}] X 0
4./scoreboard players set @a[scores={X=..7}] X 6
5./replaceitem entity @a[scores={=4..}] slot.weapon.mainhand 0 wooden_sword 1 0 {"minecraft:item_lock":{"mode":"lock_in_slot"}}
6./clear @a[scores={X=..3}] wooden_sword
7./tp @a[scores={X=6}] 小黑屋坐標(biāo)
8./execute @a[scores={X=4..}] ~ ~ ~ kill @e[type=item,r=2]
條件
二,1,循環(huán),無條件,保持
2,連鎖,有條件,保持
3,連鎖,有條件,保持
4,連鎖,有條件,保持
5,連鎖,無條件,保持
三,1,循環(huán),無條件,保持
2,循環(huán),無條件,保持
3,循環(huán),無條件,保持
4,循環(huán),無條件,保持
5,循環(huán),無條件,保持
6,循環(huán),無條件,保持
7,循環(huán),無條件,保持
8,循環(huán),無條件,保持
三,第7,延遲隨意
/gamerule sendcommandfeedback false
關(guān)閉提示(不是命令方塊)
和/gamerule commandblockoutput false
關(guān)閉命令提示
還要加載區(qū)域