Перейти к содержанию

BulkBlockUpdate

Functions

BulkBlockUpdate:setautosend

bulkblockupdate:setautosend(boolean: state)

If true, BulkBlockUpdate packet will be sent when it overflows (over 256 calls to bulkblockupdate:add).

BulkBlockUpdate:setworld

bulkblockupdate:setworld(World: wrld)

Sets the World of the BulkBlockUpdate.

BulkBlockUpdate:push

bulkblockupdate:push()

Pushes the BulkBlockUpdate to its world.

BulkBlockUpdate:add

bulkblockupdate:add(int: offset, int: blockId)
bulkblockupdate:add(int: offset1, int: blockId1, int: offset2, int: blockId2 ...)
bulkblockupdate:add(table: {int: offset1, int: blockId1, int: offset2, int: blockId2 ...})

Adds the block at offset to the BulkBlockUpdate object.

Also takes tables, as well as multiple arguments.