I'm using IntelliJ IDEA to create a Minecraft mod. How can I create a new block that emits light, i.e. like a RedstoneLamp?
I have created my new block as a 'New RedstoneLampBlock', given it a texture with low Alpha, and set it to render transparent.
Switching on and off the Redstone signal does change the texture correctly, but it doesn't emit any light, i.e. it does not illuminate its surroundings.
I have tried adding .lightLevel to the block registration, which does make the texture brighter (whether on or off) but it does not emit light.
I'm using IntelliJ IDEA to create a Minecraft mod. How can I create a new block that emits light, i.e. like a RedstoneLamp?
I have created my new block as a 'New RedstoneLampBlock', given it a texture with low Alpha, and set it to render transparent.
Switching on and off the Redstone signal does change the texture correctly, but it doesn't emit any light, i.e. it does not illuminate its surroundings.
I have tried adding .lightLevel to the block registration, which does make the texture brighter (whether on or off) but it does not emit light.
Any ideas?
- Frink