From ffbb0eb24842e51aa3b3a6965b0d176a76a01c4d Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Mon, 18 Nov 2019 23:20:53 -0500 Subject: [Update] Change class path from corecg.transit to transit --- src/main/java/net/transit/impl/IAcceptor.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/main/java/net/transit/impl/IAcceptor.java (limited to 'src/main/java/net/transit/impl/IAcceptor.java') diff --git a/src/main/java/net/transit/impl/IAcceptor.java b/src/main/java/net/transit/impl/IAcceptor.java new file mode 100644 index 0000000..9433ea3 --- /dev/null +++ b/src/main/java/net/transit/impl/IAcceptor.java @@ -0,0 +1,13 @@ +package net.transit.impl; + +import net.transit.type.IType; +import net.minecraft.util.math.Direction; + +public interface IAcceptor> +{ + // Direction given if acceptor is a block + public boolean canAccept(Direction d); + + // Accept (or not) a provided T (should trigger ITransferEvent) + public boolean accept(T provided); +} \ No newline at end of file -- cgit v1.2.3