MonitoringMinecraft MonitoringMinecraft

GPU servers

Мод Fabric

Мод позволяет серверам Майнкрафт использовать GPU для ускорения.

940 скачиваний 11 подписчиков
Оцените первым

GPUmod - GPU Server Acceleration for Minecraft

This is a server-side Fabric mod for Minecraft that offloads heavy server computations to your GPU using OpenCL. No client mod needed.

What it does:

The mod takes different server tasks that normally run on your CPU one at a time and runs them in parallel on your GPU instead.

TERRAIN GENERATION - When new chunks are created, the GPU generates the terrain heightmap using multi-layer Perlin noise. It creates continents, hills, mountains, and valleys all computed in parallel on the GPU. The CPU then fills in the actual blocks based on the heightmap.

LIGHTING - When chunks need lighting calculated, the GPU runs iterative light propagation for both block light (torches, glowstone) and sky light. It uses double-buffered propagation that converges in up to 15 iterations, processing all 4096 blocks in a section simultaneously.

ORE PLACEMENT - During chunk generation, the GPU calculates where ores should spawn (coal, iron, gold, diamond, lapis, redstone, emerald, copper). It determines positions for all ore types at once, then the CPU places the actual ore veins at those positions.

PATHFINDING - When mobs need to navigate, their pathfinding requests are batched together. Instead of solving paths one mob at a time, the GPU solves all pending paths in one batch using parallel A-star. Results are cached and returned as real paths the next tick.

EXPLOSIONS - TNT and creeper explosions use GPU raycasting with 1352 rays cast in a sphere pattern. The GPU traces each ray through the blast resistance grid simultaneously, determining which blocks get destroyed. This fully replaces vanilla explosion logic.

ENTITY PHYSICS - When there are 16 or more entities in the world, their position and velocity updates are batched and sent to the GPU. Gravity, drag, and velocity clamping are all computed in parallel using a Structure-of-Arrays memory layout for optimal GPU performance.

RANDOM TICKS - Crop growth, fire spread, ice melting, sapling growth, and other random tick events are batched across all loaded chunk sections. The GPU processes them all at once using parallel random number generation, then the CPU applies the results.

COLLISION DETECTION - When there are 16 or more entities, the GPU runs spatial hash broad-phase collision detection to find overlapping entity pairs. Results are stored and queryable by other systems.

REDSTONE (experimental, off by default) - Redstone wire updates within a tick are collected and the entire network is solved at once on the GPU using parallel signal propagation instead of vanilla's sequential updates.

How it works:

The mod uses JOCL (Java OpenCL bindings) to talk to your GPU. On startup it detects your GPU, compiles 13 OpenCL kernel programs, and creates multiple command queues for concurrent execution. It uses a memory pool with pre-allocated buffers to avoid allocation overhead.

Each task has batch size thresholds. If there aren't enough items to process (for example, fewer than 16 entities for physics), it skips the GPU and lets vanilla handle it, since GPU dispatch overhead isn't worth it for small workloads.

All GPU tasks have CPU fallback. If the GPU fails for any reason, the server continues running normally using vanilla logic.

Configuration:

Edit config/gpumod.properties to enable/disable individual tasks, set batch thresholds, tune iteration limits, and enable debug/performance logging.

As far as im concerned it does not require a beefy GPU a 4060 will do just fine but please correct me if im wrong

Disclaimer!!! this is in very early development please report bugs in the discord if found!!!

Смотри также

Похожие подборки моды — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
1611 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
CLOUDWORLD
5 онлайн
1.16.5 — 1.21.11 версия
Пвп, Арены, Дуэли, Кейсы, донаты, /free, приваты, спавн,
Battle Mine
Battle Mine Java + BE
5 онлайн
1.21.4 — 26.2 версия
ОТКРЫТИЕ! 20 + различных ивентов, 10+ различных боссов, много интересных механник
MigosMc
MigosMc Java + BE
1684 онлайн
1.8 — 26.2 версия
🌿 MigosMc.net | Гриферский сервер с войс-чатом | Награды за онлайн ⭐ ВЫЖИВАНИЕ⭐ ОДИНБЛОК⭐ МИНИ-ИГРЫ
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.8. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат