Add a method to attune the P2P Tunnel by (supported) ModId, or check for ForgeEnergy support if it's not listed.

This commit is contained in:
Gunther De Wachter
2017-07-14 22:54:19 +02:00
parent 3d69dc9bc4
commit 577b1fa757
2 changed files with 56 additions and 3 deletions
@@ -46,6 +46,7 @@ public interface IP2PTunnelRegistry
* @param type - the type of tunnel. Nullable, but then ignored
*/
void addNewAttunement( @Nonnull ItemStack trigger, @Nullable TunnelType type );
void addNewAttunement( @Nonnull String ModId, @Nullable TunnelType type );
/**
* returns null if no attunement can be found.