GTOUtils

Quick rating

Community listing page, reviews may not be monitored by the author.

GTOUtils

By suried

No reviews yet

Shared utility library for the GregTech Odyssey mods: block octree with sphere/box range queries and per-level block indexes.

Mod Loaders
Minecraft

About

Description

GTOUtils

A small library mod shared by the GregTech Odyssey mods (Minecraft 1.20.1, Forge). It adds no blocks, items or gameplay of its own; install it only because another mod requires it.

What it provides

  • BlockOctree: a sparse octree over block coordinates with zero-allocation range queries.
  • BlockRange: sphere or box query ranges around a block.
  • BlockIndex / LevelBlockIndex: per-level indexes of block entities by position, so mods can find nearby machines, jars or pools without scanning every block in range.

Requires Forge for Minecraft 1.20.1 and Java 21.

Report issues on the GregTech Odyssey issue tracker and mention "GTOUtils" in the title.

Source: https://github.com/GregTech-Odyssey/GTOUtils