mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-06-20 10:39:10 +02:00
16 lines
371 B
Java
16 lines
371 B
Java
package de.ellpeck.naturesaura.blocks.tiles;
|
|
|
|
public class TileEntitySpawnLamp extends TileEntityImpl {
|
|
|
|
public int getRadius() {
|
|
return this.redstonePower * 3;
|
|
}
|
|
|
|
@Override
|
|
public void onRedstonePowerChange(int newPower) {
|
|
super.onRedstonePowerChange(newPower);
|
|
if (!this.world.isRemote)
|
|
this.sendToClients();
|
|
}
|
|
}
|