Interface DrawFunction
- All Known Implementing Classes:
Block
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Draws pixels onto a
CachedChunkData.Builder while processing geometry.-
Method Summary
Modifier and TypeMethodDescriptionvoiddrawOnto(CachedChunkData.Builder data, int x, int z, int weight) Draws a single pixel onto the givenCachedChunkData.Builder.
-
Method Details
-
drawOnto
Draws a single pixel onto the givenCachedChunkData.Builder.- Parameters:
data- theCachedChunkData.Builderx- the relative X coordinate of the pixelz- the relative Z coordinate of the pixelweight- the pixel weight
-