|
1 | 1 | # Minecraft Development for IntelliJ
|
2 | 2 |
|
| 3 | +## [1.8.6] |
| 4 | + |
| 5 | +## Added |
| 6 | + |
| 7 | +- Debug flow diagrams for MixinExtras expressions. |
| 8 | +- An inspection to replace `INVOKE_ASSIGN` with MixinExtras expressions where possible. |
| 9 | + - Expressions are preferred because `INVOKE_ASSIGN` doesn't fail if there's no assignment. |
| 10 | + |
| 11 | +## Changed |
| 12 | + |
| 13 | +- Performance improvements for shadow completions. |
| 14 | +- Smarter warnings for discouraged shifting |
| 15 | + - Shifting is now always discouraged on injectors that can't inject on any instruction in the method (such as `@Redirect`). |
| 16 | + - When MixinExtras expressions are being used, the discourage shifting logic now takes into account the type of expression. |
| 17 | +- Mixin navigation to lambdas has been improved. MinecraftDev will now properly detect that a synthetic method will be |
| 18 | + generated for method references in the following additional cases: |
| 19 | + - All array method references. |
| 20 | + - Method references to a superclass method (`super::foo`). |
| 21 | + - Constructor method references for a non-static inner class. |
| 22 | + - Previously, all constructor method references were incorrectly assumed to generate a synthetic method. |
| 23 | + - Varargs parameter expansions. |
| 24 | + - Access to private methods in an outer or inner class before Java 9. |
| 25 | + - Access to protected methods in the superclass of an outer class, if the superclass is in a different package. |
| 26 | + - Cases where the functional interface method being implemented has a parameter which is an intersection type (a type |
| 27 | + parameter extending multiple things). |
| 28 | + |
| 29 | +## Fixed |
| 30 | + |
| 31 | +- Fixed "generate accessor/invoker" action not doing anything. |
| 32 | +- Fixed Mixin version detection in legacy/non-standard Minecraft environments. The Mixin version is now taken from the |
| 33 | + `MixinBootstrap` class, rather than attempting to decipher it from the library artifact. |
| 34 | +- Fixed `@Coerce` on return type wanting subtypes not supertypes. |
| 35 | +- Fixed the "add definition" quick-fix for MixinExtras expressions creating a "dummy" definition since 2025.1 |
| 36 | +- Fixed incorrect unused warnings on MixinExtras expression definitions |
| 37 | +- Fixed "find usages" on MixinExtras expression definitions |
| 38 | +- Fixed IDE error that sometimes occurs when navigating to mixin target |
| 39 | +- Fixed mixin navigation to field assignments. |
| 40 | + |
3 | 41 | ## [1.8.5]
|
4 | 42 |
|
5 | 43 | ### Added
|
|
0 commit comments