Readded CC support

This commit is contained in:
Pixlepix committed 2014-11-08 13:39:44 -05:00
1 parent 1ed45708dd
commit fc3e896c88
39 files changed
+291 -142

No files matched your search

@@ -10,14 +10,14 @@ import net.minecraft.world.World;
/**
* This interface is used to create peripheral implementations for blocks
* @see dan200.computercraft.api.ComputerCraftAPI#registerPeripheralProvider(dan200.computercraft.api.peripheral.IPeripheralProvider)
* @see dan200.computercraft.api.ComputerCraftAPI#registerPeripheralProvider(IPeripheralProvider)
*/
public interface IPeripheralProvider
{
/**
* Produce an peripheral implementation from a block location.
* @see dan200.computercraft.api.ComputerCraftAPI#registerPeripheralProvider(dan200.computercraft.api.peripheral.IPeripheralProvider)
* @see dan200.computercraft.api.ComputerCraftAPI#registerPeripheralProvider(IPeripheralProvider)
* @return a peripheral, or null if there is not a peripheral here you'd like to handle.
*/
public IPeripheral getPeripheral(World world, int x, int y, int z, int side);
public IPeripheral getPeripheral( World world, int x, int y, int z, int side );
}