mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-06-01 19:23:36 +02:00
16 lines
378 B
Java
16 lines
378 B
Java
package de.ellpeck.naturesaura.blocks.tiles;
|
|
|
|
public class TileEntityPickupStopper extends TileEntityImpl {
|
|
|
|
public float getRadius() {
|
|
return this.redstonePower / 2F;
|
|
}
|
|
|
|
@Override
|
|
public void onRedstonePowerChange(int newPower) {
|
|
super.onRedstonePowerChange(newPower);
|
|
if (!this.world.isRemote)
|
|
this.sendToClients();
|
|
}
|
|
}
|