nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
Canary

Canary

Mod

An early warning of poison in the mines.

Client or server ManagementUtility

10.0k downloads
18 followers

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.

External resources


Project members

devOS Nautical

devOS Nautical

Organization

Cart3r1234

Artist

Maximum

Developer

tropheusj

Developer


Technical information

License
MIT
Client side
optional
Server side
optional
Project ID