Class Block
java.lang.Object
net.buildtheearth.terraminusminus.dataset.vector.draw.Block
- All Implemented Interfaces:
DrawFunction
DrawFunction which sets the surface block to a fixed block state.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawOnto(CachedChunkData.Builder data, int x, int z, int weight) Draws a single pixel onto the givenCachedChunkData.Builder.
-
Field Details
-
state
-
-
Constructor Details
-
Block
-
-
Method Details
-
drawOnto
Description copied from interface:DrawFunctionDraws a single pixel onto the givenCachedChunkData.Builder.- Specified by:
drawOntoin interfaceDrawFunction- Parameters:
data- theCachedChunkData.Builderx- the relative X coordinate of the pixelz- the relative Z coordinate of the pixelweight- the pixel weight
-