Package net.minestom.server.map
Interface Framebuffer
- All Known Implementing Classes:
DirectFramebuffer
,Graphics2DFramebuffer
,LargeFramebufferDefaultView
public interface Framebuffer
Framebuffer to render to a map
-
Field Summary
-
Method Summary
Modifier and Type Method Description static int
index(int x, int z)
static int
index(int x, int z, int stride)
default void
preparePacket(MapDataPacket packet)
default void
preparePacket(MapDataPacket packet, int minX, int minY, int width, int height)
byte[]
toMapColors()
-
Field Details
-
WIDTH
static final int WIDTH- See Also:
- Constant Field Values
-
HEIGHT
static final int HEIGHT- See Also:
- Constant Field Values
-
-
Method Details
-
toMapColors
byte[] toMapColors() -
preparePacket
-
preparePacket
-
index
static int index(int x, int z) -
index
static int index(int x, int z, int stride)
-