mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-06-08 22:11:35 +02:00
15 lines
319 B
Java
15 lines
319 B
Java
package de.ellpeck.naturesaura.blocks.tiles;
|
|
|
|
public class TileEntityPickupStopper extends TileEntityImpl {
|
|
|
|
public float getRadius() {
|
|
return this.redstonePower / 2F;
|
|
}
|
|
|
|
@Override
|
|
public void onRedstonePowerChange() {
|
|
if (!this.world.isRemote)
|
|
this.sendToClients();
|
|
}
|
|
}
|