Add @Environment annotations to the API
Earthcomputer opened this issue ยท 1 comments
Explicitly annotating client-side classes and members with @Environment(EnvType.CLIENT)
will help tools identify when people are trying to call client code from a common/server context.
Currently, this will be useful for my mcdev fork, but it will also be useful for anyone else wanting to make a static analysis tool to this effect.