mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-06-13 08:49:24 +00:00
5e462adc5c
- textures/{block,item}s -> textures/{block,item} - assets/*/{advancements,lua,recipes} -> data/*/...
8 lines
378 B
Plaintext
8 lines
378 B
Plaintext
Functions in the bit manipulation API (NOTE: This API will be removed in a future version. Use bit32 instead):
|
|
bit.bnot(n) -- bitwise not (~n)
|
|
bit.band(m, n) -- bitwise and (m & n)
|
|
bit.bor(m, n) -- bitwise or (m | n)
|
|
bit.bxor(m, n) -- bitwise xor (m ^ n)
|
|
bit.brshift(n, bits) -- right shift (n >> bits)
|
|
bit.blshift(n, bits) -- left shift (n << bits)
|