
Spectrum: Optical
An engineering optical mod about directing, focusing, and filtering light beams using mirrors and lenses to interact with the world.
- Загрузки
- 73
- Подписчики
- 3
- Обновлён
- 15 июля 2026 г.
- Лицензия
- MIT
Опубликован 23 июня 2026 г.
Spectrum: Optical
Catch the light. Make it work.
Spectrum is an engineering and optical mod for Minecraft (Fabric, 1.21.1) that introduces a system for generating, directing, focusing, and splitting beams of light. Build complex optical networks using mirrors, lenses, and filters in 3D space to interact with the world and automate your setups.
💡 Core Mechanics
1. Generation & Detection
- Beam Emitter: When powered by Redstone, it emits a focused white beam of light with a base intensity of
15. - Beam Receiver: Detects incoming light beams hitting its front face and outputs a Redstone signal. Perfect for wireless Redstone transmission or laser tripwires.
2. Direction & Reflection
- Optical Mirrors (Horizontal & Vertical): Redirect beams.
- Standard Mirror: Reflects light horizontally. Can be rotated in 8 directions (45-degree steps) by right-clicking.
- Double-sided Mirror: Reflects incoming beams from both its front and back sides.
- Vertical Mirror / Double-sided Vertical Mirror: Allows you to bounce beams vertically (up or down).
3. Focus & Splitting (Lenses)
- Converging Lens (Собирательная линза):
- Receives beams from its Left and Right sides and combines them into a single, stronger beam emitted from the front.
- Merging beams sums their intensities (making the laser visually thicker) and blends their colors.
- Supports up to 5 maximum merges for gameplay balance.
- Diverging Lens (Рассеивающая линза):
- Receives a single beam from the back and splits it into two beams (emitted from Left and Right sides) with half of the input intensity.
🌈 Spectral Colors & Filtering
Pass a beam through any of the 16 vanilla stained glass blocks or panes to filter its wavelength and change its color. Filtering absorbs light, reducing the beam's intensity by 1 per glass block.
Each color triggers unique physical effects along the beam path or where it hits:
- 🔴 Red (Heat): Melts ice and snow along its path, sets target blocks on fire, and burns entities.
- 🟢 Green (Life): Turns dirt blocks into grass blocks along its path and acts as Bone Meal on crops/saplings at its endpoint. Heals living entities.
- 🔵 Blue (Cold): Freezes water into ice, solidifies lava into obsidian or cobblestone, and extinguishes fire. Inflicts Slowness on entities.
- ⚪ White (Laser, Intensity $\ge 20$): High-power concentrated beam. Breaks blocks at its endpoint (up to hardness 10) and deals heavy magic damage to entities.
- 🟡 Yellow (Red + Green): Accelerates minecarts.
- 🟣 Purple (Red + Blue): Teleports items and entities forward along the direction of the beam.
- 🔵 Cyan (Green + Blue): Grants Levitation to entities.
⚙️ Requirements & Dependencies
To play Spectrum, make sure you have the following installed:
- Fabric Loader (1.21.1)
- Fabric API
- Fabric Language Kotlin
Ченджлог
0.0.4Бета1.21.1 · 15 июля 2026 г.
Spectrum: Optical 0.0.4 Beta
Added
- Added the Photon Furnace with 12 spectrum-dependent processing recipes.
- Added infrared, red, green, blue, ultraviolet and white processing modes.
- Added a guided advancement chain with staged recipe unlocking.
- Added localized machine diagnostics and tooltips in English and Russian.
Changed
- Beams now carry real optical power measured in LU/t.
- The Photon Furnace receives energy directly from the incoming beam and no longer requires adjacent energy storage.
- The basic redstone emitter produces control light but cannot provide free energy to machines.
- Mirrors, lenses, splitters and stained glass now introduce optical power losses.
- White light can process colored recipes with a 25% power and energy penalty.
- Mixed colors no longer cause teleportation or levitation.
Fixed
- Fixed beam and Photon Furnace status flickering.
- Fixed negative energy values and 16-bit GUI synchronization overflow.
- Fixed incorrect IR and UV classification.
- Fixed accumulator access through multiblock walls.
- Fixed beam loops, invalid paths, unloaded chunk access and corrupted NBT handling.
- Fixed partial energy extraction and several inventory/output edge cases.
Technical
- Consolidated beam-path serialization, rendering, lens input data and GUI synchronization.
- Added packet validation, 19 automated tests and GitHub Actions CI.
- Verified dedicated-server startup with Minecraft 1.21.1.
Requirements
- Minecraft 1.21.1
- Fabric Loader 0.19.3+
- Fabric API
- Fabric Language Kotlin
- Java 21
0.0.3Релиз1.21.1 · 24 июня 2026 г.
0.0.3
First photon energy layer for Spectrum: Optical.
- Added the
LUphoton energy model and the sharedEnergyStorageinterface for storage blocks. - Added
BeamPayload,WavelengthBand, andBeamConsumerso blocks can receive beam parameters through a common contract. - Migrated
beam_receiverto the shared beam consumer contract. - Added
solar_collector: generates photon energy under open sky, affected by time of day and weather. - Added
photon_cell: compact energy storage with configurable output rate, wavelength band, and enabled state. - Added
photon_absorber: accepts an incoming beam from the correct side and transfers energy into adjacent storage. - Added the multiblock accumulator:
accumulator_coreandaccumulator_wall, with a 3x3x3 structure for increased capacity. - Added
precision_beam_emitter: a configurable beam emitter powered by adjacent photon storage. - Added texture-free code-drawn GUIs for solar collector, photon cell, accumulator core, and precision beam emitter.
- Added screen handlers for the new energy blocks.
- Added recipes, blockstates, block models, item models, creative tab entries, and localization for the new blocks.
- Precision beam emitter now spends energy according to the beam recalculation interval.
- Precision beam emitter now applies beam world effects just like the regular beam emitter.
- New energy blocks are protected from white beam destruction and red beam ignition.
- New machine GUIs now validate distance and block state through
ScreenHandler.canUse. - Solar collector and photon absorber now skip full adjacent storages when transferring energy.
- Updated README, roadmap,
IMPLEMENTED.md, andIN_PROGRESS.md. - Added the MIT license.
0.0.2
Pre-release stabilization patch for Spectrum: Optical.
- Added an explicit
fabric-language-kotlindependency tofabric.mod.json, so the release jar can launch correctly outside the development environment. - Fixed beam receiver redstone flickering: receiver active time is now synchronized with the beam recalculation interval.
- Fixed color mixing in the converging lens: RGB channels are now added with clamping, so yellow, purple, and cyan beams correctly trigger their effects.
- Capped focused beam intensity to prevent lens chains from scaling power without limit.
- Spectrum optical control blocks are no longer destroyed by white beams or ignited by red beams at the beam endpoint.
- Fixed blue beam fluid behavior: water freezes into ice, while lava turns into obsidian or cobblestone.
- Separated color effect ranges so base and mixed colors do not trigger multiple effects at the same time.
- Purple beams no longer teleport entities into solid blocks.
- Fixed long beam render culling: beam renderers now render outside the source block entity bounding box.
- Improved cycle protection when lenses recalculate beam paths.
- Added
run/to.gitignoreto keep logs, saves, and development cache files out of the repository.
0.0.1-betaБета1.21.1 · 23 июня 2026 г.
Base Mechanics
Комментарии
Загружаем…