/*
 * This file is part of Blue Power. Blue Power is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
 * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Blue Power is
 * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 * PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along
 * with Blue Power. If not, see <http://www.gnu.org/licenses/>
 */
package com.bluepowermod.compat.cc;
/*

import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
import dan200.computercraft.api.peripheral.IPeripheral;
import dan200.computercraft.api.peripheral.IPeripheralProvider;

public class PeripheralProvider implements IPeripheralProvider {

    public static final PeripheralProvider INSTANCE = new PeripheralProvider();

    private PeripheralProvider() {

    }
    @Override
    public IPeripheral getPeripheral(World world, int x, int y, int z, int side) {

        TileEntity tile = world.getBlockEntity(x, y, z);
        if(tile instanceof IPeripheral)
            return (IPeripheral) tile;
        return null;
    }
}
*/
