Interface SurfaceRuleEvents.OverworldModifierCallback

All Superinterfaces:
CodecAware, EventAwareListener
All Known Implementing Classes:
AddMaterialRuleCallback
Enclosing class:
SurfaceRuleEvents
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface SurfaceRuleEvents.OverworldModifierCallback extends EventAwareListener, CodecAware
  • Method Details

    • modifyOverworldRules

      void modifyOverworldRules(@NotNull SurfaceRuleContext.Overworld context)
      Called to modify the given Overworld surface rules.
      Parameters:
      context - the modification context