【我的世界Minecraft-MC】常见及各种指令大杂烩【2022.8版】

news/2024/11/19 22:52:02/

/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}]}
生成特定动作的盔甲架

/summon minecraft:area_effect_cloud ~ ~ ~ {Duration:1200,WaitTime:60,Age:0,DurationOnUse:-20,Radius:20.0f,RadiusOnUse:4.9f,RadiusPerTick:-0.05f,ReapplicationDelay:80,Effects:[{Id:5b,Amplifier:1b,Duration:320,Ambient:1b}],Particle:“minecraft:block minecraft:gold_block”}
生成效果云,最大存在1分钟,但生成后3秒才有效,初始半径20m,每刻缩减0.05米,每隔4秒为范围内的生物给予力量2效果,时长16秒,且每对一个生物生效一次,半径增加4.9m,最大存在时间减少1秒,粒子为破坏金块的粒子

item block ~ ~-1 ~ container.26 replace minecraft:acacia_boat 1
将脚下箱子26栏位物品替换成1个合金欢船

setblock ~ ~ ~ minecraft:tnt[unstable=true]
放置一个生存模式破坏就爆炸的tnt

particle footstep ~ ~-0.1 ~ 0.10 1 2 @p
生成一个hypixel起床战争隐身药水相同的脚印粒子效果

高级:
/give @p birch_sign{
BlockEntityTag: {
Text1: “{“text”:”++3+++++++++#++++++$++++++++++++%+++++++&++++++“,“color”:“gold”,“obfuscated”:true}”,
Text2: “{“text”:“PVP Bata0.3”,“color”:“red”,“clickEvent”:{“action”:“run_command”,“value”:”/tp @p 1001 156 1001"}}"
},
display: {
Name: “Custom Sign”
}
} 1
自定义的可点击的木牌

/summon minecraft:villager ~ ~ ~ {CustomName:“{“text”:“垃圾”}”,Tags:[“sqfj”],NoAI:1b,Invulnerable:1b,PersistenceRequired:1b,Rotation:[-90f],Profession:1,Offers:{Recipes:[ {maxUses:999999,max:null,uses:0,buy:{id:“minecraft:emerald”,Count:1b,tag:{display:{Name:“{“text”:“武器”,“color”:“red”}”}}},sell:{id:“minecraft:leather_helmet”,Count:1b,tag:{display:{Name:“{“text”:“保护套”,“color”:“red”}”},AttributeModifiers:[{Operation:0,Amount:5,UUIDLeast:6324,UUIDMost:6324,AttributeName:“generic.maxHealth”,Name:“CBC”},{Operation:1,Amount:0.1,UUIDLeast:6324,UUIDMost:6324,AttributeName:“generic.movementSpeed”,Name:“CBC”},{Operation:0,Amount:5,UUIDLeast:6324,UUIDMost:6324,AttributeName:“generic.armor”,Name:“CBC”}], Unbreakable:1,HideFlags:2,Enchantments:[{id:“minecraft:feather_falling”,lvl:5}]}}}]}}
自定义村民经典案例

execute as @e[type=minecraft:arrow] at @e[type=minecraft:arrow] run tp Player609 ~ ~ ~
传送玩家到箭

原版搭桥蛋:
检测鸡蛋的位置,生成盔甲架
execute as @a at @e[type=minecraft:egg] run summon minecraft:armor_stand ~ ~ ~ {Invisible:1b,Marker:1b,NoGravity:1b,Tags:[“yellow”]}
检测盔甲架,生成羊毛
execute as @a at @e[type=minecraft:armor_stand,nbt={Tags:[“yellow”]}] run fill ~-1 ~-2 ~ ~ ~-2 ~-1 yellow_wool replace minecraft:air
接连锁命令方块连接上面的

kill @e[type=minecraft:armor_stand,nbt={Tags:[“yellow”]}]
杀死盔甲架

/item replace entity @p armor.legs minecraft:iron_leggings{Enchantments:[{id:“protection”,lvl:4},{id:thorns,lvl:3},{id:fire_protection,lvl:3},{id:feather_falling,lvl:4},{id:blast_protection,lvl:4},{id:projectile_protection,lvl:4}],Unbreakable:1b}

Lore:[“{“text”:“免费”,“color”:“blue”,“italic”:false}”]
附魔的,带有介绍的裤子

箱子菜单:
item replace block 42 2 19 container.2 minecraft:dark_oak_planks{display:{Name:“{“text”:“第三关[阴森古堡]”,“color”:“red”,“italic”:false}”,color:“16711680”},Enchantments:[{id:“protection”,lvl:1}],Unbreakable:1b} 1
接连锁命令方块连接上面的
execute as @a at @s run clear @s minecraft:dark_oak_planks{display:{Name:“{“text”:“第三关[阴森古堡]”,“color”:“red”,“italic”:false}”,color:“16711680”},Enchantments:[{id:“protection”,lvl:1}],Unbreakable:1b} 1
接连锁命令方块连接上面的,有条件
execute as @a at @s run give @s minecraft:apple 1

/tellraw @a {“text”:“HeiLong_999 離開了遊戲”,“color”:“yellow”,“italic”:false}
/tellraw @a {“text”:“HeiLong_999 离开了游戏”,“color”:“yellow”,“italic”:false}
/tellraw @a {“text”:“xxx 试图攻击 HeiLong_999 但被反将一军”,“color”:“white”,“italic”:false}
/tellraw @a {“text”:“Shi_Kong_Luo 淹死了”,“color”:“white”,“italic”:false}
/tellraw @a {“text”:“[lmwszbc: 传送 lmwszbc 到 Shi_Kong_Luo]”,“color”:“gray”,“italic”:true}
tellraw指令妙用

execute if block 1105 8 -1717 chest{Items:[{Slot:0b,id:“minecraft:crossbow”}]} run setblock 1131 1 -1731 redstone_block
setblock 1105 8 -1717 chest[facing=east,type=right]
summon item 1106 8 -1718 {Item:{id:“minecraft:crossbow”,Count:1}}
指令物品分类机

/item replace entity HeiLong_999 armor.chest minecraft:diamond_chestplate{Enchantments:[{id:“protection”,lvl:2147483647},{id:fire_protection,lvl:2147483647},{id:feather_falling,lvl:2147483647},{id:blast_protection,lvl:2147483647},{id:projectile_protection,lvl:2147483647},{id:thorns,lvl:2147483647},{id:respiration,lvl:2147483647},{id:depth_strider,lvl:2147483647},{id:aqua_affinity,lvl:2147483647},{id:mending,lvl:1}],Unbreakable:1b}
超强盔甲

give @a minecraft:netherite_sword{display:{Name:“{“text”:“真-幻灵剑[SSR]”,“color”:“gold”,“italic”:false}”,Lore:[‘“\u00a77攻击力:\u00a7f25 伤害”’,‘“\u00a77攻击速度:\u00a7f6”’,‘“\u00a77防御力:\u00a7f10”’,‘“\u00a77血量:\u00a7f20”’,‘“\u00a77攻击距离:\u00a7f3”’,‘“\u00a77价格:\u00a7f250$”’,‘“\u00a77挖掘速度:\u00a7f10”’,‘“”’,‘“\u00A75技能【1】:\u00A73波纹冲击”’,‘“\u00a77冷却时间:\u00A7830秒”’,‘“\u00a77用法:\u00a7f按Q开启”’,‘“\u00a77用途:\u00a7f水上行走20秒”’,‘“”’,‘“\u00A75技能【2】:\u00A79雷霆之怒”’,‘“\u00a77冷却时间:\u00A7860秒”’,‘“\u00a77用法:\u00a7f潜行3秒开启”’,‘“\u00a77用途:\u00a7f召唤10道闪电劈在目标上”’,‘“\u00a7f==========\u00a7f=======”’,‘“\u00A74附加效果\u00a7f给予玩家跳跃I效果”’,‘“”’,‘“\u00a7e火焰攻击”’,‘“\u00a7e无限耐久”’]},Enchantments:[{id:“sharpness”,lvl:30},{id:“smite”,lvl:15},{id:“bane_of_arthropods”,lvl:15},{id:“fire_aspect”,lvl:15},{id:“looting”,lvl:15},{id:“knockback”,lvl:8},{id:“sweeping”,lvl:15},{id:“efficiency”,lvl:15},{id:“silk_touch”,lvl:1}],Tags:[“zhen-huanlingjian”],Unbreakable:1b,HideFlags:63b} 1
Lore指令属性妙用

/give @a written_book{pages:[‘[“”,{“text”:“\u70b9\u51fb\u6211\u81ea\u6740”,“italic”:true,“color”:“#99E699”,“clickEvent”:{“action”:“run_command”,“value”:“/kill @p”}},{“text”:“\n\n”,“color”:“reset”},{“text”:“\u70b9\u51fb\u6211\u56de\u57ce”,“underlined”:true,“color”:“#9999E6”,“clickEvent”:{“action”:“run_command”,“value”:“/tp @p ~ ~10 ~”}},{“text”:“\n\n”,“color”:“reset”},{“text”:“\u70b9\u8d5e”,“strikethrough”:true,“color”:“#E699E6”,“clickEvent”:{“action”:“open_url”,“value”:“https://space.bilibili.com/472148300”;}},{“text”:“\uff0c”,“color”:“#E699E6”,“clickEvent”:{“action”:“open_url”,“value”:“https://space.bilibili.com/472148300”;}},{“text”:“\u6295\u5e01”,“bold”:true,“color”:“#E699E6”,“clickEvent”:{“action”:“open_url”,“value”:“https://space.bilibili.com/472148300”;}},{“text”:“\uff0c”,“color”:“#E699E6”,“clickEvent”:{“action”:“open_url”,“value”:“https://space.bilibili.com/472148300”;}},{“text”:“\u8f6c\u53d1”,“obfuscated”:true,“color”:“#E699E6”,“clickEvent”:{“action”:“open_url”,“value”:“https://space.bilibili.com/472148300”;}}]’],title:hi,author:“你爹”}
指令书制作

/execute as @e[type=minecraft:creeper] store result entity @s powered byte 1 at @s if block ~ ~150 ~ minecraft:air
如果头顶15格是空气,则修改所有苦力怕为闪电苦力怕

give @a iron_pickaxe{display:{Name:“{“text”:“太空镐”,“color”:“dark_gray”,“italic”:false}”,Lore:[‘“\u00a77攻击力:\u00a7f8”’,‘“\u00a77挖掘速度:\u00a7f2”’,‘“”’,‘“\u00A76几率抗击退”’,‘“\u00A76无法破坏”’]},Enchantments:[{id:“sharpness”,lvl:3},{id:“smite”,lvl:3},{id:“bane_of_arthropods”,lvl:3},{id:“fire_aspect”,lvl:3},{id:“looting”,lvl:3},{id:“knockback”,lvl:3},{id:“sweeping”,lvl:3},{id:“efficiency”,lvl:3},{id:“silk_touch”,lvl:3}],Tags:[“zhen-huanlingjian”],Unbreakable:1b,HideFlags:63b} 1
经典RPG武器实例

execute as @a at @s run tp @e[type=minecraft:tnt] ^ ^ ^10
tp实体到玩家前方10格处

give HeiLong_999 minecraft:netherite_sword{display:{Name:“{“text”:“真 · 剑”,“color”:“gold”,“italic”:false,“bold”:true}”},Enchantments:[{id:“bane_of_arthropods”,lvl:10},{id:fire_aspect,lvl:10},{id:looting,lvl:10},{id:sharpness,lvl:10},{id:smite,lvl:10},{id:sweeping,lvl:10},{id:unbreaking,lvl:10},{id:mending,lvl:10},{id:knockback,lvl:1}],AttributeModifiers:[{AttributeName:“generic.attack_damage”,Name:“noName”,Amount:13.5d,Operation:0,UUID:[I;7297,8331,9797,4629],Slot:mainhand},{AttributeName:“generic.attack_speed”,Name:“noName”,Amount:1024d,Operation:0,UUID:[I;3719,7575,7827,3421],Slot:mainhand},{AttributeName:“generic.knockback_resistance”,Name:“noName”,Amount:1d,Operation:0,UUID:[I;1393,1791,5282,8685],Slot:mainhand},{AttributeName:“generic.luck”,Name:“noName”,Amount:1024d,Operation:0,UUID:[I;4264,3531,5953,6568],Slot:mainhand}]}
给与玩家一个手持获得1024幸运、1024攻击速度、13.5攻击伤害、10抗击退的剑


http://www.ppmy.cn/news/287182.html

相关文章

命令方块召唤别墅指令_我的世界指令

一.道歉信 我不是故意拖跟的啦,我找指令找了很久的。 二.指令 1、/difficulty 1 设置难度为简单 2、/difficulty 2设置难度为普通 3、/difficulty 3设置难度为困难 4、/gamemode 0设置模式为生存 5、/gamemode 1设置模式为创造 6、/gamemode 2设置模式为冒险 7、/ga…

python我的世界给予物品指令_我的世界给予物品指令的方法

给予物品指令为 /give 人物id 物品id 数量,如果数量不填的话默认是64个。示例:/give AW fire_charge 64 给玩家AW 64个火焰弹。 /nick ID 名称 -给某人改一个名 ID是加白名单的名字 /backup -运行备份命令 /fireball -发射一个火球(会破坏方块) /heal na…

我的世界服务器无限装备指令2020,我的世界2020命令方块代码

我的世界命令方块代码有/give给予人物品id数量–给予某人物品,如果不写数量则给予数量默认为64,/nick ID名称-给某人改一个名ID是加白名单的名字,/backup运行备份命令。 详细答案: 我的世界命令方块代码有/give给予人物品id数量–…

Minecraft 命令方块:简易计时器

1.获取计时器 获取一个计分板 按’T’进入控制台输入:/scoreboard objectives add Timer dummy 随后在mc中获得一个命令方块和一个拉杆 按’T’进入控制台输入:give P minecraft:command_block 在命令方块中输入/scoreboard players add ticks Time…

我的世界常用快捷键指令大全

我的世界常用快捷键指令大全,Minecraft必知的快捷键。今天我为大家带来我的世界经常用到的快捷键指令大全,告诉大家哪些快捷键是常用的,它们的功能都是什么,下面大家就一起来看下吧。 〓 常用快捷键指令 1、你可以使用CtrlQ扔掉整…

MC指令大全

中国版我的世界指令大全 /give 使用方法:give 名称 物品ID 数量 作用:给予玩家物品。 /gamerule mobGriefing false 作用:保护地形,防止苦力怕炸坑 /weather 改变天气 clear - 将天气设为晴天。 rain - 将天气设为雨天(寒冷…

网易我的世界服务器清除TNT,以及圈地领地,命令方块使用

想要阻止TNT源源不断来袭击我们,首先我们需要在地上放四个命令方块,一个是不循环的,另外三个是循环的命令块。在设定好之后,就可以打开后台来输入指令代码来执行阻止TNT的行为。 首先是第一个命令方块,指令代码为&…

我的世界java生存命令方块,我的世界命令方块指令大全

利用命令方块可以制作出非常多的东西,但是命令方块指令也很多,不过没关系,今天游戏园小编为大家带来了我的世界命令方块指令大全,希望能帮助到你哦! [size13.63636302947998px]请注意 若出现 [size13.63636302947998px…