summaryrefslogtreecommitdiff
path: root/src/main/java/net/transit/impl/IAcceptor.java
blob: 9433ea3893a8bd2810c6f8530d9cde121a27f14c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package net.transit.impl;

import net.transit.type.IType;
import net.minecraft.util.math.Direction;

public interface IAcceptor<T extends IType<?, ?>>
{
    //  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);
}