
Displadium
Draw every think you want with lua.
Screenshots

About this Mod
The mod introduces 2 blocks and 1 item that allow you to build and control your own digital screens. Using a computer, you can program the display and draw anything you want — from simple text to complex graphics.
Features:
Display Block – a screen where your graphics are rendered
Controller Block – connect it to a computer to send code and control the display
Wire Item – connect components using positive (+) and negative (–) wires
With Displadium, you can:
Create custom interfaces and HUDs
Display images, text, or animations
Build your own in-game control panels
Experiment with programming inside Minecraft
The wiring system allows you to connect blocks realistically, requiring proper positive and negative connections to function.
TUTORIAL
Below is the full list of available Lua commands, how they are implemented in the code, and an exact usage example.
All available commands
tick(t, dt) — a function called by the engine every tick. t is time in seconds, dt is the time step adjusted by speed().
point(x, y) — sets the position of a point (x, y) within the 0..1 range.
emit(x, y [, color [, glow [, size]]]) — adds a point to the trail with optional parameters. Supports color as #RRGGBB, a number, or r,g,b.
line(x1, y1, x2, y2 [, steps [, color [, glow [, size]]]]) — draws a line using points. steps is limited to 2..200.
rotline(cx, cy, length, angle [, steps [, color [, glow [, size]]]]) — draws a line using center, length, and angle (in radians).
color(#RRGGBB) or color(r, g, b) — sets the color. r,g,b can be in range 0..1 or 0..255.
glow(value) — brightness, minimum 0.
size(value) — point size, minimum 0.05.
alpha(value) — transparency (0..1).
speed(value) — time speed, minimum 0.05.
trail(count) — trail length (10..400).
subtick(value) — trail interpolation (1..20).
show(true/false) — enables or disables rendering.
time() — returns current time t (with speed applied).
Exact rules and limits
Coordinates x and y are always clamped to 0..1.
Color can be a #RRGGBB string, a number, or three components r,g,b (0..1 or 0..255).
glow ≥ 0, size ≥ 0.05, alpha 0..1, speed ≥ 0.05, trail 10..400, subtick 1..20.
line / rotline: steps is limited to 2..200.
How to use
Connect the computer and display using wires (both + and - must go to the same computer).
Open the computer interface, paste your Lua code into the field, and press "Save".
The script is loaded, and the tick(t, dt) function is called every client tick.
Example (fully accurate and working)
function tick(t, dt) speed(1.0) trail(120) subtick(6) alpha(0.9) glow(1.2) size(1.0) local x = 0.5 + math.cos(t * 1.3) * 0.35 local y = 0.5 + math.sin(t * 1.3) * 0.35 point(x, y) color("#66CCFF") emit(x, y) local angle = t * 2.0 rotline(0.5, 0.5, 0.7, angle, 30, 1.0, 0.5, 0.2) end
How the example works
tick is called every tick, t is time in seconds (affected by speed).
point moves the main point in a circle.
emit adds a trail with the chosen color/brightness.
rotline draws a rotating line around the center.
Available Versions
How to Install Displadium on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set forge Loader
In the panel under "Egg", select the forge loader and matching Minecraft version (1.20.6).
Install Mod
Open the mod browser in the dashboard and search for "Displadium". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.6, 1.20.5, 1.20.4 (+3 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Displadium server crashes on startup – what to do?
Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.6). You can switch loaders with one click in the panel.
Is Displadium compatible with forge?
Displadium officially supports forge for Minecraft 1.20.6, 1.20.5, 1.20.4. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Displadium – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Displadium consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Displadium with just one click on your server.