-
Notifications
You must be signed in to change notification settings - Fork 2
Temp data
临时数据位于 ./minecraft/battleroyale/temp 下的所有json文件
- 模组的临时数据独立于Minecraft的存档数据,全存档统一
- 所有临时数据均可以删除,通常不需要手动修改
./minecraft/battleroyale/temp/registry.json
{
"entitySelector": true,
"selector.gameplayers": true,
"selector.nongameplayers.player": true,
"selector.gameplayers.player": true,
"selector.gameplayers.bot": true,
"selector.gameplayers.downed": true,
"selector.standinggameplayers": true,
"selector.nonstandinggameplayers.player": true,
"selector.standinggameplayers.player": true,
"selector.standinggameplayers.bot": true,
"selector.eliminatedgameplayers": true,
"selector.eliminatedgameplayers.player": true,
"selector.eliminatedgameplayers.bot": true,
"pubgmcCommand": true
}./minecraft/battleroyale/temp/feature.json
该功能已于 0.5.1 移至TaCZ护甲缩放
{
"taczBulletHandler": true
}./minecraft/battleroyale/temp/preCalculate.json
- spawnManager:预计算双圆心网格分布传送结果
- 预计算[CircleGridStartN, CircleGridEndN]范围的输入N
- 预计算 CircleGridNList 的所有N
- 计算[1, 100]的时间开销小于1 tick,计算[1, 1000]的时间开销小于3 ticks
- showDebugResult为true时会在debug.log里显示所有预计算点位
{
"spawnManager": {
"CircleGridStartN": 1,
"CircleGridEndN": 51,
"CircleGridNList": [100, 101, 1000, 1001],
"showDebugResult": false
}
}该列别的临时数据相当于写入Minecraft存档数据并读取,但本模组并没有这么做,因此有了读取类临时数据,通常不需要手动修改
./minecraft/battleroyale/temp/gameManager.json
- globalOffset:大逃杀游戏使用的区域偏移
- lastGameId:游戏管理器使用的游戏ID,物资刷新生成的物品及实体会附带该游戏ID
{
"globalOffset": "0.500000,0.000000,-8191.500000",
"lastGameId": "7f2311a8-a277-4ab5-a59e-0341302375da"
}Temporary data directory located in all json files under ./minecraft/battleroyale/temp
- The mods' temporary data is separate from Minecraft's save data, all saves are unified
- All temporary data is deletable and usually doesn't require manual editing
./minecraft/battleroyale/temp/registry.json
- entitySelector: whether to Enable entity selector
- selector.*: whether to Enable entity selector type
- pubgmcCommand: Enables/disables PUBGMC compatibility
{
"entitySelector": true,
"selector.gameplayers": true,
"selector.nongameplayers.player": true,
"selector.gameplayers.player": true,
"selector.gameplayers.bot": true,
"selector.gameplayers.downed": true,
"selector.standinggameplayers": true,
"selector.nonstandinggameplayers.player": true,
"selector.standinggameplayers.player": true,
"selector.standinggameplayers.bot": true,
"selector.eliminatedgameplayers": true,
"selector.eliminatedgameplayers.player": true,
"selector.eliminatedgameplayers.bot": true,
"pubgmcCommand": true
}./minecraft/battleroyale/temp/feature.json
This feature was moved to TaCZ Armor Scaling in version 0.5.1
{
"taczBulletHandler": true
}./minecraft/battleroyale/temp/preCalculate.json
- spawnManager: Configures the pre-calculation of the Double center grid distribution teleport points.
- Calculates the input N grid points within the range [CircleGridStartN, CircleGridEndN]
- Pre-calculates all N values in CircleGridNList
- Calculation time cost for [1, 100] is less than 1 tick, and for [1, 1000] is less than 3 ticks
- If showDebugResult is true, all pre-calculated points will be displayed in debug.log
{
"spawnManager": {
"CircleGridStartN": 1,
"CircleGridEndN": 51,
"CircleGridNList": [100, 101, 1000, 1001],
"showDebugResult": false,
}
}This category's temporary data is similar to writing to and reading from Minecraft's save data, but this mod doesn't do that. Therefore, this read-only data usually doesn't need manual modification.
./minecraft/battleroyale/temp/gameManager.json
- globalOffset: The Zone offset used by the BattleRoyale game.
- lastGameId: The game ID used by the Game Manager. Items and entities generated by loot generation will carry this game ID.
{
"globalOffset": "0.500000,0.000000,-8191.500000",
"lastGameId": "7f2311a8-a277-4ab5-a59e-0341302375da"
}🌐 Language / 语言
-
- Configuration Introduction
- Command Introcuction
- Game type introduction
- About
- Mod development tutorial