Nguyễn Thu Hà's
hỏi · Minecraft: Làm thế nào để tạo thế giới phẳng bằng lệnh?
Cách dùng lệnh tạo thế giới phẳng trong Minecraft
Cách thực hiện sẽ khác nhau giữa Java Edition và Bedrock Edition:
***
🎮 Minecraft Java Edition
1. Tạo thế giới qua lệnh seed preset:
Khi tạo thế giới mới, chọn loại thế giới Superflat, bạn có thể nhập mã preset tùy chỉnh để định nghĩa lớp khối, sinh thái và cấu trúc:minecraft.wiki/w/Superflat'>minecraft.net/hc/en-us/community/posts/34913377078157-Let-s-talk-about-the-new-Bedrock-flat-world-presets'>minecraft.wiki/w/Superflat'>minecraft:bedrock,2*minecraft.wiki/w/Superflat'>minecraft.net/hc/en-us/community/posts/34913377078157-Let-s-talk-about-the-new-Bedrock-flat-world-presets'>minecraft.wiki/w/Superflat'>minecraft:dirt,minecraft.wiki/w/Superflat'>minecraft.net/hc/en-us/community/posts/34913377078157-Let-s-talk-about-the-new-Bedrock-flat-world-presets'>minecraft.wiki/w/Superflat'>minecraft:grass_block;minecraft.wiki/w/Superflat'>minecraft.net/hc/en-us/community/posts/34913377078157-Let-s-talk-about-the-new-Bedrock-flat-world-presets'>minecraft.wiki/w/Superflat'>minecraft:plains
Trong đó:
- "minecraft.wiki/w/Superflat'>minecraft.net/hc/en-us/community/posts/34913377078157-Let-s-talk-about-the-new-Bedrock-flat-world-presets'>minecraft.wiki/w/Superflat'>minecraft:bedrock": 1 lớp đá giường
- "2*minecraft.wiki/w/Superflat'>minecraft.net/hc/en-us/community/posts/34913377078157-Let-s-talk-about-the-new-Bedrock-flat-world-presets'>minecraft.wiki/w/Superflat'>minecraft:dirt": 2 lớp đất
- "minecraft.wiki/w/Superflat'>minecraft.net/hc/en-us/community/posts/34913377078157-Let-s-talk-about-the-new-Bedrock-flat-world-presets'>minecraft.wiki/w/Superflat'>minecraft:grass_block": 1 lớp cỏ
- "minecraft.wiki/w/Superflat'>minecraft.net/hc/en-us/community/posts/34913377078157-Let-s-talk-about-the-new-Bedrock-flat-world-presets'>minecraft.wiki/w/Superflat'>minecraft:plains": Sinh thái đồng bằng
2. Tùy chỉnh nâng cao:
Bạn có thể thêm cài đặt cấu trúc như làng, pháo đài bằng cách bổ sung vào cuối mã preset:minecraft.wiki/w/Superflat'>minecraft.net/hc/en-us/community/posts/34913377078157-Let-s-talk-about-the-new-Bedrock-flat-world-presets'>minecraft.wiki/w/Superflat'>minecraft:bedrock,2*minecraft.wiki/w/Superflat'>minecraft.net/hc/en-us/community/posts/34913377078157-Let-s-talk-about-the-new-Bedrock-flat-world-presets'>minecraft.wiki/w/Superflat'>minecraft:dirt,minecraft.wiki/w/Superflat'>minecraft.net/hc/en-us/community/posts/34913377078157-Let-s-talk-about-the-new-Bedrock-flat-world-presets'>minecraft.wiki/w/Superflat'>minecraft:grass_block;minecraft.wiki/w/Superflat'>minecraft.net/hc/en-us/community/posts/34913377078157-Let-s-talk-about-the-new-Bedrock-flat-world-presets'>minecraft.wiki/w/Superflat'>minecraft:plains;village,stronghold
3. Trên máy chủ:
Sửa tệp "server.properties" với các dòng sau:level-type=minecraft.wiki/w/Superflat'>minecraft.net/hc/en-us/community/posts/34913377078157-Let-s-talk-about-the-new-Bedrock-flat-world-presets'>minecraft.wiki/w/Superflat'>minecraft\:flat
generator-settings={"biome":"minecraft.wiki/w/Superflat'>minecraft.net/hc/en-us/community/posts/34913377078157-Let-s-talk-about-the-new-Bedrock-flat-world-presets'>minecraft.wiki/w/Superflat'>minecraft:plains","layers":[{"block":"minecraft.wiki/w/Superflat'>minecraft.net/hc/en-us/community/posts/34913377078157-Let-s-talk-about-the-new-Bedrock-flat-world-presets'>minecraft.wiki/w/Superflat'>minecraft:bedrock","height":1},{"block":"minecraft.wiki/w/Superflat'>minecraft.net/hc/en-us/community/posts/34913377078157-Let-s-talk-about-the-new-Bedrock-flat-world-presets'>minecraft.wiki/w/Superflat'>minecraft:dirt","height":2},{"block":"minecraft.wiki/w/Superflat'>minecraft.net/hc/en-us/community/posts/34913377078157-Let-s-talk-about-the-new-Bedrock-flat-world-presets'>minecraft.wiki/w/Superflat'>minecraft:grass_block","height":1}]}
***
🎮 Minecraft Bedrock Edition
1. Phiên bản mới nhất đã hỗ trợ preset sẵn:
Vào mục Tạo thế giới mới → Nâng cao → Chọn Thế giới phẳng để chọn kiểu preset có sẵn như Classic Flat, Water World, Desert...
2. Để tạo thế giới phẳng trên máy chủ:
Sửa trường "level-type" trong "server.properties" thành "FLAT" để tạo thế giới phẳng mặc định.
***
✨ Lệnh hỗ trợ thêm sau khi tạo thế giới
Nếu bạn đã tạo thế giới thông thường và muốn làm phẳng khu vực:
Sử dụng lệnh "fill" để xóa đất trong một khu vực nhất định:
/fill ~-20 ~0 ~-20 ~20 ~30 ~20 air
Lệnh này sẽ làm phẳng khu vực 40x40x30 khối xung quanh vị trí của bạn

