BlockWorks - Sending blocks
capasha Sep 8th, 2017 (edited) 105 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- Example how to use this void
- This will place gray block at position x 10 and y 10. Without channel data.
- With channel data. 12 is how many channels the block should have:
- static int toBlocks(int x, int y, int c)
- return (c & 3) << 30 | (x & 32767) << 15 | y & 32767;
RAW Paste Data