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

RetroAPI 0.3.6 для Minecraft b1.7.3 (Ornithe)

Бета3 августа 2026Minecraft b1.7.3Ornithe16 скачиваний на Modrinth
Это не последняя версия. Последняя для b1.7.3 · Ornithe — 0.4.1Открыть 0.4.1 →
Тестовая версия — возможны ошибки.

Файлы · 1

retroapi-0.3.6.jarОсновной1,41 МБСкачать
Основной · 1,41 МБ
SHA-1d51d82e7b10a11aab7926e4098d5e7c1b94c3c2fSHA-512c6c5f09dc7ed78e0b954c226eb00fd80568174c912a6f9394d4822d8b1d703d647a0d906d71bdaaf35b1fdcc51cf8d62993e7a1b55b810c2d0c01a6f7007cbf5
Скачать

Что изменилось

Auxiliary per-position block data.

RetroAPI had both ends of block storage and nothing between them. Block state is 12 bits, total, for every property a block has. A block entity holds anything, at the price of being walked and range-checked every single tick, forever, by a game that expects a world to contain dozens of them and not tens of thousands. Data that needs more than a nibble and changes when a player right-clicks fell down the middle: give up on it, or pay per block per tick for it.

RetroBlockData, a 32-bit value per block position, per registered type, saved and synced. Sparse maps on the chunk, one entry per position that actually carries data, and no per-tick cost at all.

public static final RetroBlockDataType CAMO = RetroBlockData.registerBlockRef(id("camo"));

RetroBlockData.set(world, x, y, z, CAMO, RetroBlockData.encodeBlockRef(Block.GLASS.id, 0));
int worn = RetroBlockData.get(world, x, y, z, CAMO);

It persists in the region sidecar as a new v4 section, omitted entirely from chunks that carry none so those files stay byte-identical to v3. It rides the chunk packet on chunk send, and single-position changes are pushed to the players who can actually see the position. Reads work from the chunk-render thread's WorldRegion view, because a block's own renderer is exactly the caller that wants this.

registerBlockRef, for the case that makes a raw int wrong. A runtime block id is a property of the installed mod set, not of the world, so storing one verbatim means the day a mod is added or removed, every stored reference quietly points at a different block. A whole build re-skins itself and nothing errors. Block reference types go through a per-chunk string palette instead, the same machinery RetroAPI already uses for the modded blocks themselves, and a reference whose mod is missing this session is parked and written back out on save rather than erased. Vanilla ids are fixed for all time and are written numerically.

A position's data is dropped when the block there changes, so a value can never be inherited by whatever is placed there next. Metadata and state changes, a door opening or a crop growing, go through setBlockMeta and keep theirs.

Nothing else changed. Both launch smoke suites pass, client and server, with every mixin applying cleanly.

Зависимости этой версии

Ornithe Standard Librariesобязательная · 0.22.2 для b1.7.3Скачать для b1.7.3 · Ornithe

Сайт использует cookie: необходимые — для входа и темы, а также счётчики посещений Яндекс Метрика и LiveInternet — по ним мы видим, как пользуются сайтом. Рекламных cookie у нас нет. Подробнее

RetroAPI 0.3.6 для Minecraft b1.7.3 (Ornithe) — скачать — battlemetrics.ru