跳到正文

Mekanism Lights

作者:Thanatoros

If you hate putting light source every 3 blocks this mod is for you. This mod adds mekanism style lights with light range depending on tier.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Mekanism Lights

If you hate putting a light source every 3 blocks, this mod is for you. It adds Mekanism style lights that light up a whole area around them, with range depending on tier, and a Light Multiblock that lights an even bigger area depending on its size.

Standard Light

Four tiers, crafted from the High Wattage Bulb:

| Tier | Range | Power use | Energy buffer |
|—|—|—|—|
| Basic | 8 | 120 J/t | 10 kJ |
| Advanced | 12 | 240 J/t | 40 kJ |
| Elite | 16 | 360 J/t | 90 kJ |
| Ultimate | 20 | 480 J/t | 160 kJ |

  • Accepts Mekanism Energy Upgrades: with all 8 installed it uses a tenth of power
  • Upgrade it in place with Mekanism Tier Installers. It keeps its stored energy, the battery in its slot, on/off state, redstone mode, security and upgrades
  • Turn it on/off by sneak right click with an empty hand (respects Mekanism security), or with redstone
  • Light only reaches places it should, it doesnt go through walls. Grass, flowers, torches, rails, etc. don’t block it

Light Multiblock

Box from 3x3x3 up to 9x9x9 that lights a whole area.

  • Floor: Light Casing, with at least one High Wattage Input Port anywhere on the shell to power it
  • Walls and top: Mekanism Structural Glass
  • Inside: completely filled with High Density LED Arrays

| Size | Max range |
|—|—|
| 3x3x3 | 32 |
| 5x5x5 | 64 |
| 7x7x7 | 96 |
| 9x9x9 | 128 |

  • Set the range in the GUI: left click the buttons to step by 1, right click to step by 16
  • Energy use and the energy buffer grow with the range, the LED count and the size of the structure
  • Sneak right click any casing with an empty hand to turn it on/off, redstone works on any block of the shell
  • The GUI shows the size, LED count, range, if its on or off

How the light works

Lights place invisible light blocks every few blocks inside their range, only in air and only where there is a line of sight back to the light. The spacing and how often the light updates can be configured in config.

  • Light blocks dont show up on maps, cant be pushed by pistons, don’t stop saplings from growing, and are never placed next to obsidian, so they cant block a nether portal
  • Light blocks whose light is gone remove themselves within a minute or two after the area loads
  • tags: thanasmekanismlights:light_passable, thanasmekanismlights:light_blocking, thanasmekanismlights:light_avoid

Config

Usually (%appdata% -> .minecraft -> config -> thanasmekanismlightsconfig.properties)

| Setting | Default | What it does |
|—|—|—|
| STANDARD_LIGHT_ENERGY_PER_TICK | 120 | Standard Light power use in Joules per tick, times the tier (Basic 1x, Ultimate 4x) |
| BASIC_STANDARD_LIGHT_RANGE | 8 | Range of the Basic Standard Light |
| ADVANCED_STANDARD_LIGHT_RANGE | 12 | Range of the Advanced Standard Light |
| ELITE_STANDARD_LIGHT_RANGE | 16 | Range of the Elite Standard Light |
| ULTIMATE_STANDARD_LIGHT_RANGE | 20 | Range of the Ultimate Standard Light |
| RECALC_LIGHT_SWITCH | false | Recalculate light only when the light is switched on (much better performance) |
| RECALC_TICK | 10 | Ticks between light updates (more = better performance, slower light changes) |
| SPACER | 2 | Blocks between light blocks (bigger = bigger gaps, worse coverage) |
| MULTIBLOCK_RECALC_TICK | 10 | Ticks between multiblock light updates (raise this first if a big multiblock causes lag) |
| MULTIBLOCK_SPACER | 2 | Blocks between the multiblock’s light blocks |
| MULTIBLOCK_MAX_RANGE | 128 | Hard cap on multiblock range |
| MULTIBLOCK_RANGE_PER_SIZE_STEP | 16 | Range per size step, a box of side S reaches (S – 1) times this |
| MULTIBLOCK_ENERGY_BASE_PER_RANGE | 50 | Multiblock Joules per tick per point of range |
| MULTIBLOCK_ENERGY_PER_LED_PER_RANGE | 1 | Extra Joules per tick per point of range, per LED array |
| MULTIBLOCK_ENERGY_PER_VOLUME | 50000 | Multiblock energy buffer per block of its volume |
| MULTIBLOCK_AMBIENT_SOUND | true | Quiet hum from the multiblock while it runs |

Changing a range or the spacing in the config also changes lights that are already placed. Updating from 1.4: BASIC_LIGHT_CONSUMPTION is no longer used. If you changed it, put the same number into STANDARD_LIGHT_ENERGY_PER_TICK.

FAQ

I have an issue / bug / crash / report / request, where can I contact you about it ?

Use my Discord server, you can join it here -> https://discord.gg/y366spsSjv

Can I put this mod into my modpack ?

Yes you can. Would appreciate mention of mod/author/link in modpacks description/credits.

Does this mod support servers ?

Yes it does.

常见问题

Mekanism Lights 支持哪些 Minecraft 版本?

Mekanism Lights 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Mekanism Lights 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

Thanatoros 的其他作品

查看全部 →