Interface ResolutionChangeCallback

All Known Implementing Classes:
ReloadableShaderEffectManager
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 interface ResolutionChangeCallback
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final dev.upcraft.sparkweave.api.event.Event<ResolutionChangeCallback>
    Fired each time Minecraft's window resolution changes
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onResolutionChanged(int newWidth, int newHeight)
     
  • Field Details

    • EVENT

      static final dev.upcraft.sparkweave.api.event.Event<ResolutionChangeCallback> EVENT
      Fired each time Minecraft's window resolution changes
  • Method Details

    • onResolutionChanged

      void onResolutionChanged(int newWidth, int newHeight)