NaturesAura/src/main/java/de/ellpeck/naturesaura/blocks/tiles/TileEntitySpawnLamp.java
2019-01-27 13:57:34 +01:00

14 lines
312 B
Java

package de.ellpeck.naturesaura.blocks.tiles;
public class TileEntitySpawnLamp extends TileEntityImpl {
public int getRadius() {
return this.redstonePower * 3;
}
@Override
public void onRedstonePowerChange() {
if (!this.world.isRemote)
this.sendToClients();
}
}