Retina is a raycasting library data pack for Minecraft: Java Edition 1.20+, using voxel traversal.
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, making it a very useful resource for custom maps and datapacks, with applications ranging from magic wands to guns to custom block placing to laser beams.
For more specific information, check out the GitHub repository.
Credit for the logo: Vector image by VectorStock / vectorstock
How to Install Retina (Datapack)
Retina by Nico314159 is verified for Datapack, Fabric, Forge, Neoforge, Quilt across Minecraft versions 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21 (latest release: 2.4.1+mod, file size: 1.0 MB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21) and platform (Datapack, Fabric, Forge, Neoforge, Quilt).
- Make sure you have the compatible loader or environment installed for Datapack, Fabric, Forge, Neoforge, Quilt.
- Move the downloaded Retina file into your Minecraft
.minecraft/saves/<world>/datapacksfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 |
- Updated for compatibility with Minecraft 1.21.5
- (IMPORTANT)** Previous Minecraft versions are no longer supported
- Implemented hitboxes of Minecraft 1.21.4 - 1.21.5 blocks & mobs
- Pale moss carpets, pale hanging moss, bushes, cactus flower, short and tall dry grass, leaf litter, wildflowers, and creaking
### Technical Changes
- Block and entity hitboxes are now stored using floats, so that the scale factor can be easily changed and everything will *actually* react to it.
- Step counts in debug messages now show the correct number.
- Full Changelog**: https://github.com/Nico314159/Retina_v2/compare/v2.4.0...v2.4.1
- Updated for compatibility with Minecraft 1.21.5
- (IMPORTANT)** Previous Minecraft versions are no longer supported
- Implemented hitboxes of Minecraft 1.21.4 - 1.21.5 blocks & mobs
- Pale moss carpets, pale hanging moss, bushes, cactus flower, short and tall dry grass, leaf litter, wildflowers, and creaking
### Technical Changes
- Block and entity hitboxes are now stored using floats, so that the scale factor can be easily changed and everything will *actually* react to it.
- Step counts in debug messages now show the correct number.
- Full Changelog**: https://github.com/Nico314159/Retina_v2/compare/v2.4.0...v2.4.1
- Updated for compatibility with Minecraft 1.21
- (IMPORTANT)** Previous Minecraft versions are no longer supported
- Implemented hitboxes of Minecraft 1.21 blocks & mobs
- Toggle to turn off block detection specifically
- Added functionality to do a raycast without needing an executing entity (@XyloDatapacks)
- Added
ExpandEntityHitboxesfor "wide" raycasts (@XyloDatapacks)
### Technical Changes
- Exposed access to more internal functions for other datapacks
- Improved code efficiency with Minecraft 1.20.3's
return run - Incorporated new JMC syntax for data storage operations
- Full Changelog**: https://github.com/Nico314159/Retina_v2/compare/v2.3.7...v2.4.0
- Updated for compatibility with Minecraft 1.21
- (IMPORTANT)** Previous Minecraft versions are no longer supported
- Implemented hitboxes of Minecraft 1.21 blocks & mobs
- Toggle to turn off block detection specifically
- Added functionality to do a raycast without needing an executing entity (@XyloDatapacks)
- Added
ExpandEntityHitboxesfor "wide" raycasts (@XyloDatapacks)
### Technical Changes
- Exposed access to more internal functions for other datapacks
- Improved code efficiency with Minecraft 1.20.3's
return run - Incorporated new JMC syntax for data storage operations
- Full Changelog**: https://github.com/Nico314159/Retina_v2/compare/v2.3.7...v2.4.0
- Allow raycasting from any eye Y-level
- (basically means you can now raycast
asany entity) - Overlays for compatibility with more future MC versions
- Fix redstone_wire block tag (erroneously included comparators)
- Reset
ContactCoordinatesif raycast hits nothing
- Full Changelog**: https://github.com/Nico314159/Retina_v2/compare/v2.3.6...v2.3.7
- Allow raycasting from any eye Y-level
- (basically means you can now raycast
asany entity) - Overlays for compatibility with more future MC versions
- Fix redstone_wire block tag (erroneously included comparators)
- Reset
ContactCoordinatesif raycast hits nothing
- Full Changelog**: https://github.com/Nico314159/Retina_v2/compare/v2.3.6...v2.3.7
- Fixed lectern & bell hitboxes
- Implement redstone dust (at last!)
- 1.20.3/4 support
- Full Changelog**: https://github.com/Nico314159/Retina_v2/compare/v2.3.5...v2.3.6
- Fixed lectern & bell hitboxes
- Implement redstone dust (at last!)
- 1.20.3/4 support
- Full Changelog**: https://github.com/Nico314159/Retina_v2/compare/v2.3.5...v2.3.6
- Fixed lily pad hitboxes
- Made light blocks treated as intangible
- Full Changelog**: https://github.com/Nico314159/Retina_v2/compare/v2.3.4...v2.3.5
- Fixed lily pad hitboxes
- Made light blocks treated as intangible
- Full Changelog**: https://github.com/Nico314159/Retina_v2/compare/v2.3.4...v2.3.5
- Fixed a small but fatal bug that prevented Retina from working at all when freshly installs
- Full Changelog**: https://github.com/Nico314159/Retina_v2/compare/v2.3.3...v2.3.4
- Fixed a small but fatal bug that prevented Retina from working at all when freshly installs
- Full Changelog**: https://github.com/Nico314159/Retina_v2/compare/v2.3.3...v2.3.4
- Updated pack to Minecraft 1.20.2 (**will not work on older Minecraft versions!**)
- Improved efficiency of gimbal/matrix conversion and random number generation
- Full Changelog**: https://github.com/Nico314159/Retina_v2/compare/v2.3.2...v2.3.3
- Updated pack to Minecraft 1.20.2 (**will not work on older Minecraft versions!**)
- Improved efficiency of gimbal/matrix conversion and random number generation
- Full Changelog**: https://github.com/Nico314159/Retina_v2/compare/v2.3.2...v2.3.3
- Now avoids checking for head collisions on the lower block of an entity
- Uses the defined SCALE value in .jmc files, instead of writing 480 directly
- More efficiently initialized
$cuboid_idusingexecute store - Fixed "off-by-one" range error
- Full Changelog**: https://github.com/Nico314159/Retina_v2/compare/v2.3.1...v2.3.2