/kill @e[type=item,nbt={Item:{id:“minecraft:ink_sac”}}]
清除指定掉落物墨囊
/give @s minecraft:player_head {SkullOwner:“Notch”}
用命令得到正版玩家头颅
/summon minecraft:villager ~ ~ ~ {NoAI:1}
生成不能动的村民
/execute as @e[type=creeper] at @s unless entity @e[type=ocelot,distance=…7] run kill @s
击杀所有7格内没豹猫的爬行者
/execute as @a at @s if block ~ ~-1 ~ green_concrete run effect give @s jump_boost 5 2
如果他下方1个的方块是绿色混凝土,则给与跳跃效果
/summon item ~ ~ ~ {Item:{id:“minecraft:iron_block”,Count:1}}
指令生成掉落物[铁块]
/summon armor_stand ~ ~1 ~ {Marker:1,NoGravity:1,Invisible:1,CustomNameVisible:1,CustomName:“'#”}
生成无重力,隐形的名为 # 的盔甲架
/summon slime ~ ~1 ~ {Size:50}
生成一个大小为50的史莱姆
/summon creeper ~ ~1 ~ {powered:1,CustomName:‘“😁”’}
闪电苦力怕,名为😁
/summon slime ~ ~1 ~ {CustomName:‘"史莱姆’",Size:50}
50大小史莱姆,名为史莱姆
/give @s minecraft:diamond_chestplate{AttributeModifiers:[{AttributeName:“generic.armor”,Operation:0b,Amount:20f,Slot:“chest”,Name:“Armor”,UUID:[I;1,2,3,4]}]}
穿身上20护甲值的钻石胸甲
/summon minecraft:falling_block ~ ~ ~ {BlockState:{Name:“minecraft:grass_block”},Time:1}
下落中的草方块
/summon minecraft:bat ~ ~ ~ {Passengers:[{id:“minecraft:skeleton”,ArmorItems:[{},{},{},{id:“minecraft:leather_helmet”,Count:1b}],HandItems:[{id:“minecraft:stick”,Count:1b}]}]}
生成蝙蝠,被手持木棍的骷髅骑
/summon minecraft:zombie ~ ~ ~ {Attributes:[{Name:“generic.max_health”,Base:100f}],Health:100f}
血量100的僵尸
/summon minecraft:item ~ ~ ~ {Item:{id:“minecraft:diamond_sword”,Count:1b},PickupDelay:32767s}
无法捡起的钻石剑
/summon minecraft:armor_stand ~ ~1 ~ {ShowArms:1b,Pose:{RightArm:[-135.0f,0.0f,0.0f],Head:[-15.0f,20.0f,0.0f],LeftArm:[-130.0f,0.0f,0.0f],RightLeg:[-115.0f,30.0f,0.0f],Body:[0.0f,20.0f,0.0f]},ArmorItems:[{id:“minecraft:leather_boots”,Count:1b},{id:“minecraft:leather_leggings”,Count:1b},{id:“minecraft:leather_chestplate”,Count:1b},{id:“minecraft:skeleton_skull”,Count:1b}]}
生成特定动作的盔甲架