我的世界作弊码

1,406 次浏览 0 条评论

开启作弊:创建世界→更多世界选项→允许作弊:开,按 T 打开聊天框输入,前缀必须带 /
一、模式切换
 

/gamemode survival    生存

/gamemode creative    创造

/gamemode adventure   冒险

/gamemode spectator   旁观

二、获取物品(@p = 最近玩家、@s = 自己、@a = 全部玩家)
方块类
 

/give @p stone 64          石头

/give @p dirt 64           泥土

/give @p cobblestone 64    圆石

/give @p obsidian 64       黑曜石

/give @p bedrock 64        基岩

/give @p diamond_block 64  钻石块

/give @p iron_block 64     铁块

/give @p gold_block 64     金块

/give @p emerald_block 64  绿宝石块

/give @p netherrack 64     下界岩

/give @p end_stone 64      末地石

/give @p glass 64          玻璃

/give @p glowstone 64      萤石

/give @p tnt 64            TNT

/give @p barrier 64        隐形屏障方块(看不见、穿不过)

/give @p command_block       命令方块
/give @p chain_command_block
     连锁命令方块
/give @p repeating_command_block
       重复命令方块

 

 



矿石 & 原材料
 

/give @p diamond 64        钻石

/give @p iron_ingot 64    铁锭

/give @p gold_ingot 64    金锭

/give @p coal 64          煤炭

/give @p redstone 64      红石

/give @p lapis_lazuli 64  青金石

/give @p emerald 64       绿宝石

/give @p netherite_ingot 64 下界合金锭

/give @p quartz 64        下界石英

/give @p string 64        线

/give @p leather 64        皮革

/give @p bone 64          骨头

/give @p gunpowder 64     火药

武器
 

/give @p netherite_sword 1   下界合金剑

/give @p bow 1               弓

/give @p crossbow 1          弩

/give @p arrow 64         箭

/give @p trident 1           三叉戟

工具
 

/give @p netherite_pickaxe 1 镐

/give @p netherite_axe 1     斧

/give @p netherite_shovel 1  铲

/give @p netherite_hoe 1     锄


防具全套
 

/give @p netherite_helmet 1     头盔

/give @p netherite_chestplate 1 胸甲

/give @p netherite_leggings 1   护腿

/give @p netherite_boots 1      靴子

食物 & 药水
 

/give @p cooked_beef 64    熟牛排

/give @p golden_apple 64   金苹果

/give @p enchanted_golden_apple 64 附魔金苹果

/give @p bread 64          面包

/give @p carrot 64         胡萝卜

 

/give @p potion{Potion:"night_vision"}64 夜视药水

/give @p potion{Potion:"healing"}64      治疗药水

/give @p potion{Potion:"fire_resistance"}64 防火药水
 

末地 / 下界关键道具
 

/give @p ender_pearl 64    末影珍珠

/give @p eye_of_ender 64   末影之眼

/give @p blaze_rod 64      烈焰棒

/give @p ghast_tear 64     恶魂之泪

/give @p magma_cream 64    岩浆膏

/give @p shulker_shell 64  潜影壳

/give @p elytra 1          鞘翅(翅膀飞行)

/give @p totem_of_undying 64 不死图腾
/give @p spawner
     获得刷怪笼
 

功能性物品
 

/give @p name_tag 64       命名牌

/give @p saddle 64         鞍

/give @p compass 64        指南针

/give @p clock 64          钟表

/give @p flint_and_steel 64 打火石

/give @p shield 1          盾牌

/give @p shulker_box 64    潜影盒

 

其他

/give @p torch 64       普通火把
/give @p redstone_torch 64
     红石火把
/give @p soul_torch 64
     灵魂火把
 

/give @p oak_log 64        橡木原木(最常用)

/give @p spruce_log 64     云杉原木(深色)

/give @p birch_log 64      白桦原木(白色树皮)

/give @p jungle_log 64     丛林原木

/give @p acacia_log 64     金合欢原木

/give @p dark_oak_log 64   深色橡木原木

/give @p mangrove_log 64   红树原木

/give @p cherry_log 64     樱花原木(粉色)

 

/give @p stripped_oak_log 64      去皮橡木

/give @p stripped_spruce_log 64   去皮云杉
 

/give @p oak_planks 64    橡木板

/give @p spruce_planks 64 云杉板
 

白色床:/give @p bed 1 0

橙色床:/give @p bed 1 1

品红床:/give @p bed 1 2

浅蓝床:/give @p bed 1 3

黄色床:/give @p bed 1 4

黄绿床:/give @p bed 1 5

粉色床:/give @p bed 1 6

灰色床:/give @p bed 1 7

浅灰床:/give @p bed 1 8

青色床:/give @p bed 1 9

紫色床:/give @p bed 1 10

蓝色床:/give @p bed 1 11

棕色床:/give @p bed 1 12

绿色床:/give @p bed 1 13

红色床:/give @p bed 1 14

黑色床:/give @p bed 1 15

 

普通铁轨:/give @p rail 64

动力铁轨(加速矿车):/give @p golden_rail 64

探测铁轨(过车出红石信号):/give @p detector_rail 64

激活铁轨(引爆TNT矿车、弹射):/give @p activator_rail 64

 

空矿车(坐人):/give @p minecart 1

熔炉动力矿车(自带动力、拉车厢):/give @p furnace_minecart 1

箱子矿车(运物资储物):/give @p chest_minecart 1

TNT矿车(过激活轨爆炸):/give @p tnt_minecart 1

漏斗矿车(自动吸掉落物):/give @p hopper_minecart 1

命令方块矿车(红石黑科技):/give @p command_block_minecart 1

 

拉杆(控动力铁轨开关):/give @p lever 64

红石火把:/give @p redstone_torch 64

红石粉:/give @p redstone 64

 

船:/give @p boat 1 0

鞘翅:/give @p elytra 1

鞍:/give @p saddle 64

拴绳:/give @p lead 64

发射器:/give @p dispenser 64

漏斗:/give @p hopper 64

活塞:/give @p piston 64

比较器:/give @p comparator 64

 

 

三、时间 & 天气
/time set day    白天

/time set night  夜晚

/weather clear   晴天

/weather thunder 雷雨


四、传送
/tp 100 64 100
    传送到指定坐标
/tp 玩家名
     传送到玩家

五、保留死亡物品
死亡不掉落:/gamerule keepInventory true
恢复正常:/gamerule keepInventory false
保留掉落物:/gamerule doTileDrops false


六、经验值

增加100级经验:/xp add @p 100 levels或/experience add @p 100 levels

 

七、附魔

给手上的物品锋利100:/enchant @p sharpness 100
或者

/give @p diamond_sword{Enchantments:[{id:sharpness,lvl:255}]}
/loot give @p loot minecraft:chests/end_city_treasure

一键神装(Java 版附魔 255 满级,复制整条)
/give @p diamond_sword{Enchantments:[{id:"sharpness",lvl:255},{id:"unbreaking",lvl:255},{id:"looting",lvl:255}]} 1
 

 

八.、召唤生物

召唤苦力怕:/summon creeper

召唤末影龙:/summon ender_dragon

 

九.、定位建筑

寻找村庄:/locate structure village

寻找林地府邸:/locate structure mansion

寻找海底神殿:/locate structure monument
寻找远古城市:/locate structure ancient_city

寻找末地传送门:/locate structure stronghold

寻找猪灵堡垒:/locate structure bastion_remnant

寻找下界要塞:/locate structure fortress

寻找试炼密室:/locate structure trial_chambers

 

十、神级作弊命令

服务器默认会给该玩家 4 级(最高权限): /op 玩家名 

无限夜视:/effect give @p night_vision 999999 1 true

无限速度:/effect give @p speed 999999 5 true

无限生命恢复:/effect give @p regeneration 999999 5 true

飞行模式:/gamemode creative
设置出生点:/setworldspawn
设置个人重生点:/spawnpoint
立即回满血:/effect give @p regeneration 10 255或/effect give @p instant_health 1 255   /effect @p instant_health 1 255 true

清除所有怪物:/kill @e[type=!player]
仅清除苦力怕:/kill @e[type=creeper]
禁止怪物生成:/gamerule doMobSpawning false
恢复:/gamerule doMobSpawning true

冻结火焰蔓延:/gamerule doFireTick false
一键获得创造权限:/op 玩家名
取消:/deop 玩家名
查看坐标

Java版:F3

基岩版:/gamerule showcoordinates true
关闭死亡提示:/gamerule showDeathMessages false
TNT不破坏地形:/gamerule tntExplodes false
恢复:/gamerule tntExplodes true
找史莱姆区块神器:F3 + G

十一、fill 造城堡核心
填充区域:/fill x1 y1 z1 x2 y2 z2 stone
  如: /fill 0 60 0 100 60 100 stone
城堡外墙主体(石头空心城堡底座,15×15 高 8 层)/fill ~-7 ~ ~-7 ~7 ~8 ~7 stone 0 hollow

城堡内层地板(城堡内部铺橡木地板)/fill ~-6 ~ ~-6 ~6 ~ ~6 planks 0

城堡塔楼 1(左上角箭楼,空心石塔高 12 格)/fill ~-7 ~ ~-7 ~-4 ~12 ~-4 stone 0 hollow

城堡塔楼 2(右上角箭楼)/fill ~4 ~ ~-7 ~7 ~12 ~-4 stone 0 hollow

城门挖空(中间开门,换成空气)/fill ~-1 ~ ~-7 ~1 ~3 ~-7 air 0

城堡围墙加高、女儿墙/fill ~-7 ~8 ~-7 ~7 ~9 ~7 cobblestone_wall 0

fill 后缀说明:

hollow:只做外壳,内部掏空空气(造房子必备)

outline:只画外框,里面原有方块不动

destroy:拆方块掉物品

keep:只填空气、不动原有方块

 

复制建筑 /clone(做好一半城堡一键复制)

/clone ~-7 ~ ~-7 ~7 ~12 ~7 ~20 ~ ~0

把当前城堡原样复制到前方位置

 

/give 城堡配套建材(直接拿方块)

 

/give @s stone 64        石头

/give @s cobblestone 64 圆石

/give @s planks 64      橡木木板

/give @s cobblestone_wall 64 石围墙

/give @s iron_door 1     铁门

/give @s torch 64        火把

/give @s glass 64       窗户玻璃

 

生物 & 装饰指令 /summon(城堡守卫)

plaintext

/summon iron_golem ~ ~2 ~    铁傀儡守卫城堡

/summon villager ~ ~ ~       村民

/summon horse ~ ~ ~          战马

 

世界快捷指令(建城堡必备)

 

/gamemode creative @s    创造

/time set day            白天

/weather clear           晴天

/gamerule keepInventory true 死亡不掉落

/tp @s ~ ~20 ~           飞到高空看城堡全貌

 

/setblock 单点修改(单独放城门、火把)

/setblock ~ ~1 ~-7 iron_door 0

脚下前方一格放铁门

 

评论 ()
发表评论
评论长度:0 / 1000

暂无评论,快来发表第一条评论吧!