Phantom Loot

Server-side per-player virtual loot containers for Fabric servers. No client mod required.

Редакция NLZONE · 2 мин чтения · 0 просмотров
Phantom Loot
Скачать Phantom Loot1.21 – 26.3 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

Server-side per-player virtual loot containers for Fabric servers. No client mod required.

  • Тип: мод
  • Загрузчик: fabric
  • Версии Minecraft: 1.21 – 26.3
  • Скачиваний на Modrinth: 513

Подробно

Phantom Loot is a lightweight server-side Fabric mod that gives every player their own independent loot inventory for each lootable container position. Loot is generated from the container's loot table, stored per player, and persists across restarts. Players only need a vanilla client. Nothing has to be installed on the client.

When a player opens a container that has a loot table, Phantom Loot intercepts the interaction and shows a virtual inventory instead of the shared physical one:

- Per-player virtual loot: each player receives a separate inventory for the same container position. One player's loot never affects another player's loot. - Loot table integration: contents are generated from the container's assigned loot table and loot table seed, so datapacks and world generation work without any extra setup. - Supported containers: single chests, double chests, barrels, shulker boxes, and hoppers. Double chests are combined into one virtual inventory with the correct left/right ordering. - Physical validation: chests that are blocked cannot be opened, and shulker boxes whose lid has no room to open cannot be opened, matching vanilla behavior. - Deterministic seeding: loot is rolled with a seed derived from the player UUID, the dimension, the container position, and the loot table, so a player's roll is stable for their stored loot. - Asynchronous generation: loot rolls run on virtual threads so the server thread is never blocked while generating. - Persistent storage: generated loot is saved per player and per container position in the server's saved data and survives server restarts. Any change made inside the virtual inventory is written back to that player's stored loot. - Automatic expiration: stored loot expires after 30 days without access, and expired entries are pruned about once per hour. - Range validation: the virtual inventory stays open only while the player is in the same level, is still connected, and is within 8 blocks of the container. - Vanilla side effects: opening chests, barrels, and shulker boxes still awards the normal open statistics and still angers nearby piglins where vanilla does so. - Zero dependencies: the mod uses only Fabric Loader and vanilla mappings. No Fabric API is required, and no client-side files are needed.

Containers without a loot table are not intercepted and behave exactly like vanilla.

| Mod version | Minecraft | Fabric Loader | Java | |---|---|---|---| | 1.0.0 | 1.21 through 1.21.11 | 0.19.2 and newer | 21 and newer | | 1.0.0 | 26.1, 26.1.1, 26.1.2

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также