

🌈 PrismRefraction
🌈 Bend, split, and color light into puzzles.
Overview
PrismRefraction turns stained glass into a complete optical-puzzle toolkit. An Emitter fires a colored light beam that travels through the world, passing harmlessly through glass and air until it hits a placed component or a solid block. Mirrors reflect the beam, Splitters fan it into a red, green, and blue spectrum, and Lenses focus and extend it forward. Sensors reward nearby players with a Chromatic Shard when a beam of the matching color strikes them, with a configurable cooldown. Together these pieces let you build light-routing contraptions, color-matching locks, and reward puzzles using nothing more than right-click items and placed glass.
Features
Beam Emitters
Right-click an Emitter to fire a colored light beam that travels until it hits glass-passable space or a solid wall.
Mirrors
Reflect beams off placed mirror blocks to route light around corners.
Splitters
Split an incoming beam into a red/green/blue spectrum fanned out at angles.
Lenses
Focus and extend a beam, pushing it further forward through your contraption.
Color Sensors
Sensors fire only when struck by a matching-color beam, rewarding nearby players with a Chromatic Shard.
Queued Rewards
If no one is nearby when a sensor triggers, the reward is queued and delivered to the owner on their next join.
Commands
/prism give <mirror|splitter|lens|emitter|sensor> [color] | /prism debug [on|off] | /prism reloadgive grants a component item (color defaults to white); debug toggles beam-tracing messages; reload reloads the config.
Permissions
prismrefraction.useAllows use of the /prism command.
Default: opInstallation
- 1Drop the .jar into your server's /plugins folder.
- 2Restart or reload the server.
- 3Built for Minecraft 1.21 — no extra dependencies required.
Configuration
config.yml controls beam max distance, emitter tick interval, and particle density, sensor activation radius and reward cooldown, the pending-reward delivery delay, and a debug toggle.
🤖 PrismRefraction was created with Spaleforce AI.
Create your own for free