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 TypeMethodDescriptionstatic int
index
(int x, int z) static int
index
(int x, int z, int stride) default MapDataPacket
preparePacket
(int mapId) default MapDataPacket
preparePacket
(int mapId, int minX, int minY, int width, int height) byte[]
-
Field Details
-
WIDTH
static final int WIDTH- See Also:
-
HEIGHT
static final int HEIGHT- See Also:
-
-
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)
-