Retina
by Nico314159
Retina is a Minecraft raycasting library that reports which block the player is looking at, including special blocks and partial shapes such as slabs and stairs.
What it does
Retina casts rays from the player's view and returns the block or entity they point at. It handles hitboxes beyond a full cube, covering both blocks and entities, and it does not depend on entity teleportation, so it runs slightly faster on average. A server needs it installed, while a player's client may add it. The library exposes many customizable input parameters and returns detailed output, which suits custom maps, datapacks, magic wands, guns and block placement such as laser beams. It is published for Fabric, Forge, NeoForge and Quilt, plus a data pack variant, across 1.20 – 1.21.5, and is open source under The Unlicense.
Key features
Precise block detection
Identifies the exact block under the crosshair, including special blocks, rather than only full cubes.
Partial hitbox support
Handles slabs, stairs and other non-cube shapes, and covers both blocks and entities.
Customizable raycasts
Accepts many input parameters and returns detailed output for use in custom content.
Compatibility
Latest build for each game version and loader.
This mod also publishes snapshot builds. Snapshots are not shown in the matrix.
Required by 1 mod
Questions
Does Retina need to be installed on the server?
Is Retina required by other mods?
In the catalog
Retina is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 15,307 mods support Minecraft 1.21.5.
More from Nico314159
Similar mods
What the author says
Unlike other similar packs, it supports (almost) all of the different hitboxes, including both blocks & entities. It also doesn't rely on entity teleportation, meaning it runs slightly faster on average too. Additionally, Retina supports a lot of customizable input parameters and gives detailed output information…
Official listing
- Modrinth page
- modrinth.com/mod/retina
- Owner
- Nico314159
- Published
- 2023-08-16
- Updated on Modrinth
- 2025-04-16
- Facts verified
- 2026-10-15
