Перейти к содержимому
Mineforgian

Retina

Minecraft raycasting library that can detect precisely what block a player is looking at, including special block shapes like slabs & stairs.

Загрузки
5K
Подписчики
18
Обновлён
16 апреля 2025 г.
Лицензия
Unlicense

Опубликован 16 августа 2023 г.

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

Центр версий

23 версий
  • Релиз1.0 МБ
  • Релиз380 КБ
  • Релиз879 КБ
  • Релиз366 КБ
  • Релиз781 КБ
  • Релиз547 КБ
  • Релиз751 КБ
  • Релиз205 КБ
  • Релиз770 КБ
  • Релиз349 КБ
  • Релиз654 КБ
  • Релиз200 КБ
  • Релиз769 КБ
  • Релиз348 КБ
  • Релиз352 КБ
  • Релиз352 КБ
  • Релиз350 КБ
  • Релиз344 КБ
  • Релиз336 КБ
  • Релиз335 КБ

Ченджлог

2.4.1+modРелиз1.21.5 · 16 апреля 2025 г.

What's Changed

  • 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

2.4.1Релиз1.21.5 · 16 апреля 2025 г.

What's Changed

  • 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

2.4.0+modРелиз1.21, 1.21.1 · 1 сентября 2024 г.

What's Changed

  • 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 ExpandEntityHitboxes for "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

2.4.0Релиз1.21, 1.21.1 · 1 сентября 2024 г.

What's Changed

  • 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 ExpandEntityHitboxes for "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

2.3.7+modРелиз1.20.4, 23w51a, 23w51b · 7 января 2024 г.

What's Changed

  • Allow raycasting from any eye Y-level
    • (basically means you can now raycast as any entity)
  • Overlays for compatibility with more future MC versions
  • Fix redstone_wire block tag (erroneously included comparators)
  • Reset ContactCoordinates if raycast hits nothing

Full Changelog: https://github.com/Nico314159/Retina_v2/compare/v2.3.6...v2.3.7

2.3.7Релиз23w51b, 1.20.5, 1.20.6 · 7 января 2024 г.

What's Changed

  • Allow raycasting from any eye Y-level
    • (basically means you can now raycast as any entity)
  • Overlays for compatibility with more future MC versions
  • Fix redstone_wire block tag (erroneously included comparators)
  • Reset ContactCoordinates if raycast hits nothing

Full Changelog: https://github.com/Nico314159/Retina_v2/compare/v2.3.6...v2.3.7

2.3.6+modРелиз1.20.2, 1.20.3, 1.20.4 · 19 декабря 2023 г.

What's Changed

  • 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

2.3.6Релиз1.20.2, 1.20.3, 1.20.4 · 19 декабря 2023 г.

What's Changed

  • 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

Комментарии

Загружаем…