NaturesAura/src/main/java/de/ellpeck/naturesaura/blocks/tiles/TileEntitySpawnLamp.java

16 lines
371 B
Java
Raw Normal View History

2018-11-24 15:06:18 +01:00
package de.ellpeck.naturesaura.blocks.tiles;
public class TileEntitySpawnLamp extends TileEntityImpl {
public int getRadius() {
return this.redstonePower * 3;
}
2019-01-27 13:57:34 +01:00
@Override
2019-03-19 17:21:06 +01:00
public void onRedstonePowerChange(int newPower) {
super.onRedstonePowerChange(newPower);
2019-01-27 13:57:34 +01:00
if (!this.world.isRemote)
this.sendToClients();
}
2018-11-24 15:06:18 +01:00
}