Jump to content

Torchflames into Glasscube


sandor87a

Recommended Posts

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

Link to comment
Share on other sites

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>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...