neuralgia/kubejs/startup_scripts/ad_astra/modifications.js
Pyritie 87f9d0cf6d
More Better End plants (#1471)
* github pls

* add initial textures + blockstates

* models

* started writing up the blocks

* model adjustments, added item models and textures

* cleanup

* git moment
2025-07-28 23:33:10 +01:00

22 lines
No EOL
561 B
JavaScript

// priority: 0
"use strict";
function registerAdAstraBlockModifications(event) {
// these lamps don't actually emit light for some reason
global.MINECRAFT_DYE_NAMES.forEach(color => {
event.modify(`ad_astra:${color}_industrial_lamp`, block => {
block.lightEmission = 15
})
event.modify(`ad_astra:small_${color}_industrial_lamp`, block => {
block.lightEmission = 15
})
})
event.modify('ad_astra:strophar_mushroom', block => {
block.lightEmission = 0
})
event.modify('ad_astra:aeronos_mushroom', block => {
block.lightEmission = 0
})
}