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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user