v0.2.2-dev
Pre-release
Pre-release
Pre-release wiring two more cause families and a lookup command.
New cause wiring
| Cause | How |
|---|---|
PLAYER_PLACE |
BlockItemMixin wraps BlockItem.place(ItemPlacementContext) |
EXPLOSION_TNT / CREEPER / WITHER / END_CRYSTAL / OTHER |
ExplosionImplMixin wraps ExplosionImpl.explode(), dispatches by source entity |
EXPLOSION_BED / EXPLOSION_ANCHOR still fall through to OTHER because vanilla passes null as the source for those — follow-up will add mixins on BedBlock / RespawnAnchorBlock to push the cause before createExplosion.
New command
/blockorigin lookup — quick cause query that works for air positions (which Jade can't tooltip):
/blockorigin lookup— block at your feet/blockorigin lookup <pos>— explicit coords, supports~ ~ ~/blockorigin lookup near [radius]— area summary, counts each cause in a(2r+1)³cube around you with an example position per cause
All variants log to chat and the server log at INFO, so grep \"\[blockorigin\] lookup\" latest.log captures every check.
Verified working in test
A lookup near 16 scan on a flat test world reports the expected distribution:
22,869 blocks total, 7 Unknown
Worldgen Terrain: 22,717
Explosion Tnt: 91
Explosion Creeper: 46
Player Break: 7
Player Place: 1
Requirements unchanged
- Minecraft 1.21.11, Fabric Loader >= 0.19.2, Fabric API, Java 21
- Optional: Jade 21.1.1+fabric