Interface Framebuffer

All Known Implementing Classes:
DirectFramebuffer, Graphics2DFramebuffer, LargeFramebufferDefaultView

public interface Framebuffer
Framebuffer to render to a map
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    index(int x, int z)
     
    static int
    index(int x, int z, int stride)
     
    preparePacket(int mapId)
     
    preparePacket(int mapId, int minX, int minY, int width, int height)
     
    byte[]
     
  • Field Details

  • Method Details

    • toMapColors

      byte[] toMapColors()
    • preparePacket

      default MapDataPacket preparePacket(int mapId)
    • preparePacket

      default MapDataPacket preparePacket(int mapId, int minX, int minY, int width, int height)
    • index

      static int index(int x, int z)
    • index

      static int index(int x, int z, int stride)