2015-04-12 12:39:06 +02:00
|
|
|
package techreborn.tiles;
|
|
|
|
|
|
|
|
import cpw.mods.fml.relauncher.Side;
|
|
|
|
import cpw.mods.fml.relauncher.SideOnly;
|
|
|
|
import net.minecraft.tileentity.TileEntity;
|
2015-04-12 17:33:04 +02:00
|
|
|
import techreborn.packets.PacketHandler;
|
2015-04-12 12:39:06 +02:00
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
public class TileMachineBase extends TileEntity {
|
|
|
|
|
2015-04-12 17:33:04 +02:00
|
|
|
@Override
|
|
|
|
public void updateEntity() {
|
|
|
|
super.updateEntity();
|
|
|
|
//TODO make this happen less
|
|
|
|
//syncWithAll();
|
|
|
|
}
|
|
|
|
|
|
|
|
@SideOnly(Side.CLIENT)
|
2015-04-12 12:39:06 +02:00
|
|
|
public void addWailaInfo(List<String> info) {
|
|
|
|
|
|
|
|
}
|
2015-04-12 17:33:04 +02:00
|
|
|
|
|
|
|
public void syncWithAll() {
|
|
|
|
if (!worldObj.isRemote) {
|
|
|
|
PacketHandler.sendPacketToAllPlayers(getDescriptionPacket(), worldObj);
|
|
|
|
}
|
|
|
|
}
|
2015-04-12 12:39:06 +02:00
|
|
|
}
|