Mod
Canary
No reviews yet
An early warning of poison in the mines.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
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 diagnoseDesyncwill 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.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers