đĄ Glowing Furniture
Glowing Furniture makes furniture emit light by placing minecraft:light blocks at configured positions relative to the furniture origin. The light blocks appear on placement, move with the furniture, and vanish on break.
danger
This behavior requires furniture.light-system.enable: true in config.yml.
config.yml
furniture:
light-system:
enable: true
Uniform Lighting (All Variants)â
When every variant should emit light at the same positions, use the lights key:
furniture:
default:candelabrum:
behavior:
type: glowing_furniture
lights:
- position: 0,0,0
level: 15 # light level: 1~15 (default 15)
# shorthand also works:
# lights:
# - "0,0,0 15" # "x,y,z level"
# - "0,0,0" # level defaults to 15
Per-Variant Lightingâ
When each variant needs different light positions or levels, use the variants map. The keys must match the furniture variant names:
furniture:
default:candelabrum:
behavior:
type: glowing_furniture
variants:
ground_lit:
- "0,0,0 15" # light for the "ground_lit" variant
wall_lit:
- "0,0,0.3 15" # light for the "wall_lit" variant
ceiling_lit:
- "0,-1,0 15" # light for the "ceiling_lit" variant
Combining with events
A common pattern is using set_furniture_variant to toggle lit/unlit states â right-click with flint and steel to light, left-click barehanded to extinguish. See the default candelabrum config for a complete example.
