• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Torchflames into Glasscube

sandor87a

New member
Hello ,

I was recently on a server where they had glass cube with a flame from the torch inside as a source of light, now I would like to have something in singleplayer because the electric lights claim so much power. Now my question, would someone have a code template for a glass cube with light inside? Thanks alot

 
You just gotta grab a glass shower block and put the torch effect on it. Something like this:

<block id="xxxx" name="torchGlass">

<property name="Material" value="glass"/>

<property name="Shape" value="New"/>

<property name="LightOpacity" value="1"/>

<property name="Model" value="cube_glass"/>

<property name="Mesh" value="transparent"/>

<property name="Texture" value="285"/>

<property name="Class" value="Particle" />

<property name="ParticleName" value="torch_wall" />

<property name="ParticleOffset" value="0.5,0.25,0.5" />

<drop event="Destroy" name="torchGlass" count="1" />

<property name="SellableToTrader" value="false"/>

</block>
 
Back
Top