Open shartte opened 2 years ago
I wonder if this is similar to #506 in code, where this same issue happened with Yarn 🤔
It needs hierarchy aware mapping-io to be fixed properly, I'm working on that.
I believe the issue is that intermediary doesn't have mappings for <init>
, which in itself wouldn't be a huge deal, but it also doesn't have mappings for World.getBlockEntity
. The cheap fix for <init>
would yield invalid results for getBlockEntity
, the mapping composition first needs to push the intermediary name from BlockView.getBlockEntity
to World.getBlockEntity
, then handle <init>
by assuming all namespaces have the same name.
Here's a screenshot of the relevant mapping data for the Parchment version above:![grafik](https://user-images.githubusercontent.com/1261399/146360981-9688065f-f79a-423b-9761-8a6a239411f8.png)
Result after genSources: