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
official pm
intermediary net/minecraft/class_6301
named net/minecraft/test/BeforeBatch
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details

    • batchId

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