MC常用指令汇总
装备
下界合金头盔
1 | /give @p netherite_helmet{Unbreakable:1,Enchantments:[{id:"fire_protection",lvl:255},{id:"blast_protection",lvl:255},{id:"projectile_protection",lvl:255},{id:"respiration",lvl:255},{id:"thorns",lvl:255}]} |
下界合金胸甲
1 | /give @p netherite_chestplate{Unbreakable:1,Enchantments:[{id:"fire_protection",lvl:255},{id:"blast_protection",lvl:255},{id:"projectile_protection",lvl:255},{id:"thorns",lvl:255}]} |
下界合金护腿
1 | /give @p netherite_leggings{Unbreakable:1,Enchantments:[{id:"fire_protection",lvl:255},{id:"blast_protection",lvl:255},{id:"projectile_protection",lvl:255},{id:"thorns",lvl:255}]} |
下界合金靴子
1 | /give @p netherite_boots{Unbreakable:1,Enchantments:[{id:"fire_protection",lvl:255},{id:"blast_protection",lvl:255},{id:"projectile_protection",lvl:255},{id:"thorns",lvl:255},{id:"feather_falling",lvl:255}]} |
下界合金剑
1 | /give @p netherite_sword{Unbreakable:1,Enchantments:[{id:"sharpness",lvl:255},{id:"sweeping",lvl:255},{id:"smite",lvl:255},{id:"bane_of_arthropods",lvl:255},{id:"fire_aspect",lvl:255}]} |
下界合金稿
1 | /give @p netherite_pickaxe{Unbreakable:1,Enchantments:[{id:"efficiency",lvl:255},{id:"silk_touch",lvl:255}]} |
盾牌
1 | /give @p shield{Unbreakable:1,Enchantments:[{id:"mending",lvl:255}]} |
弓
1 | /give @p bow{Unbreakable:1,Enchantments:[{id:"power",lvl:255},{id:"flame",lvl:255},{id:"punch",lvl:255},{id:"infinity",lvl:255}]} |
钻石剑
1 | /give @p diamond_sword{AttributeModifiers:[{AttributeName:"generic.attack_damage",Amount:1.0E99,UUID:[I;1,2,3,4]}]} |
效果
力量
1 | /effect give @s minecraft:strength 999999 255 true |
夜视
1 | /effect give @s minecraft:night_vision 999999 255 true |
隐身
1 | /effect give @s minecraft:invisibility 999999 255 true |
抗性提升
1 | /effect give @s minecraft:resistance 999999 255 true |
道具
击退棒
1 | /give @p blaze_rod{display:{Name:"\"击退棒\""},Enchantments:[{id:"knockback",lvl:3}]} |
激流三叉戟
1 | /give @p trident{display:{Name:"\"危险的激流三叉戟\""},Unbreakable:1,Enchantments:[{id:"riptide",lvl:255}]} |
毒药
1 | /give @p splash_potion{display:{Name:"\"死神的毒药\""},CustomPotionEffects:[{Id:6,Amplifier:29}]} |
苦力怕刷怪蛋
1 | /give @p creeper_spawn_egg{EntityTag:{powered:1b,ExplosionRadius:50}} |
其他
发送链接
1 | /tellraw @a {"text":"点击访问","extra":[{"text":"【官网】","clickEvent":{"action":"open_url","value":"http://minecraft.net/"}}]} |
排水
1 | /fill ~10 ~10 ~10 ~-10 ~-10 ~-10 air replace water |
生成靶标
1 | /summon villager ~ ~ ~ {CustomName:"\"靶标\"",NoAI:1b,Health:1024,Attributes:[{Name:"generic.max_health",Base:1024}]} |
调整生命值
1 | /attribute @s minecraft:generic.max_health base set 1024 |
本博客所有文章除特别声明外,均采用 CC BY-NC-ND 4.0 许可协议。转载请注明来自 AlexSJC 的博客!