问小白 wenxiaobai
资讯
历史
科技
环境与自然
成长
游戏
财经
文学与艺术
美食
健康
家居
文化
情感
汽车
三农
军事
旅行
运动
教育
生活
星座命理

使用NbtStudio修改Minecraft服务器数据:实验性玩法及其他设置

创作时间:
作者:
@小白创作中心

使用NbtStudio修改Minecraft服务器数据:实验性玩法及其他设置

引用
CSDN
1.
https://blog.csdn.net/Rachelhi/article/details/139013666

本文介绍如何使用NbtStudio工具修改Minecraft服务器的数据,包括实验性玩法的添加。文章详细描述了NbtStudio的下载和使用方法,并提供了具体的修改步骤和参数说明。但需要注意的是,本文发布于2024年5月,部分内容可能已经过时,特别是Minecraft游戏版本和相关工具的更新。

前言

本次会用到NbtStudio来打开查看和编辑 Minecraft 存档的NBT 数据。注意NbtStudio不是能打开所有dat文件。当然如果你有VSCode也可以选择看这篇文章:《使用 VSCode 查看和编辑 Minecraft 存档的 NBT 数据》。

  1. 此文章只能解决部分问题,不是最优解
  2. NbtStudio下载链接https://github.com/keisukefukuda/NbtStudio/releases
  3. 由于Minecraft服务器地图有三个纬度地图,为了保险,建议修改三个维度的文件。如果有更好的方案,欢迎在评论区分享,以便更新文章。

下载NbtStudio

  1. NbtStudio下载链接https://github.com/keisukefukuda/NbtStudio/releases
    这里进的是github.com,所以对网络可能会有点要求

进入网站后找到Releases,可以进入其公共项目文件中:

  1. 进入后点击NbtStudio.exe下载
    文件需要.NET 6.0以上
    可以到这里下载.NET 6.0:https://dotnet.microsoft.com/download/dotnet/6.0
    安装完成后即可使用。

打开level.dat

使用NbtStudio.exe打开level.dat

  1. 拖动level.dat到NbtStudio.exe文件上方
  2. 接着我们就打开了level.dat
  3. 我们可以创建一个但有实验性玩法的我的世界存档。创建好后,我们同样可以在存档文件里找到level.dat(大概率不互通)。打开后找到enabled_features
  4. 对照存档对服务器地图里实验性玩法添加
    推荐直接粘贴复制另一个文件中
    复制:
    粘贴:
  5. 对每一个维度的地图进行修改,最后就完成了。

更多修改

  • 地图名:LevelName:“world”
  • 时间:Time:174000L
  • 版本显示:Version:{Name:“1.20.4”,Series:“main”,Snapshot:0b,Id:3700}
  • 游戏规则:GameRules:{spawnRadius:“10”,playersNetherPortalCreativeDelay:“1”,forgiveDeadPlayers:“true”,doInsomnia:“true”,fallDamage:“true”,doDaylightCycle:“true”,playersNetherPortalDefaultDelay:“80”,doWeatherCycle:“true”,globalSoundEvents:“true”,doPatrolSpawning:“true”,maxCommandChainLength:“65536”,universalAnger:“false”,tntExplosionDropDecay:“false”,doImmediateRespawn:“false”,fireDamage:“true”,playersSleepingPercentage:“100”,mobExplosionDropDecay:“true”,maxEntityCramming:“24”,doMobSpawning:“true”,lavaSourceConversion:“false”,showDeathMessages:“true”,projectilesCanBreakBlocks:“true”,announceAdvancements:“true”,disableRaids:“false”,maxCommandForkCount:“65536”,sendCommandFeedback:“true”,naturalRegeneration:“true”,reducedDebugInfo:“false”,doFireTick:“true”,drowningDamage:“true”,blockExplosionDropDecay:“true”,doLimitedCrafting:“false”,commandBlockOutput:“true”,doTraderSpawning:“true”,doVinesSpread:“true”,spectatorsGenerateChunks:“true”,snowAccumulationHeight:“1”,mobGriefing:“true”,doEntityDrops:“true”,keepInventory:“false”,doTileDrops:“true”,randomTickSpeed:“3”,doWardenSpawning:“true”,enderPearlsVanishOnDeath:“true”,freezeDamage:“true”,doMobLoot:“true”,commandModificationBlockLimit:“32768”,waterSourceConversion:“true”,logAdminCommands:“true”,disableElytraMovementCheck:“false”}
© 2023 北京元石科技有限公司 ◎ 京公网安备 11010802042949号