Skip to content

Mixin Convention

Devan-Kerman edited this page Aug 23, 2020 · 1 revision

Consistency in the names of mixins is good so here's the format

io.github.iridis.internal.asm.mixin main package for mixins

  • api api implementation
    • api package the package name in the io.github.iridis.api
      • TargetClassMixin_Reason
  • events event implementation
    • <category> event category
      • <package> when an event needs multiple mixins for it's implementation, make a separate package for it
      • TargetClassMixin_EventName
  • access accessors/invokers
    • TargetClassAccess you don't call your mixins 'mixinors' do you?
Clone this wiki locally