public interface IP2PTunnelRegistry
| Modifier and Type | Method and Description |
|---|---|
void |
addNewAttunement(net.minecraft.item.ItemStack trigger,
TunnelType type)
Allows third parties to register items from their mod as potential
attunements for AE's P2P Tunnels
|
TunnelType |
getTunnelTypeByItem(net.minecraft.item.ItemStack trigger)
returns null if no attunement can be found.
|
void addNewAttunement(@Nullable
net.minecraft.item.ItemStack trigger,
@Nullable
TunnelType type)
trigger - - the item which triggers attunement. Nullable, but then ignoredtype - - the type of tunnel. Nullable, but then ignored@Nullable TunnelType getTunnelTypeByItem(net.minecraft.item.ItemStack trigger)
trigger - attunement trigger