Attuning AE P2P interfaces
ruifung opened this issue ยท 9 comments
I'm not sure if this is a issue on mekanism's side or AE2's side.
Mekanism is registering the itemstack with AE2 via IMC for P2P attunement.
But apparently when I rclick with the transmitter items, it places it down instead.. or adds its multipart part to the block.
I have no clue- I've never even messed with attunement before. Your implementation looked correct, though.
Yeah, I opened a similar issue on the AE2 github to see if they might have any ideas. Either I'm not registering it correctly, or its a multipart thing.
EDIT: I guess I'll take another stab at this.
Well damn, FMLInterModComms.sendMessage is returning false, and AE2 doesn't even appear to be receiving the IMC messages. @.@
Figures, the MekanismHooks.hook() method is called from postInit. And by then its too late and AE2 doesn't even receive. So I had to make it register from init instead of from the hooks() method. - then it works like a charm.
Also is
public void addPulverizerRecipe(ItemStack input, ItemStack output, int energy)
even doing anything? IntelliJ is saying its never used.
It had to do with your implementation pr. It didn't work thus my joke came into existence. Typically for me, if you see a ":P" at the end, I'm joking.