PatchworkMC / patchwork-api

An attempt to reimplement the Minecraft Forge API on Fabric
GNU Lesser General Public License v2.1
282 stars 48 forks source link

Use raw types to "hand erase" ExtendedForgeRegistryEntry's generics #151

Closed cittyinthecloud closed 4 years ago

cittyinthecloud commented 4 years ago

Fixes the "TNT Yeeter" edge case that #141 can't replicate correctly. Changes the ExtendedForgeRegistryEntry generic from <V> to <V extends IForgeRegistryEntry<V>>, and converts all the Mixins to use raw types. I wrote a test mod and ran it over this and it was fine, but given how fragile replicating the ABI here has turned out to be, the more test cases the better.

TheGlitch76 commented 4 years ago

watch as this breaks something else