Перейти к содержимому
Mineforgian

Canary

An early warning of poison in the mines.

11K загрузок18 подписчиковMITfabricquilt

Обновлён 29 марта 2026 г. · опубликован 17 января 2024 г.

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.

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
3.0.30Релиз26.1fabric29 марта 2026 г.Скачать (44 КБ)
2.3.27Релиз1.21.7, 1.21.8, 1.21.9, 1.21.10fabric13 июля 2025 г.Скачать (47 КБ)
2.2.23Релиз1.21.1fabric16 марта 2025 г.Скачать (46 КБ)
2.1.20Релиз1.21.1fabric15 марта 2025 г.Скачать (33 КБ)
2.0.19Релиз1.21.1fabric14 марта 2025 г.Скачать (30 КБ)
2.0.16Релиз1.20.6fabric, quilt24 мая 2024 г.Скачать (30 КБ)
2.0.13Релиз1.20.6fabric, quilt30 апреля 2024 г.Скачать (30 КБ)
1.1.11Релиз1.20.1, 1.20.2, 1.20.3, 1.20.4fabric, quilt21 февраля 2024 г.Скачать (30 КБ)
1.0.8Релиз1.20.1, 1.20.4fabric, quilt19 января 2024 г.Скачать (29 КБ)
1.0.6Релиз1.20.1fabric, quilt17 января 2024 г.Скачать (28 КБ)
1.0.4Релиз1.20.1fabric, quilt17 января 2024 г.Скачать (11 КБ)

Ченджлог

3.0.30Релиз26.1 · 29 марта 2026 г.
  • updated to 26.1
  • removed obsolete checks (fabric mod ID dependency, EntityDataSerializers registration)
  • desync_diagnostics_permission_level config value now uses level names instead of integers (all, moderators, gamemasters, admins, owners)
2.3.27Релиз1.21.8, 1.21.9, 1.21.10 · 13 июля 2025 г.

New feature: will now warn about mods depending on fabric instead of fabric-api. Can be disabled in the config. (Thanks Cassian)

2.2.23Релиз1.21.1 · 16 марта 2025 г.
  • added a command to help diagnose blockstate desyncs
2.1.20Релиз1.21.1 · 15 марта 2025 г.
  • added a BlockState report, enableable via config
2.0.19Релиз1.21.1 · 14 марта 2025 г.
  • updated to 1.21.1
2.0.16Релиз1.20.6 · 24 мая 2024 г.
  • fix minecraft dependency
2.0.13Релиз1.20.6 · 30 апреля 2024 г.
  • updated to 1.20.6
1.1.11Релиз1.20.2, 1.20.3, 1.20.4 · 21 февраля 2024 г.
  • added detection for adding blockstates to vanilla blocks
  • marked as compatible with older MC, back to 1.19.2
  • removed dependency on Fabric API

Комментарии

Загружаем…