Canary 图标

Canary

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 3.0.30
本资源为搬运资源,原资源地址: https://modrinth.com/mod/canary-safety
资源信息

Minecraft 版本: 26.1

平台: fabric

标签: management utility

资源介绍

Canary

An early warning of poison in the mines.

Canary is a mod that detects dangerous behaviors in other mods and provides several diagnostic tools.

Detected Issues

BlockState Property Injection

Some mods try to add new BlockState properties to vanilla blocks.
Unfortunately, this is likely to cause block desyncs.

Solutions:

  • Use Statement, a library designed to do this safely
  • Use a custom block instead, converting between it and the vanilla block as needed
Synced Entity Data Injection

Some mods try to add new synced data entries (EntityDataAccessors) to vanilla entity classes.
Doing this is likely to cause inscrutable networking errors, since field order is not stable between clients and the server.

Solutions:

  • Use a Data Attachment
  • Store values in normal fields, and sync them with custom packets

Diagnostics

In addition, Canary has the following diagnostic features:

  • when enabled in the config ("print_blockstate_report": true), a report of BlockStates will be printed to the log
  • the command /canaryclient diagnoseDesync will generate a report of blockstates on the client and server

Fun Fact

This mod is named after the real life practice of using canaries in coal mines to detect
poisonous gasses. Like the real life counterpart, if the canary dies (the game crashes),
you've got a problem.

📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
New in Town | The Settler's Experience Data Pack

价格:0 墨喵币
下载量:0

查看详情
Decorative

价格:0 墨喵币
下载量:0

查看详情
Pam's HarvestCraft 2 - Food Extended

价格:0 墨喵币
下载量:0

查看详情
Custom Hearts

价格:0 墨喵币
下载量:0

查看详情