Sets the variant of the Block at the target location.
Definition:
void SetBlockVariant(BlockMap map, int x, int y, int depth, int variant)
Return value |
Description |
void |
Nothing but a whisper and a prayer. |
Argument |
DataType |
Description |
map |
BlockMap |
The map containing the Block that you wish to vary. |
x |
int |
The x coordinate of the Block. |
y |
int |
The y coordinate of the Block. |
depth |
int |
The depth (z) coordinate of the Block. |
variant |
int |
The index of the variant that you wish to assign to this Block. |
|