你可以帮助我们来翻译此条目,但请勿使用机器翻译。
自定义地图是由其他玩家创建和分享的地图。你可以下载它们,放置到一个文件夹内然后游玩。这不是一个地图列表。(你可以在其他网站下载它们)
取得一张地图
- 去地图网站(参见首页提供的链接)下载地图。
- 解压缩出地图文件(一个文件夹),按照下列所述的地址。
- Windows(限Java版):按下 ⊞ Windows+R,在路径栏中输入%appdata%并回车。进入“.minecraft\saves”文件夹,然后将文件夹复制进去。(仅限于在官方启动器的默认安装地址的情况。否则,请直接通过资源管理器进入你的安装地址中的.minecraft\saves文件夹。)
- Mac OS X:在Finder中进入你的用户文件夹,然后进入“Library/Application Support”,之后同上。
- Linux:进入“~/.minecraft/saves”,之后同上。
- 进入minecraft并找到你添加的世界。它有时候会在底部所以记得检查那里,找出它,并开启它。
- 进入你的世界!
上传一张地图
- 进入上述的saves文件夹,之后压缩你要上传的地图文件夹。
- 去类似MediaFire或百度网盘的文件分享网站上传该压缩文件。最好能在某些论坛或网站发布你的地图并给予相应的介绍。
- 其他人可以看到你的作品了!
游玩自定义地图
这就是你下载它的原因,对吗?自定义地图通常会有一些目标和一条故事线。它们可以非常有趣,还有许多不同类型。这里有一些提示:
解谜
它们有许多充满障碍的路线和谜题让你完成。它们可能会有记分系统,和装满黄金的箱子。你收集的越多,得到的分数越高!你可能会遇到如下几种障碍:
- 红石谜题:举个例子,它们会给你一些中继器或红石粉,让你用它们重新连接线路,打开门。你可以浏览wiki的相关页面来得到关于如何充分利用它们的提示。
- 迷宫:在狭窄的路径中漫无目的地探索直到你看到一扇门。玩得高兴!一个分支是你可以选择路径并用火把标记。这会帮助你了解你走过哪些路。
动作
通常,这些地图牵涉很多战斗和生存技能.
- 生存地图:就像一般的Minecraft生存,但是有一些不同。你可能在云上,只有有限资源,等等。
- CTM地图:这些是众所周知的高难度地图。最终目标是填满一个“纪念碑”,你必须用羊毛或其他物品记录。这些地图有很多陷阱。
PVP
想和其他人战斗吗?厌倦了苦力怕和骷髅?这些就是你想要的地图!
- 抢夺羊毛 地图:这些地图让几个队伍进入一个小巷,完成一个纪念碑。They include dungeons and crossfire form the otherlane.这是CTM的一个子类。
- 保护羊毛 地图:这些地图让人们冲进对手基地,偷取羊毛,之后返回自己基地。可在小组或大组内游玩。
- 破坏纪念碑/核心 地图:Self explanatory.经常只在大组内游玩,有时可达到50v50。
跑酷
在平台之间跳跃。它们通常分成关卡。有许多种不同跳跃方式:从角落跳,S型跳,还有梯子跳。这些地图是对敏捷性的测试。
创造
这些地图没有明确的目标。它们经常有令人震惊的风景或机械。Minecraft星球被这些填满了。(其实就是观光地图。)
冒险
完成一条长而曲折的故事线。它们含有许多内容,有时是解谜,有时是动作,有许多关卡。你不能破坏任何方块(除非特别说明)。
恐怖
通常是一个有着黑暗/模糊故事线的冒险地图,常见的主题有鬼魂、死亡、回忆、被锁等。
分享地图
- Java版
导入一张地图,首先要打开Minecraft目录中的saves文件夹。打开官方启动器,点击“启动设置”,然后点击“打开游戏目录”,即可打开.minecraft文件夹。再找到saves文件夹并在其中找到你想要分享的地图的文件夹即可。为了方便地发送,你最好先把地图文件夹压缩为zip文件。
当然,你也可以前往如MediaFire和CurseForge的网站根据上面的提示上传地图文件。这样,大家就可以在互联网上看到你的作品了!
- 基岩版
在Windows 10系统上,非常容易就可以导出地图。打开Minecraft,点击那个世界的“修改”按钮,往下滑,点击“导出世界”按钮并选择你想要把.mcworld文件存储到的路径即可。
在非iOS系统的手机上,你需要先找到Minecraft的安装文件夹。在iOS系统的手机上,你可以在“文件”APP中选中“在我的iPhone上”,再打开Minecraft文件夹,在这个文件夹的“Minecraft/games/com.mojang/minecraftWorlds/”路径中,你会找到你的随机命名的Minecraft世界,所以最好选择“以日期排序”。
Once you have found the desired world, you can verify its name by opening the "levelname" file contained inside. If you compress the contents of the folder (not the folder itself) and rename it to have a .mcworld extension rather than .zip, it should be easy to share and open in Minecraft.
压缩地图
大型地图的文件可能很大,不过有一些方法可以减小整个文件的大小。注意,每个地图都有文件大小,大型地图更是如此。当然,不太可能把地图压缩到1kb以下,但或许有些可以压缩到200kb左右。注意,以下有些内容适用于Java版,不一定对于基岩版也同样有效。
删除玩家数据
A lot of maps don't require prior knowledge of the player playing it before it is loaded for the first time, and most of the time the final release has no reason to keep old player data generated by the developer(s). If your map doesn't require any playerdata, such as someone's advancements, position, inventory, or otherwise player-specific data, you can remove the "advancements", "playerdata", and "stats" folders found in the root of the map folder. If your map has custom advancements, do not delete those. Only delete the advancements folder inside the root of the map. (.minecraft/saves/Map_Name/advancements, not .minecraft/saves/Map_Name/datapacks/Maps_Datapack/data/namespace/advancements)
删除自动生成文件
Both session.lock and level.dat_old are files that are not needed to be packed along with the map file. You can safely delete both these files, since they will be regenerated once the map is loaded. You can also remove the "poi" folder, but this will incur a slightly longer loading time. The "poi" folder will be regenerated on map load.
压缩JSON文件
JSON无论有无换行都可被读取。所以可以移除所有JSON中的换行(注意不要移除任何字符串里的“\n”!),借此压缩JSON文件大小。当然,也可以移除JSON参数之间的空格。对于大文件来说,这样做对于节省空间是非常有用的。
比如,这个JSON文件:
[
"",
{
"text": "To do list: ",
"color": "blue",
"underlined": true
}
]
就可以被压缩为:
[{"text":"To do list:","color": "blue","underlined":true}]
Here, we remove the spaces and newlines between the "text", "color", and "underlined" values. Note that spaces inside the "text" string were not removed. The useless "", at the start was also removed as it serves no purpose. Some generators erroneously add that. The trailing space at the end was removed; however this might not always be wanted. Be careful when editing "text" strings. If your resource pack has a custom language file, you can compress that as well.
压缩资源包
如果你的地图中包含了资源包,那其中的材质和音效可能会增加地图文件的体积。在保证质量的前提下对它们进行压缩会有较大帮助。
- 压缩材质
A lot of textures can become very large without the benefit of improved quality. Some textures could be as large at 2048x2048 (almost 4K UHD) even if the player will never notice much difference. At most, textures should be 256x256 and they should not need to exceed this. Usually, textures can safely be in resolutions of 16x16, 32x32, or 64x64. Either way, try not to exceed 256x256, as this level of details is not easily be seen by the player. After finding an acceptable resolution, try using image compressors. These can sometimes reduce your file size by up to 90%, but may come at the cost of a loss of color depth (24-bit colors to 16-bit). This reduces the file size because there are not as many colors to store, but vibrant textures may become more "grainy", or "static-ey". If you still think there is data that can be shaved off, try removing all EXIF data from the image. Note that this will remove any copyright notes the image has (if any are present), and you may have to manually add credit (you should always give credit manually, but this is a legal matter).
- 压缩.ogg音效
Ogg Vorbis is meant to reduce filesize,[1] but sometimes just the format isn't enough. You can also reduce the bitrate of the audio or reduce amplitude and manually increase it with /playsound. You can also try mixing the track down to mono, meaning the audio will have 1 track, instead of 2. This can result in quality reduction if not done carefully. It is recommended to mix small sounds down to mono, as players won't have enough time to distinguish the stereo version from its mono counterpart.
删除region文件
不太提倡大多数玩家这样做,因为你可能会因此误删自己地图的一部分。在删除之前,一定要记得备份,因为你不会知道是否有什么东西会出问题。
开始前,建议你先读取区块和region文件。总的说,区块是世界中一个个16x16的范围,而一个region文件中包含32x32的区块。所以,一个region文件中含有1024个区块,即262144个方块。
使用Dinnerbone's Chunk Coordinate Finder and input coordinates of a block in every chunk in intervals of 16. For example, find the chunk file at chunk number 0, 0 and then at chunk number 0, 32. Make sure to find the blocks in positive and negative chunks, too. Once you have a full list of chunks that you want to keep, make a backup of your current world. Once you've made your backup, delete any chunk files that are not in your list. For example, if your list contains the regions:
- 0, 0,
- 0, 1,
- 0, -1,
- 3, 4,
you would not delete r.0.0.mca, r.0.1.mca, r.0.-1.mca, and r.3.4.mca. Delete all other files that do not match. This will remove any regions that are unused which can greatly reduce the map's total file size.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||