Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean setRawTypeIdAndData(int i, int j, int k, int l, int i1) {
- if (i >= -32000000 && k >= -32000000 && i < 32000000 && k <= 32000000) {
- if (j < 0) {
- return false;
- } else if (j >= 128) {
- return false;
- } else {
- Chunk chunk = this.getChunkAt(i >> 4, k >> 4);
- suppressPhysics = true;
- boolean ret = chunk.a(i & 15, j, k & 15, l, i1);
- suppressPhysics = false;
- return ret;
- }
- } else {
- return false;
- }
- }
- public boolean setRawTypeId(int i, int j, int k, int l) {
- if (i >= -32000000 && k >= -32000000 && i < 32000000 && k <= 32000000) {
- if (j < 0) {
- return false;
- } else if (j >= 128) {
- return false;
- } else {
- Chunk chunk = this.getChunkAt(i >> 4, k >> 4);
- suppressPhysics = true;
- boolean ret = chunk.a(i & 15, j, k & 15, l);
- suppressPhysics = false;
- return ret;
- }
- } else {
- return false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement