MonitoringMinecraft MonitoringMinecraft

Advanced RGB Lamps

Мод NeoForge

Мод для Майнкрафт добавляет RGB-лампы с цветной подсветкой и поддержкой ComputerCraft.

382 скачивания 5 подписчиков
Оцените первым

Advanced RGB Lamps

An RGB lamp mod that has 10 different lamp variations and optional Colorful Lighting & Computercraft support

Demonstration

Usage

Lamp Configurator Tool:

You can use the Lamp Configurator Tool by shift right clicking on a lamp, this opens the color and brightness configuration by default, modes can be switched between Edit, Copy, Paste& Debug by pressing P while holding the tool.

Crafting Recipes

Lamp Configurator Tool:

Lamp Configurator Tool Crafting Recipe

Led Diode:

LED Diode Crafting Recipe

Advanced RGB Lamp:

Advanced RGB Lamp Crafting Recipe

Stonecutter:

Stone Cutter Variants

CC:Tweaked API Reference

setBrightness(level)

Sets the lamp brightness

Parameter Type Range
level integer 0 - 15

Usage:

lamp.setBrightness(8)
setRGB(r, g, b, [, brightness])

Sets the lamp color from individual Red, Green & Blue components

Parameter Type Range Required
r integer 0 - 255 yes
g integer 0 - 255 yes
b integer 0 - 255 yes
brightness integer 0 - 15 no

Usage:

lamp.setRGB(255, 128, 0) -- Sets color to orange without changing brightness
lamp.setRGB(255, 128, 0, 15) -- Sets color to orange and brightness to 15
setHex(hex [, brightness])

Sets the lamp color from a hex color string

Parameter Type Range Required
hex string yes
brightness integer 0 - 15 no

Usage:

lamp.setHex("FF8800") -- Sets color to orange without changing brightness
lamp.setHex("FF8800", 15) -- Sets color to orange and brightness to 15
setHSV(h, s, v [, brightness])

Sets the lamp from Hue, Saturatuon & Value components

Parameter Type Range Required
h number 0 - 360 yes
s number 0 - 100 yes
v number 0 - 100 yes
brightness integer 0 - 15 no

Usage:

lamp.setHSV(32, 100, 100) -- Sets color to orange without changing brightness
lamp.setHSV(32, 100, 100, 15) -- Sets color to orange and brightness to 15
setVariant(variant)

Sets the lamp variant (see gallery for all variants)

Parameter Type Range
variant integer 0 - 9

Usage:

lamp.setVariant(3)
getBrightness()-> level

Gets current lamp brightness

Usage:

local brightness = lamp.getBrightness()
getRGB()->r, g, b`

Gets current color in Red, Green & Blue components

Usage:

local r, g, b = lamp.getRGB()
getHex() -> hex

Gets current color as a Hex string

Usage:

local hex = lamp.getHex()
getHSV() -> h, s, v

Gets current color as Hue, Saturatuon & Value components

Usage:

local h, s, v = lamp.getHSV()
getVariant() -> variant

Gets current variant

Usage:

local variant = lamp.getVariant()

Notes:

The Colorful Lighting mod is required for colored lighting, this mod is not compatible with the sodium/embeddium fork of Colorful Lighting.

Use in modpacks is allowed, no permission is required.

Смотри также

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

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

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

Meow КОПИЯ RW НАБОР АДМИНОВ
56 онлайн
1.16.5 — 1.21.1 версия
ПвП, Гриферство, бесплатный донат Dragon, AIR DROP
EnergyMC
11 онлайн
1.20.5 — 26.2 версия
🔥 Гибрид | ⚔️ Кланы | 🏰 Рейды | 🤺 Дуэли
Minestory
3 онлайн
1.21 — 26.2 версия
Выживание • Экономика • Кланы • Приваты • Ивенты • PVP • Работа
SkyBars
SkyBars Java + BE
738 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.4. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат