UniversalCraft
UniversalCraft copied to clipboard
Update preprocessor
Latest preprocessor has two new features which UC can make good use of:
- "Strict extra mapping files" allow (well, require, with automatic inference where possible) one to specify exact types for method mappings (e.g.
translate(DDD)V
totranslated()
, buttranslate(FFF)V
totranslatef()
), allowing us to use extra mappings for a bunch more things which previously had to use preprocessor statements. - It will now try to infer class mappings for srg-era Minecraft versions based on shared method/field names, allowing us to get rid of a bunch of manually entered class mappings.
It also gained a cleanupUnnecessaryMappings
task which will automatically remove any mapping entries which don't do anything (be it because of point 2, or because they were broken or redundant to begin with).
This also fixes UGraphics.blendEquation
inappropriately bypassing GlStateManager
on 1.12.2.