diff options
Diffstat (limited to 'src/main/java/net/transit/impl/IProvider.java')
-rw-r--r-- | src/main/java/net/transit/impl/IProvider.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/net/transit/impl/IProvider.java b/src/main/java/net/transit/impl/IProvider.java index b613436..94e903f 100644 --- a/src/main/java/net/transit/impl/IProvider.java +++ b/src/main/java/net/transit/impl/IProvider.java @@ -1,17 +1,17 @@ package net.transit.impl; -import net.transit.type.IType; +import net.transit.packet.IPacket; import net.minecraft.util.math.Direction; -public interface IProvider<T extends IType<?, ?>> +public interface IProvider<T> { // Direction given if provider is a block public boolean canProvide(Direction d); // Provide the next T (should trigger ITransferEvent) - public T provide(); + public IPacket<T> provide(); // Retain the rejected T if the acceptor did not accept it (should trigger ITransferEvent) - public void accept(T rejected); + public void retain(IPacket<T> rejected); }
\ No newline at end of file |