MinecraftDev icon indicating copy to clipboard operation
MinecraftDev copied to clipboard

Incorrect class name copied when using 'Copy AT entry to clipboard' on a field inside of an inner class

Open necauqua opened this issue 4 years ago • 0 comments

plugin version: 2020.3-1.5.2 intellij version: 2020.3 (build #IU-203.5981.155)

If you go, for example, in the net.minecraft.client.renderer.RenderType class, and in it in the Type inner class and you try to run a Copy AT entry to clipboard action on some private field, like renderState, the copied AT entry will be

net.minecraft.client.renderer.RenderType.Type field_228668_S_ #renderState,

which is incorrect, because inner class should be separated with a $ from its parent and not a dot, and you have to fix it manually:

net.minecraft.client.renderer.RenderType$Type field_228668_S_ #renderState

necauqua avatar Dec 29 '20 13:12 necauqua