Annotation Interface BeforeBatch


@Target(METHOD) @Retention(RUNTIME) public @interface BeforeBatch
BeforeBatch methods are ran before the batch specified has started.

BeforeBatch methods must take 1 parameter of ServerWorld.

Mappings:
Namespace Name
named net/minecraft/test/BeforeBatch
intermediary net/minecraft/class_6301
official sm
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details

    • batchId

      String batchId
      Mappings:
      Namespace Name Mixin selector
      named batchId Lnet/minecraft/test/BeforeBatch;batchId()Ljava/lang/String;
      intermediary method_35931 Lnet/minecraft/class_6301;method_35931()Ljava/lang/String;
      official a Lsm;a()Ljava/lang/String;